Radare2 5.9.9 radiff2 /libr/cons/cons.c r_cons_context_break_pop -T memory corruption ⚔ [Disputed]

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
2.4$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in Radare2 5.9.9. Affected by this vulnerability is the function r_cons_context_break_pop in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T leads to memory corruption. This vulnerability is referenced as CVE-2025-5647. The attack can only be performed from a local environment. Furthermore, an exploit is available. The real existence of this vulnerability is still doubted at the moment. 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". A new warning has been added.

Detailsinfo

A vulnerability was found in Radare2 5.9.9 and classified as problematic. This issue affects the function r_cons_context_break_pop in the library /libr/cons/cons.c of the component radiff2. The manipulation of the argument -T with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is availability.

It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2025-5647. The exploitation is known to be difficult. Attacking locally is a requirement. Technical details as well as a public exploit are known.

The exploit is available at drive.google.com. It is declared as proof-of-concept. The real existence of this vulnerability is still doubted at the moment. 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". A new warning has been added. The vulnerability scanner Nessus provides a plugin with the ID 275939 (TencentOS Server 4: radare2 (TSSA-2025:0547)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 5705d99cc1f23f36f9a84aab26d1724010b97798 is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the databases at Tenable (275939) and EUVD (EUVD-2025-16978). Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔍
CNA CVSS-BT Score: 🔍
CNA Vector: 🔍

CVSSv3info

VulDB Meta Base Score: 2.5
VulDB Meta Temp Score: 2.4

VulDB Base Score: 2.5
VulDB Temp Score: 2.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 2.5
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: No

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 275939
Nessus Name: TencentOS Server 4: radare2 (TSSA-2025:0547)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 5705d99cc1f23f36f9a84aab26d1724010b97798

Timelineinfo

06/04/2025 🔍
06/04/2025 +0 days 🔍
11/21/2025 +170 days 🔍

Sourcesinfo

Advisory: 24237
Status: Confirmed
Confirmation: 🔍
Disputed: 🔍

CVE: CVE-2025-5647 (🔍)
GCVE (CVE): GCVE-0-2025-5647
GCVE (VulDB): GCVE-100-311135
EUVD: 🔍
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 06/04/2025 14:28
Updated: 11/21/2025 12:56
Changes: 06/04/2025 14:28 (66), 06/04/2025 14:29 (6), 06/05/2025 14:10 (1), 06/23/2025 19:03 (31), 11/21/2025 12:56 (2)
Complete: 🔍
Submitter: rootsec
Cache ID: 216::103

Submitinfo

Accepted

  • Submit #586928: radare2 radiff2 5.9.9 and master branch Memory corruption (by rootsec)

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!