CVE-2025-34451rofl0r/proxychains-ng <= 4.17 Stack-based Buffer Overflow
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
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | proxychains-ng | Fix pending | UBUNTU-CVE-2025-34451 | |
| Ubuntu 26.04 | proxychains-ng | Under investigation | UBUNTU-CVE-2025-34451 | |
| Ubuntu 25.10 | proxychains-ng | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-34451 | |
| Ubuntu 24.04 | proxychains-ng | Under investigation | UBUNTU-CVE-2025-34451 | |
| Ubuntu 22.04 | proxychains-ng | Under investigation | UBUNTU-CVE-2025-34451 | |
| Ubuntu 20.04 | proxychains-ng | Fix pending | UBUNTU-CVE-2025-34451 | |
| Ubuntu 18.04 | proxychains-ng | Fix pending | UBUNTU-CVE-2025-34451 | |
| Debian 14 | proxychains-ng | Fixed | 4.17-3.1 | DEBIAN-CVE-2025-34451 |
| Debian 13 | proxychains-ng | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-34451 | |
| Debian 12 | proxychains-ng | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2025-34451 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- rofl0r proxychains-ng: affected: up to 4.17, cc005b7132811c9149e77b5e33cff359fc95512e not affected
Vendor advisories:
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.