CVE-2021-3402

CRITICALNVD 9.19.1
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

This critical-severity CVE scores 9.1 under NVD CVSS v3. EPSS exploit probability: 2.2% (82nd percentile of EPSS-scored CVEs). No GitHub Security Advisory CVSS is on record for this CVE.

Triggered by: Headline CVSS from NVD CVSS v3
Sources: EPSS, NVD CVSS v3
Trending — 4 sources updated this week

Also known asEUVD-2021-26730 (ENISA EUVD) · GHSA-2c7q-h8gj-7hgc (GitHub Security Advisories)Source: ENISA EUVD

9.1EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 2.2%CVSS: 9.1Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

An integer overflow and several buffer overflow reads in libyara/modules/macho/macho.c in YARA v4.0.3 and earlier could allow an attacker to either cause denial of service or information disclosure via a malicious Mach-O file. Affects all versions before libyara 4.0.4

CVSS v3
9.1
EG Score
9.1CRITICALmedium confidence
EG Risk
42
EG Risk 42/100

EG Risk is EchelonGraph's 0–100 priority score. It fuses impact severity (EG Severity, the CVSS base score, never the KEV-floored or EPSS-lifted EG Score) with real-world exploitation and automatability, under weights EchelonGraph set by hand, so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner.

How it’s computed (value × EchelonGraph’s weight)
Severity91% × 45%
Impact severity (EG Severity): CVSS 9.1 of 10. Never the KEV-floored or EPSS-lifted EG Score.
Exploitation2.2% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's BOD 26-04 default: no one has published Automatable for this CVE, and CISA treats it as “no” for a CVE not in KEV.
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
2.2%
EPSS %ILE
82nd
KEV
Not listed

What the EG score is made of (scorer v4.0: the three questions the 0–10 score mixes, published apart · methodology)

The EG score (9.1): severity, escalated by confirmed exploitation. This CVE's 9.1 is its impact severity (EG Severity), not escalated.

EG Severity
9.1 CRITICALCVSS-B, impact only: no KEV listing, EPSS or EG-KEV tier raises it.NVD CVSS v3 · CVSS v3.0 or v3.1
EG Likelihood
2.2% within 30 daysSource: FIRST EPSS (model v2026.06.15, score date 2026-11-01). FIRST's exploitation probability, not an EchelonGraph model.
Confirmed exploitation
None on record (CISA KEV, EG-KEV Tier 1)Reported apart from the likelihood: an observed fact, not a probability.
EG Priority
SSVC Track at medium mission impactTrack at low or medium mission impact; Track* at high (mission-essential systems).CISA BOD 26-04: 14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.Each input and its source, and whom BOD 26-04 binds: the SSVC and BOD 26-04 blocks below.

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (no CISA value, KEV listing or exploit code on record) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). EchelonGraph holds no SSVC assessment of this CVE from CISA: none of these inputs is from Vulnrichment. EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

The score's inputs: In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA's BOD 26-04 default) · Technical impact total (CISA's BOD 26-04 default). Where an input reads “CISA's BOD 26-04 default”, no one has published it for this CVE, and CISA's implementation guidance says: “If “Automatable” and “Technical Impact” information items about a CVE ID are not available and the CVE ID is not in the KEV Catalog, CISA will treat its values as “no” and “total,” respectively, until CISA or a third party provides metadata about the CVE ID. CISA will always provide the Vulnrichment data for a CVE ID listed in the KEV Catalog.” Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

May 14, 2021

Last Modified

November 21, 2024

Advisory Details (5)

Auto-updated Jul 22, 2026
Patch available. Sources: redhat.
Web page

Advisory X41-2021-001: Multiple Vulnerabilities in YARA | X41 D-Sec - Penetration Tests and Source Code Audits

https://www.x41-dsec.de/lab/advisories/x41-2021-001-yara/
Web page

oss-security - X41 D-Sec GmbH Security Advisory X41-2021-001: Multiple Vulnerabilities in YARA

https://www.openwall.com/lists/oss-security/2021/01/29/2
Web page

[SECURITY] Fedora 34 Update: yara-4.1.0-1.fc34 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XXM224OLGI6KAOROLDPPGGCZ2OQVQ6HH/
Web page

[SECURITY] Fedora 33 Update: python-yara-4.1.0-1.fc33 - package-announce - Fedora mailing-lists

https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FKNXSH5ERG6NELTXCYVJLUPJJJ2TNEBD/
Red HatMentions a patch (unverified)

1930175 – (CVE-2021-3402) CVE-2021-3402 libyara: Integer overflow in libyara/modules/macho/macho.c via a malicious Mach-O file

https://bugzilla.redhat.com/show_bug.cgi?id=1930175

Patch Availability(1)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntuyara-doc (3.9.0-1ubuntu0.1~esm1) @ focal2026-11-01ubuntu

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(4 across 4 ecosystems)
Debian:11(1)
PackageVulnerable rangeFix by version rangeDependents
yara—
  • every version up to 4.0.4-1: fixed in 4.0.4-1
—
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
yara—
  • every version up to 4.0.4-1: fixed in 4.0.4-1
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
yara—
  • every version up to 4.0.4-1: fixed in 4.0.4-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
yara—
  • every version up to 4.0.4-1: fixed in 4.0.4-1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(1)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 28× in last 7d / 89× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 100 of 270 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. None are among the latest 100 rows. The 170 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-11-01 22:13 UTCEG score recompute
  2. 2026-11-01 22:13 UTCVendor advisory
  3. 2026-11-01 22:13 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  4. 2026-11-01 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  5. 2026-11-01 00:20 UTCEG score recompute
  6. 2026-11-01 00:20 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  7. 2026-10-31 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  8. 2026-10-31 02:27 UTCEG score recompute
  9. 2026-10-31 02:27 UTCVendor advisory
  10. 2026-10-31 02:27 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  11. 2026-10-30 16:30 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  12. 2026-10-30 04:33 UTCEG score recompute
  13. 2026-10-30 04:33 UTCVendor advisory
  14. 2026-10-30 04:33 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  15. 2026-10-29 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  16. 2026-10-29 06:41 UTCEG score recompute
  17. 2026-10-29 06:41 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  18. 2026-10-28 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  19. 2026-10-28 08:45 UTCEG score recompute
  20. 2026-10-28 08:45 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  21. 2026-10-27 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  22. 2026-10-27 10:23 UTCEG score recompute
  23. 2026-10-27 10:23 UTCVendor advisory
  24. 2026-10-27 10:23 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  25. 2026-10-26 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
Show 75 more
  1. 2026-10-26 12:31 UTCEG score recompute
  2. 2026-10-26 12:31 UTCVendor advisory
  3. 2026-10-26 12:31 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  4. 2026-10-25 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  5. 2026-10-25 14:34 UTCEG score recompute
  6. 2026-10-25 14:34 UTCVendor advisory
  7. 2026-10-25 14:34 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  8. 2026-10-24 16:42 UTCEG score recompute
  9. 2026-10-24 16:42 UTCVendor advisory
  10. 2026-10-24 16:42 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  11. 2026-10-24 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  12. 2026-10-23 18:49 UTCEG score recompute
  13. 2026-10-23 18:49 UTCVendor advisory
  14. 2026-10-23 18:49 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  15. 2026-10-23 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  16. 2026-10-22 20:53 UTCEG score recompute
  17. 2026-10-22 20:53 UTCVendor advisory
  18. 2026-10-22 20:53 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  19. 2026-10-22 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  20. 2026-10-21 23:00 UTCEG score recompute
  21. 2026-10-21 23:00 UTCVendor advisory
  22. 2026-10-21 23:00 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  23. 2026-10-21 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  24. 2026-10-21 01:04 UTCEG score recompute
  25. 2026-10-21 01:04 UTCVendor advisory
  26. 2026-10-21 01:04 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  27. 2026-10-20 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  28. 2026-10-20 03:06 UTCEG score recompute
  29. 2026-10-20 03:06 UTCVendor advisory
  30. 2026-10-20 03:06 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  31. 2026-10-19 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  32. 2026-10-19 03:20 UTCEG score recompute
  33. 2026-10-19 03:20 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  34. 2026-10-18 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  35. 2026-10-18 05:27 UTCEG score recompute
  36. 2026-10-18 05:27 UTCVendor advisory
  37. 2026-10-18 05:27 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  38. 2026-10-17 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  39. 2026-10-17 07:13 UTCEG score recompute
  40. 2026-10-17 07:13 UTCVendor advisory
  41. 2026-10-17 07:13 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  42. 2026-10-16 16:34 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  43. 2026-10-16 09:00 UTCEG score recompute
  44. 2026-10-16 08:59 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  45. 2026-10-15 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  46. 2026-10-15 08:15 UTCEG score recompute
  47. 2026-10-15 08:15 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  48. 2026-10-14 16:29 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  49. 2026-10-14 04:24 UTCEG score recompute
  50. 2026-10-14 04:24 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  51. 2026-10-13 16:28 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  52. 2026-10-13 00:03 UTCGHSA enrichmentGHSA-2c7q-h8gj-7hgc · GitHub severity CRITICAL
  53. 2026-10-12 19:15 UTCEG score recompute
  54. 2026-10-12 16:30 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  55. 2026-10-11 23:40 UTCEG score recompute
  56. 2026-10-11 13:44 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  57. 2026-10-10 19:56 UTCEPSS rescoreEPSS 2.2% · 82nd percentile
  58. 2026-10-09 20:04 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  59. 2026-10-08 16:40 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  60. 2026-10-07 23:45 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  61. 2026-10-06 15:14 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  62. 2026-10-05 17:40 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  63. 2026-10-04 23:19 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  64. 2026-10-03 14:22 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  65. 2026-10-02 16:23 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  66. 2026-10-01 19:46 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  67. 2026-09-30 15:37 UTCEG score recompute
  68. 2026-09-30 15:00 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  69. 2026-09-29 15:15 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  70. 2026-09-28 13:47 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  71. 2026-09-27 13:41 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  72. 2026-09-26 15:54 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  73. 2026-09-26 02:15 UTCOSV refresh
  74. 2026-09-26 00:21 UTCEPSS rescoreEPSS 2.2% · 81st percentile
  75. 2026-09-24 14:00 UTCEPSS rescoreEPSS 2.2% · 81st percentile

Frequently asked(5)

What is CVE-2021-3402?
CVE-2021-3402 is a critical-severity vulnerability; its CVE record was published on May 14, 2021. An integer overflow and several buffer overflow reads in libyara/modules/macho/macho.c in YARA v4.0.3 and earlier could allow an attacker to either cause denial of service or information disclosure via a malicious Mach-O file. Affects all versions before libyara 4.0.4
When was the CVE record for CVE-2021-3402 published?
The CVE record for CVE-2021-3402 was published on May 14, 2021. That is the record's publication date; the vulnerability itself may have been made public earlier. EchelonGraph's copy of the record carries a last-modified date of November 21, 2024; the record at its source may have been updated since.
Is CVE-2021-3402 actively exploited?
CVE-2021-3402 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 2.2% probability of exploitation in the next 30 days (82nd percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2021-3402?
CVE-2021-3402 has a CVSS v3 base score of 9.1 (NVD).
How do I remediate CVE-2021-3402?
A fix for CVE-2021-3402 is available: update to the fixed version the vendor names in its advisory.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2021-3402

Explore →

Is Your Infrastructure Affected by CVE-2021-3402?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.