cve.bz

CVE-2025-34451 proxychains-ng project proxychains-ng: Out-of-bounds Write

6.9 mediumExploit referenceEPSS 0.3%Fix available

Medium (6.9) in proxychains-ng project proxychains-ng. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

6.9 medium
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

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-12-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-34451 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-34451?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-34451?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-34451 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
rofl0r proxychains-ngthrough 4.17

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13proxychains-ngno fix listedDEBIAN-CVE-2025-34451
Debian14proxychains-ng4.17-3.1DEBIAN-CVE-2025-34451
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreproxychains-ngno fix listedUBUNTU-CVE-2025-34451

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate for Red Hat as it can lead to a Denial of Service in proxychains-ng when processing crafted proxy configuration entries with overly long username or password fields. This component is available in Red Hat Community Projects (EPEL and Fedora) and requires an attacker to provide a malicious configuration file. Exploitation requires user interaction with a malicious configuration or a compromised configuration source.

Red Hat's mitigation

Ensure that proxychains-ng configuration files are sourced only from trusted origins and are protected from unauthorized modification. If proxychains-ng is not essential for system operation, consider removing the package to eliminate the attack surface.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-34451.

References

Check your stackJSON