What’s Vulnerable › Vulnerabilities
CVE-2025-1786: rizinorg rizin pdb.c msf_stream_directory_free buffer overflow
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-01 · updated 2026-06-17
- Weakness: CWE-119
Description
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.
Affected products
- rizinorg rizin: before 0.8.0 — fixed in 0.8.0
How to fix
Upgrade to a fixed version: rizinorg rizin 0.8.0. Check the vendor advisory for mitigations.
References
- https://github.com/rizinorg/rizin/issues/4893
- https://github.com/rizinorg/rizin/milestone/18
- https://github.com/user-attachments/files/18765730/rz-bin-6fb50-poc.zip
- https://vuldb.com/?ctiid.298007
- https://vuldb.com/?id.298007
- https://vuldb.com/?submit.502317
- https://github.com/rizinorg/rizin/issues/4893
Get alerted when CVE-2025-1786 or the next vulnerability affects your stack