CVE-2025-34451
Proxychains-ng Project Proxychains-ng vulnerability
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.
Affected products
Proxychains-ng. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Proxychains-ng Project Proxychains-ng runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/httpsgithu/proxychains-ng/commit/cc005b7 · Patch
- github.com/rofl0r/proxychains-ng/issues/606 · Exploit
- github.com/marlinkcyber/advisories/blob/main/advisories/MCSAID-2025-008-proxychains-ng-sta · Exploit
- www.vulncheck.com/advisories/rofl0r-proxychains-ng-stack-based-buffer-overflow · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2025-34451
- cve.org/CVERecord?id=CVE-2025-34451
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.