CVE-2025-34451: CWE-121 Stack-based Buffer Overflow in rofl0r proxychains-ng
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.
AI Analysis
Technical Summary
CVE-2025-34451 is a stack-based buffer overflow vulnerability identified in the open-source tool proxychains-ng, specifically in versions up to 4.17 and prior to commit cc005b7. The vulnerability resides in the proxy_from_string() function within src/libproxychains.c, which processes proxy configuration strings. When an attacker supplies crafted proxy configuration entries containing excessively long username or password fields, the function writes beyond the bounds of fixed-size stack buffers. This buffer overflow can corrupt adjacent memory on the stack, potentially causing application crashes (denial of service) or, in certain execution environments, enabling further exploitation such as arbitrary code execution. The vulnerability does not require authentication or user interaction but does require local access to the system to supply malicious proxy configuration data. The CVSS 4.0 vector indicates local attack vector (AV:L), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high impact on availability (VA:H) with no impact on confidentiality or integrity. No public exploits have been reported yet, but the presence of a stack-based buffer overflow in a widely used proxy chaining tool suggests a significant risk if exploited. Proxychains-ng is commonly used by security professionals and penetration testers to route network traffic through proxies, so environments relying on this tool for anonymization or network routing could be disrupted or compromised. The vulnerability was published on December 18, 2025, and no patch links are currently provided, indicating users must monitor for updates or apply manual mitigations.
Potential Impact
For European organizations, the primary impact of CVE-2025-34451 is the potential for denial of service in systems utilizing proxychains-ng for network traffic routing or anonymization. This could disrupt security operations, penetration testing activities, or any automated processes relying on proxychains-ng, leading to operational downtime. In environments where proxychains-ng is integrated into security tooling or network infrastructure, memory corruption could be leveraged for privilege escalation or arbitrary code execution, posing a risk to system integrity and confidentiality. Given the local attack vector, the threat is more pronounced in environments with multiple users or where untrusted users have local access. Organizations in sectors with stringent data protection requirements, such as finance, healthcare, and critical infrastructure, could face compliance and reputational risks if this vulnerability leads to exploitation. Additionally, disruption of security tools could impair incident response capabilities. The absence of known exploits reduces immediate risk but does not eliminate the potential for future attacks, especially as the vulnerability becomes more widely known.
Mitigation Recommendations
European organizations should immediately audit their use of proxychains-ng and identify affected versions (up to 4.17 and prior to commit cc005b7). Until an official patch is released, users should avoid processing untrusted proxy configuration files containing user-supplied username or password fields. Implement strict input validation and length checks on proxy configuration entries to prevent buffer overflow conditions. Restrict local access to systems running proxychains-ng to trusted users only and monitor for unusual crashes or behavior indicative of exploitation attempts. Employ application whitelisting and memory protection mechanisms such as stack canaries, ASLR, and DEP to reduce exploitation likelihood. Regularly check the official rofl0r proxychains-ng repository or trusted vulnerability databases for patches or updates addressing this issue. For critical environments, consider alternative proxy chaining tools with no known vulnerabilities until this issue is resolved. Finally, integrate this vulnerability into vulnerability management and incident response workflows to ensure timely detection and remediation.
Affected Countries
Germany, France, United Kingdom, Netherlands, Sweden, Finland, Poland, Italy, Spain
CVE-2025-34451: CWE-121 Stack-based Buffer Overflow in rofl0r proxychains-ng
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.
AI-Powered Analysis
Technical Analysis
CVE-2025-34451 is a stack-based buffer overflow vulnerability identified in the open-source tool proxychains-ng, specifically in versions up to 4.17 and prior to commit cc005b7. The vulnerability resides in the proxy_from_string() function within src/libproxychains.c, which processes proxy configuration strings. When an attacker supplies crafted proxy configuration entries containing excessively long username or password fields, the function writes beyond the bounds of fixed-size stack buffers. This buffer overflow can corrupt adjacent memory on the stack, potentially causing application crashes (denial of service) or, in certain execution environments, enabling further exploitation such as arbitrary code execution. The vulnerability does not require authentication or user interaction but does require local access to the system to supply malicious proxy configuration data. The CVSS 4.0 vector indicates local attack vector (AV:L), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high impact on availability (VA:H) with no impact on confidentiality or integrity. No public exploits have been reported yet, but the presence of a stack-based buffer overflow in a widely used proxy chaining tool suggests a significant risk if exploited. Proxychains-ng is commonly used by security professionals and penetration testers to route network traffic through proxies, so environments relying on this tool for anonymization or network routing could be disrupted or compromised. The vulnerability was published on December 18, 2025, and no patch links are currently provided, indicating users must monitor for updates or apply manual mitigations.
Potential Impact
For European organizations, the primary impact of CVE-2025-34451 is the potential for denial of service in systems utilizing proxychains-ng for network traffic routing or anonymization. This could disrupt security operations, penetration testing activities, or any automated processes relying on proxychains-ng, leading to operational downtime. In environments where proxychains-ng is integrated into security tooling or network infrastructure, memory corruption could be leveraged for privilege escalation or arbitrary code execution, posing a risk to system integrity and confidentiality. Given the local attack vector, the threat is more pronounced in environments with multiple users or where untrusted users have local access. Organizations in sectors with stringent data protection requirements, such as finance, healthcare, and critical infrastructure, could face compliance and reputational risks if this vulnerability leads to exploitation. Additionally, disruption of security tools could impair incident response capabilities. The absence of known exploits reduces immediate risk but does not eliminate the potential for future attacks, especially as the vulnerability becomes more widely known.
Mitigation Recommendations
European organizations should immediately audit their use of proxychains-ng and identify affected versions (up to 4.17 and prior to commit cc005b7). Until an official patch is released, users should avoid processing untrusted proxy configuration files containing user-supplied username or password fields. Implement strict input validation and length checks on proxy configuration entries to prevent buffer overflow conditions. Restrict local access to systems running proxychains-ng to trusted users only and monitor for unusual crashes or behavior indicative of exploitation attempts. Employ application whitelisting and memory protection mechanisms such as stack canaries, ASLR, and DEP to reduce exploitation likelihood. Regularly check the official rofl0r proxychains-ng repository or trusted vulnerability databases for patches or updates addressing this issue. For critical environments, consider alternative proxy chaining tools with no known vulnerabilities until this issue is resolved. Finally, integrate this vulnerability into vulnerability management and incident response workflows to ensure timely detection and remediation.
Affected Countries
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2025-04-15T19:15:22.602Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 694471834eb3efac36abad29
Added to database: 12/18/2025, 9:26:27 PM
Last enriched: 12/25/2025, 10:18:56 PM
Last updated: 2/5/2026, 11:51:40 PM
Views: 50
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-23623: CWE-285: Improper Authorization in CollaboraOnline online
MediumCVE-2025-32393: CWE-770: Allocation of Resources Without Limits or Throttling in Significant-Gravitas AutoGPT
HighCVE-2026-24302: CWE-284: Improper Access Control in Microsoft Azure ARC
HighCVE-2026-24300: CWE-284: Improper Access Control in Microsoft Azure Front Door
CriticalCVE-2026-21532: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in Microsoft Azure Functions
HighActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.