CVE-2012-5643
CVE-2012-5643 is a medium-severity vulnerability in Squid-cache Squid with a CVSS 2.0 base score of 5.0. Its EPSS exploit-prediction score of 23% places it in the 97th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-20.
Key facts
- Severity: Medium (CVSS 2.0 base score 5.0)
- EPSS exploit prediction: 23% (97th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-20
- Affected product: Squid-cache Squid
- Published:
- Last modified:
Description
Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x before 3.1.22, 3.2.x before 3.2.4, and 3.3.x before 3.3.0.2 allow remote attackers to cause a denial of service (memory consumption) via (1) invalid Content-Length headers, (2) long POST requests, or (3) crafted authentication credentials.
Frequently asked questions
- What is CVE-2012-5643?
- Multiple memory leaks in tools/cachemgr.cc in cachemgr.cgi in Squid 2.x and 3.x before 3.1.22, 3.2.x before 3.2.4, and 3.3.x before 3.3.0.2 allow remote attackers to cause a denial of service (memory consumption) via (1) invalid Content-Length headers, (2) long POST requests, or (3) crafted authentication credentials.
- How severe is CVE-2012-5643?
- CVE-2012-5643 has a CVSS 2.0 base score of 5.0, rated medium severity.
- Is CVE-2012-5643 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 23% (97th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5643?
- CVE-2012-5643 primarily affects Squid-cache Squid. In total, 102 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-5643?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5643 published?
- CVE-2012-5643 was published on 2012-12-20 and last updated on 2026-06-16.
References
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00010.html
- http://lists.opensuse.org/opensuse-security-announce/2016-08/msg00040.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00052.html
- http://lists.opensuse.org/opensuse-updates/2013-01/msg00075.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00025.html
- http://lists.opensuse.org/opensuse-updates/2013-09/msg00032.html
- http://openwall.com/lists/oss-security/2012/12/17/4
- http://rhn.redhat.com/errata/RHSA-2013-0505.html
- http://secunia.com/advisories/52024
- http://secunia.com/advisories/54839
- http://ubuntu.com/usn/usn-1713-1
- http://www.debian.org/security/2013/dsa-2631
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:129
- http://www.securitytracker.com/id?1027890
- http://www.squid-cache.org/Advisories/SQUID-2012_1.txt
- http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch
- http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch
- https://bugs.gentoo.org/show_bug.cgi?id=447596
- https://bugzilla.redhat.com/show_bug.cgi?id=887962
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2012-0368
Affected products (102)
- cpe:2.3:a:squid-cache:squid:2.0:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.1:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.2:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.3:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.4:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.5:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.6:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.7:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.7:stable3:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:2.7:stable4:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre1:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre2:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre3:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre4:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre5:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre6:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:-:pre7:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0:rc4:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable1:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable2:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable3:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable4:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable5:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable6:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable7:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable8:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable9:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable10:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable11:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable11:rc1:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable12:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable13:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable14:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable15:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable16:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable16:rc1:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable17:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable18:*:*:*:*:*:*:*
- cpe:2.3:a:squid-cache:squid:3.0.stable19:*:*:*:*:*:*:*
More vulnerabilities in Squid-cache Squid
- CVE-2025-62168 — Critical (CVSS 10.0): Squid is a caching proxy for the Web. In Squid versions prior to 7.2, a failure to redact HTTP authentication…
- CVE-2020-15049 — Critical (CVSS 9.9): An issue was discovered in http/ContentLengthInterpreter.cc in Squid before 4.12 and 5.x before 5.0.3. A Request…
- CVE-2020-11945 — Critical (CVSS 9.8): An issue was discovered in Squid before 5.0.2. A remote attacker can replay a sniffed Digest Authentication nonce to…
- CVE-2019-12519 — Critical (CVSS 9.8): An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls…
- CVE-2019-12524 — Critical (CVSS 9.8): An issue was discovered in Squid through 4.7. When handling requests from users, Squid checks its rules to see if the…
- CVE-2019-12526 — Critical (CVSS 9.8): An issue was discovered in Squid before 4.9. URN response handling in Squid suffers from a heap-based buffer overflow.…
All CVEs affecting Squid-cache Squid →
Other CWE-20 (Improper Input Validation) vulnerabilities
- CVE-2026-48316 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48281 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48277 — Critical (CVSS 10.0): ColdFusion versions 2025.9, 2023.20 and earlier are affected by an Improper Input Validation vulnerability that could…
- CVE-2026-48055 — Critical (CVSS 10.0): Streambert is a cross-platform Electron Desktop App to stream and download any video media. In versions 2.4.0 and…
- CVE-2026-34910 — Critical (CVSS 10.0): A malicious actor with access to the network could exploit an Improper Input Validation vulnerability found in UniFi OS…
- CVE-2026-33587 — Critical (CVSS 10.0): Lack of user input sanitisation in Open Notebook v1.8.3 allows the application user to execute Python code (and…
Browse all CWE-20 (Improper Input Validation) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 193.90.12.40 (ipv4-addr)