Read the docs
TI-2024-28366 Aliases CVE-2024-42381GHSA-phm2-c5jj-q34c

os/linux/elf.rb in Homebrew brew before 4.2.20 uses ldd to load ELF files obtained from…

Priority LOW 39CWE-830Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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.)

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00647 51st percentileScored 2026-11-07
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:homebrew:brew:*:*:*:*:*:*:*:*——Homebrew
  • cpe:2.3:a:homebrew:brew:*:*:*:*:*:*:*:* Versions — — ·Homebrew

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-42381
  2. 2026-10-03 Alias added: GHSA-phm2-c5jj-q34c
  3. 2026-10-19 EPSS moved to the 50th–90th percentile

References

Sources