# CVE-2025-1786: rizinorg rizin pdb.c msf_stream_directory_free buffer overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/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.31%, higher than 25% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2025-03-01T10:00:07.495Z
- Modified: 2026-06-17T08:39:46.300Z
- Weaknesses: CWE-119, CWE-120
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- rizinorg rizin: 0.7.0; 0.7.1; 0.7.2; 0.7.3; 0.7.4
- rizin rizin: before 0.8.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://vuldb.com/?submit.502317> (exploit, third-party-advisory, vdb-entry)
- <https://github.com/rizinorg/rizin/issues/4893> (exploit, issue-tracking)
- <https://github.com/user-attachments/files/18765730/rz-bin-6fb50-poc.zip> (exploit)
- <https://vuldb.com/?id.298007> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.298007> (permissions-required, signature, vdb-entry)
- <https://github.com/rizinorg/rizin/milestone/18> (not-applicable, patch)

## Sources

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

---

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