# CVE-2025-5641: Radare2 radiff2 cons.c r_cons_is_breaked memory corruption

- Severity: Low 2.0 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-05T06:31:06.181Z
- Modified: 2026-06-17T09:48:27.047Z
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in Radare2 5.9.9. It has been rated as problematic. This issue affects the function r_cons_is_breaked in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. It is possible to launch the attack on the local host. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The identifier of the patch is 5705d99cc1f23f36f9a84aab26d1724010b97798. It is recommended to apply a patch to fix this issue. The documentation explains that the parameter -T is experimental and "crashy". Further analysis has shown "the race is not a real problem unless you use asan". An additional warning regarding threading support has been added.

(As written by CVE List.)

## Affected

- Radare2: 5.9.9
- radare radare2: 5.9.9

## Every score

- VulDB: CVSS:4.0 2.0 Low `CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 2.5 Low `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:3.0 2.5 Low `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:L`
- VulDB: CVSS:2.0 1.0 Low `AV:L/AC:H/Au:S/C:N/I:N/A:P`

## References

- <https://github.com/radareorg/radare2/issues/24230> (exploit, issue-tracking, vendor-advisory)
- <https://drive.google.com/file/d/1oG5IC7qhL_SJsIHpnWp7MZlWJGYt8qWZ/view?usp=sharing> (exploit)
- <https://vuldb.com/?id.311129> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.311129> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.586909> (third-party-advisory, vdb-entry)
- <https://github.com/radareorg/radare2/issues/24230#issuecomment-2919612676> (issue-tracking, vendor-advisory)
- <https://github.com/radareorg/radare2/commit/5705d99cc1f23f36f9a84aab26d1724010b97798> (patch)

## Sources

- CVE List: [CVE-2025-5641](https://www.cve.org/CVERecord?id=CVE-2025-5641), CVE Terms of Use, modified 2025-06-05
- NVD: [CVE-2025-5641](https://nvd.nist.gov/vuln/detail/CVE-2025-5641), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5641 · Whole record: https://cve.day/CVE-2025-5641.json · Rebuilt by cve.day 2026-11-25T22:58:58.782Z
