Skip to main content

Improper Restriction of Operations within the Bounds of a Memory Buffer

CVE-2025-5646

Severity Low
Score 2/10

Summary

A vulnerability has been found in Radare2 5.9.9 and classified as problematic. This vulnerability affects the function "r_cons_rainbow_free" in the library "/libr/cons/pal.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 appears 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. 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.

  • HIGH
  • LOCAL
  • NONE
  • UNCHANGED
  • NONE
  • LOW
  • NONE
  • LOW

CWE-119 - Buffer Overflow

Buffer overflow attacks involve data transit and operations exceeding the restricted memory buffer, thereby corrupting or overwriting data in adjacent memory locations. Such overflow allows the attacker to run arbitrary code or manipulate the existing code to cause privilege escalation, data breach, denial of service, system crash and even complete system compromise. Given that languages such as C and C++ lack default safeguards against overwriting or accessing data in their memory, applications utilizing these languages are most susceptible to buffer overflows attacks.

Advisory Timeline

  • Published