← Vulnerability feed

Vulnerability record · CVE-2023-50269 · published 14 December 2023

CVE-2023-50269: Squid proxy uncontrolled recursion in HTTP request parsing causes DoS

Squid Cache · Squid

Squid versions 2.6 through 2.7.STABLE9, 3.1 through 5.9, and 6.0.1 through 6.5 contain an uncontrolled recursion flaw (CWE-674) in HTTP request parsing. A remote client can trigger deep recursion by sending a large X-Forwarded-For header when the follow_x_forwarded_for feature is enabled, causing a denial of service. The issue is fixed in Squid 6.6 and via patches for stable releases.

7.5 CVSS 3.1 High EPSS 58% · top 0.9% CWE-674 · CWE-674
7.5CVSS 3.1 base score
58%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
14References
17 Jun 2026Last modified by NVD

Description

Squid is a caching proxy for the Web. Due to an Uncontrolled Recursion bug in versions 2.6 through 2.7.STABLE9, versions 3.1 through 5.9, and versions 6.0.1 through 6.5, Squid may be vulnerable to a Denial of Service attack against HTTP Request parsing. This problem allows a remote client to perform Denial of Service attack by sending a large X-Forwarded-For header when the follow_x_forwarded_for feature is configured. This bug is fixed by Squid version 6.6. In addition, patches addressing this problem for the stable releases can be found in Squid's patch archives.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityCVSS 7.5 with network reachability, no authentication, and high EPSS percentile make this a serious availability risk for exposed Squid proxies, though it is not in KEV.

What it is

Squid versions 2.6 through 2.7.STABLE9, 3.1 through 5.9, and 6.0.1 through 6.5 contain an uncontrolled recursion flaw (CWE-674) in HTTP request parsing. A remote client can trigger deep recursion by sending a large X-Forwarded-For header when the follow_x_forwarded_for feature is enabled, causing a denial of service. The issue is fixed in Squid 6.6 and via patches for stable releases.

Impact

An unauthenticated remote attacker can crash or exhaust the Squid process, disrupting proxy service for all users behind it. There is no confidentiality or integrity impact; only availability is affected.

Attack surface

Reachable over the network via HTTP requests to the Squid proxy; no authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The attack only works when the follow_x_forwarded_for feature is configured.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented; EPSS is high at roughly 0.576 (99th percentile), indicating elevated likelihood of exploitation activity, but the record does not confirm public exploit code.

What to do

  • Upgrade Squid to version 6.6 or later.
  • If immediate upgrade is not possible, apply the vendor patches for the relevant stable branch (SQUID-2023_10.patch for v5 and v6).
  • Disable or restrict the follow_x_forwarded_for feature where it is not operationally required.
  • Limit or sanitize X-Forwarded-For header size and depth at the proxy or upstream load balancer.
  • Monitor Squid processes for crashes or restarts and apply vendor updates from Debian, Fedora, or NetApp advisories as applicable.

Detection

  • Alert on unusually large or deeply nested X-Forwarded-For headers in proxy access or request logs.
  • Monitor Squid process crashes, core dumps, or unexpected restarts correlated with HTTP request bursts.
  • Track resource exhaustion (CPU/memory) on Squid hosts during periods of high request volume.
  • Use network monitoring to detect repeated requests with oversized X-Forwarded-For values from single sources.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2023-50269 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-54574Squid-cache squid heap-based buffer overflow vulnerabilitySquid is a caching proxy for the Web. In versions 6.3 and below, Squid is vulnerable to a heap buffer overflow and possible remote code execution att…EPSS 23%9.8CVE-2020-11945Squid-cache squid integer overflow vulnerabilityAn issue was discovered in Squid before 5.0.2. A remote attacker can replay a sniffed Digest Authentication nonce to gain access to resources that ar…EPSS 27%9.8CVE-2019-12519Squid-cache squid out-of-bounds write vulnerabilityAn issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. This function …EPSS 6.7%9.8CVE-2019-12524Squid-cache squid missing authentication for critical function vulnerabilityAn issue was discovered in Squid through 4.7. When handling requests from users, Squid checks its rules to see if the request should be denied. Squid…EPSS 4.3%9.8CVE-2019-12526Squid-cache squid out-of-bounds write vulnerabilityAn issue was discovered in Squid before 4.9. URN response handling in Squid suffers from a heap-based buffer overflow. When receiving data from a rem…EPSS 20%9.8CVE-2019-12525Squid-cache squid out-of-bounds write vulnerabilityAn issue was discovered in Squid 3.3.9 through 3.5.28 and 4.x through 4.7. When Squid is configured to use Digest authentication, it parses the heade…EPSS 24%9.2CVE-2026-33526Squid-cache squid use after free vulnerabilitySquid is a caching proxy for the Web. Prior to version 7.5, due to heap Use-After-Free, Squid is vulnerable to Denial of Service when handling ICP tr…EPSS 13%9.1CVE-2019-12523Squid-cache squid vulnerabilityAn issue was discovered in Squid before 4.9. When handling a URN request, a corresponding HTTP request is made. This HTTP request doesn't go through …EPSS 4.3%

Source: NIST National Vulnerability Database (record CVE-2023-50269), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.