Buffer overflow in Rizin
CVE-2025-1786
A vulnerability was found in rizinorg rizin up to 0.7.4. It has been rated as critical. This issue affects the function msf_stream_directory_free in the library /librz/bin/pdb/pdb.c. The manipulation of the argument -P leads to buffer overflow. Local access is required to approach this attack. The exploit has been disclosed to the public and may be used. Upgrading to version 0.8.0 is able to address this issue. It is recommended to upgrade the affected component.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.003, 23.7th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rizin
- Rizinorg Rizin — versions 0.7.0, 0.7.1, 0.7.2
Weakness classification (CWE)
References
- VDB-298007 | rizinorg rizin pdb.c msf_stream_directory_free buffer overflow (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-298007 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #502317 | https://github.com/rizinorg/rizin rizin/rz-bin 309f57434dfa17954f02cdcbb3a2ac4108651767 Buffer Over-read (Exploit, Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/rizinorg/rizin/issues/4893 (issue-tracking, Exploit, Issue Tracking)
- github.com/user-attachments/files/18765730/rz-bin-6fb50-poc.zip (Exploit, exploit)
- github.com/rizinorg/rizin/milestone/18 (patch, Not Applicable)