CVE-2026-81879radare2: Heap out-of-bounds read in radare2 ELF PN_XNUM handling
Updated under an hour ago ()
Does this affect you?
It affects radareorg radare2 and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's ELF PN_XNUM handling was vulnerable because the ELF parser allocated the program-header array using the resolved PN_XNUM count but several consumers still iterated with the original e_phnum value of 65535. The vulnerability is triggered by processing a crafted ELF file with e_phnum = 0xffff and a much smaller resolved count in shdr[0].sh_info. Consumers iterated beyond the allocated program-header array. This can cause a heap out-of-bounds read and process termination, resulting in denial of service; memory disclosure and code execution have not been demonstrated. This issue is fixed in version 6.2.0.
- CVSS
- 5.5 MEDIUM (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Weakness (CWE)
- CWE-125
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Sep 22, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
radareorg radare2 radareorg:radare2 (from the name) | before 6.2.0 | CNA record |
radare radare2 radare:radare2 | before 6.2.0 | NVD |
References
- https://github.com/radareorg/radare2/security/advisories/GHSA-jqfq-hvcp-xh4px-refsource-confirm, patch, vendor-advisory
- https://github.com/radareorg/radare2/issues/26223x-refsource-misc, exploit, issue-tracking, mitigation, vendor-advisory
- https://github.com/radareorg/radare2/pull/26178x-refsource-misc, patch
- https://github.com/radareorg/radare2/commit/9449b07579c19b6b187c1a0918fbec2cef1a036ex-refsource-misc, patch
- https://github.com/radareorg/radare2/releases/tag/6.2.0x-refsource-misc, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.