2.5low
radare2: Heap out-of-bounds read in radare2 Mach-O LC_DATA_IN_CODE parser
- Severity
- 2.5low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.15% (higher than 4% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
radare2 is a UNIX-like reverse engineering framework and command-line toolset. Prior to 6.2.0, radare2's Mach-O LC_DATA_IN_CODE parser was vulnerable because the Mach-O LC_DATA_IN_CODE parser trusted dataoff and datasize and allowed a final partial record to be processed. The vulnerability is triggered by opening a crafted Mach-O file while the non-default bin.verbose option is enabled. When datasize was not a multiple of data_in_code_entry, the last iteration read beyond the allocated buffer. This can cause a heap out-of-bounds read and possible process termination; no attacker-observable memory disclosure has been demonstrated. This issue is fixed in version 6.2.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| radareorg radare2 | < 6.2.0 | CVE List |
| radare radare2 | before 6.2.0 | NVD |
All scores
| GitHub_M | 2.5low CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L |
| NVD | 3.3low CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/radareorg/radare2/security/advisories/GHSA-c2g2-2mc7-3x5w | patch, vendor-advisory | |
| https://github.com/radareorg/radare2/issues/26226 | exploit, issue-tracking, mitigation, vendor-advisory | |
| https://github.com/radareorg/radare2/pull/26193 | patch | |
| https://github.com/radareorg/radare2/commit/a73de09fea7516f65c14917d66113316ec7e7d6e | patch | |
| https://github.com/radareorg/radare2/releases/tag/6.2.0 | release-notes | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-81884 changed 2026-09-22 | CVE Terms of Use |
| NVD | CVE-2026-81884 changed 2026-09-28 | Public domain |