CVE-2019-12527Squid Heap Buffer Overflow
When checking Basic Authentication with HttpHeader::getAuth, Squid uses a global buffer to store the decoded data.
Published Jul 11, 2019 · Updated Oct 20, 2026 · Also known as DEBIAN-CVE-2019-12527
Key Facts
Patch immediately- CVE-2019-12527 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting Squid (Squid-Cache), Ubuntu Linux (Canonical), Debian Linux and 8 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 50% probability of exploitation in the next 30 days.
- Fixed versions are available, including libecap 1.0.1-2.module_el8.6.0+2741+01592ae8, libecap 1.0.1-2.module+el8.0.0+5324+ea04b9c2, libecap 1.0.1-2.module+el8.4.0+404+316a0dc5.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
50%
Higher than 98.9% of all scored CVEs
Exploit maturity
None known
ATLAS score
29/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
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.
Affected Products
44 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SquidSquid-Cache | See advisory | 4.7 |
| Ubuntu LinuxCanonical | 16.04, 18.04, 19.04 | n/a |
| Debian LinuxDebian | 10.0 | n/a |
| FedoraFedoraproject | 29 | n/a |
| Enterprise LinuxRedhat | 8.0 | n/a |
Patched Releases
libecap
1.0.1-2.module_el8.6.0+2741+01592ae8, 1.0.1-2.module+el8.0.0+5324+ea04b9c2, 1.0.1-2.module+el8.4.0+404+316a0dc5
libecap-devel
1.0.1-2.module+el8.0.0+5324+ea04b9c2
Squid
4.16-1.5, 4.6-1+deb10u1, 4.8-1, 4.8-1.mga7, 4.9-5.11.1, 4.9-lp150.13.1, 4.9-lp151.2.7.1, 7:4.4-5.module+el8.0.0+5324+ea04b9c2, <=4.7
squid:4
8000020190823131713.f8e95b4e
Timeline
Publicly disclosed
Jul 11, 2019
Last updated
Oct 20, 2026
Weakness Type
- CWE-122 Heap-based Buffer Overflow
- CWE-787 Out-of-bounds Write
References
- advisorysecurity-tracker.debian.org · CVE-2019-12527
- advisoryRHSA-2019:2593
- advisoryadvisories.mageia.org · MGASA-2019-0266.html
- advisorybugs.mageia.org · show_bug.cgi
- advisorybugzilla.suse.com · 1133089
FAQ
Common Questions.
An issue was discovered in Squid 4.0.23 through 4.7.
Affected: Squid (Squid-Cache); Ubuntu Linux (Canonical) versions 16.04, 18.04, 19.04; Debian Linux versions 10.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including libecap 1.0.1-2.module_el8.6.0+2741+01592ae8, libecap 1.0.1-2.module+el8.0.0+5324+ea04b9c2, libecap 1.0.1-2.module+el8.4.0+404+316a0dc5.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2019-12527 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo