← Vulnerability feed

Vulnerability record · CVE-2019-12527 · published 11 July 2019

CVE-2019-12527: Squid proxy heap buffer overflow in Basic Authentication header handling

Squid Cache · Squid

Squid 4.0.23 through 4.7 decodes Basic Authentication credentials into a global buffer in HttpHeader::getAuth without validating that the decoded length fits, producing a heap-based buffer overflow with attacker-controlled data. Because the overflow is reachable through normal proxy authentication handling, it can corrupt heap memory and potentially lead to remote code execution on the proxy host.

8.8 CVSS 3.1 High EPSS 49% · top 1.2% CWE-787 · Out-of-bounds write
8.8CVSS 3.1 base score, v2 6.8
49%EPSS exploitation probability, 30 days
NoNot in CISA KEV
8Affected product versions listed by NVD
22References
17 Jun 2026Last modified by NVD

Description

An issue was discovered in Squid 4.0.23 through 4.7. When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data. Squid does not check that the decoded length isn't greater than the buffer, leading to a heap-based buffer overflow with user controlled data.

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

Automated analysis

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

high priorityCVSS 8.8 with network reachability and high EPSS, but exploitation requires user interaction and no KEV or ransomware evidence exists.

What it is

Squid 4.0.23 through 4.7 decodes Basic Authentication credentials into a global buffer in HttpHeader::getAuth without validating that the decoded length fits, producing a heap-based buffer overflow with attacker-controlled data. Because the overflow is reachable through normal proxy authentication handling, it can corrupt heap memory and potentially lead to remote code execution on the proxy host.

Impact

An attacker who can supply a crafted Authorization header can overwrite heap memory with controlled data, which may result in code execution or at minimum a crash of the Squid process.

Attack surface

Reached over the network via HTTP requests carrying a malformed Basic Authentication header; the CVSS vector indicates no privileges are required but user interaction is required, and the flaw sits in the proxy's authentication parsing path.

Exploitation

Not listed in CISA KEV and no ransomware usage is documented, but EPSS is high at roughly 0.49 (98.8th percentile), and vendor and distribution advisories plus a public patch are available, indicating active interest and easy patch-derived exploitation.

What to do

  • Upgrade Squid to a version containing the fix (the vendor changeset patch squid-4-7f73e9c5d17664b882ed32590e6af310c247f320 or later 4.x release).
  • Apply the distribution updates: Red Hat RHSA-2019:2593, Ubuntu USN-4065-1, Debian DSA-4507, and the Fedora package announcement.
  • If patching is delayed, restrict proxy access to trusted networks and disable or avoid Basic Authentication where feasible.
  • Monitor Squid processes for crashes or restarts and treat repeated authentication-related failures as suspicious.

Detection

  • Inspect proxy and web logs for HTTP requests with unusually long or malformed Authorization: Basic headers.
  • Alert on Squid process crashes, core dumps, or unexpected restarts on proxy hosts.
  • Use network monitoring to flag oversized or non-base64-conformant Basic auth credentials sent to the proxy.

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

Affected products

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

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html Broken Link
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html Broken Link
http://www.securityfocus.com/bid/109143 Broken LinkThird Party AdvisoryVDB Entry
http://www.squid-cache.org/Versions/v4/changesets/ Vendor Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch PatchVendor Advisory
https://access.redhat.com/errata/RHSA-2019:2593 Third Party Advisory
https://github.com/squid-cache/squid/commits/v4 PatchThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVL
https://seclists.org/bugtraq/2019/Aug/42 Mailing ListThird Party Advisory
https://usn.ubuntu.com/4065-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4507 Third Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00053.html Broken Link
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00056.html Broken Link
http://www.securityfocus.com/bid/109143 Broken LinkThird Party AdvisoryVDB Entry
http://www.squid-cache.org/Versions/v4/changesets/ Vendor Advisory
http://www.squid-cache.org/Versions/v4/changesets/squid-4-7f73e9c5d17664b882ed32590e6af310c247f320.patch PatchVendor Advisory
https://access.redhat.com/errata/RHSA-2019:2593 Third Party Advisory
https://github.com/squid-cache/squid/commits/v4 PatchThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SPXN2CLAGN5QSQBTOV5IGVL
https://seclists.org/bugtraq/2019/Aug/42 Mailing ListThird Party Advisory
https://usn.ubuntu.com/4065-1/ Third Party Advisory
https://www.debian.org/security/2019/dsa-4507 Third Party Advisory

Track CVE-2019-12527 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.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

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