Home / CVE-2024-42381
CVE-2024-42381: is it exploited, and which versions are affected and fixed?
CVE-2024-42381 is an inclusion of Web Functionality from an Untrusted Source vulnerability. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). The record names no affected version range. No fixed version is listed in the sources yet; check the vendor advisory. Severity: High (8.3, CVSS 3.1, from mitre).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:27 UTC.
What is CVE-2024-42381?
os/linux/elf.rb in Homebrew brew before 4.2.20 uses ldd to load ELF files obtained from untrusted sources, which allows attackers to achieve code execution via an ELF file with a custom .interp section. NOTE: this code execution would occur during an un-sandboxed binary relocation phase, which occurs before a user would expect execution of downloaded package content. (237d1e783f7ee261beaba7d3f6bde22da7148b0a was the tested vulnerable version.)
From the CVE record by mitre, last updated July 31, 2024, 17:03 UTC.
How severe is CVE-2024-42381?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.3 | CVSS 3.1 | CVSS:3.1/AC:H/AV:N/A:H/C:H/I:H/PR:N/S:C/UI:R | mitre |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-42381 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 31, 2024)
- EPSS
- 0.65% probability of exploitation activity in the next 30 days, percentile 52.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-830 Inclusion of Web Functionality from an Untrusted Source
Where are the vendor advisories and references?
- https://github.com/Homebrew/brew/tree/237d1e783f7ee261beaba7d3f6bde22da7148b0a
- https://github.com/trailofbits/publications/blob/master/reviews/2023-08-28-homebrew-securityreview.pdf
- https://blog.trailofbits.com/2024/07/30/our-audit-of-homebrew/
- https://brew.sh/2024/07/30/homebrew-security-audit/
- https://github.com/Homebrew/brew/commit/916b37388d3851a8a93a8e9b4adc38873680ead7
- https://github.com/Homebrew/brew/releases/tag/4.2.20
- https://github.com/Homebrew/brew/pull/17136
When was it published, and where is the official record?
- Reserved
- July 31, 2024
- Published
- July 31, 2024, 00:00 UTC
- CVE record updated
- July 31, 2024, 17:03 UTC by mitre
- NVD
- Deferred, last modified June 17, 2026, 07:49 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:27 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Which other CVEs were published on July 31, 2024?
- Jul 31, 2024CVE-2024-7330 YouDianCMS: server-side request forgery (SSRF)
- Jul 31, 2024CVE-2024-38182 Microsoft Dynamics 365 Field Service (on-premises) v7 series: weak authentication
- Jul 31, 2024CVE-2024-7329 YouDianCMS: unrestricted file upload
- Jul 31, 2024CVE-2024-7328 YouDianCMS: information disclosure
- Jul 31, 2024CVE-2024-7327 Xinhu RockOA: SQL injection
- Jul 31, 2024CVE-2024-7326 IObit DualSafe Password Manager: uncontrolled search path (DLL or library hijacking)
- Jul 31, 2024CVE-2017-3772 Lenovo PC Manager: improper input validation
- Jul 31, 2024CVE-2019-6197 Lenovo PC Manager: authentication bypass (improper authentication)
Every CVE published on July 31, 2024
Questions about CVE-2024-42381
Is CVE-2024-42381 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.65% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which version fixes CVE-2024-42381?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2024-42381?
High (8.3, CVSS 3.1, from mitre). The severity table above shows each score with its source.
Where is the official record of CVE-2024-42381?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.