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.

Published: 2012-12-20 Last update: 2026-04-29 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2012-5643 is rated Moderate Risk (49.1/100): CVSS Medium severity, with high exploitation likelihood (EPSS 23.18%, 97th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2012-5643

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 33.16% 23.18% -9.98%
2 2026-03-04 36.61% 33.16% -3.45%
3 2026-02-18 36.61%

Full EPSS history (20 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2012-5643

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.0 2.0 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:L)
Exploitation conditions are straightforward and predictable.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:N)
No confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:P)
Partial availability impact.
10.0 2.9 [email protected]

Weakness enumeration for CVE-2012-5643

OS Trackers for CVE-2012-5643

vendor priority summary link
debian not yet assigned CVE-2012-5643 not yet assigned priority: Debian including 1 source packages (squid), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2012-5643
gentoo normal CVE-2012-5643: 1 GLSA(s) (201309-22), 1 atom(s) (net-proxy/squid); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2012-5643
redhat medium https://access.redhat.com/security/cve/CVE-2012-5643
suse medium CVE-2012-5643 severity moderate: SUSE including 15 source package names (squid, squid-2.7.STABLE5-2.12.12.1, …), 41 product×package rows across 36 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (36 product lines)): Fixed 25, Known Not Affected 16. https://www.suse.com/security/cve/CVE-2012-5643/
ubuntu medium CVE-2012-5643 medium priority: Ubuntu including 2 source packages (squid, squid3), 14 status rows across 7 suites (hardy, lucid, oneiric, precise, quantal, raring, upstream): released 7, DNE 3, ignored 3, not-affected 1. https://ubuntu.com/security/CVE-2012-5643

Affected software / configurations for CVE-2012-5643

Vendor Product Version Raw CPE
squid-cache squid 2.0 cpe:2.3:a:squid-cache:squid:2.0:*:*:*:*:*:*:*
squid-cache squid 2.1 cpe:2.3:a:squid-cache:squid:2.1:*:*:*:*:*:*:*
squid-cache squid 2.2 cpe:2.3:a:squid-cache:squid:2.2:*:*:*:*:*:*:*
squid-cache squid 2.3 cpe:2.3:a:squid-cache:squid:2.3:*:*:*:*:*:*:*
squid-cache squid 2.4 cpe:2.3:a:squid-cache:squid:2.4:*:*:*:*:*:*:*
squid-cache squid 2.5 cpe:2.3:a:squid-cache:squid:2.5:*:*:*:*:*:*:*
squid-cache squid 2.6 cpe:2.3:a:squid-cache:squid:2.6:*:*:*:*:*:*:*
squid-cache squid 2.7 cpe:2.3:a:squid-cache:squid:2.7:*:*:*:*:*:*:*
squid-cache squid 2.7 cpe:2.3:a:squid-cache:squid:2.7:stable3:*:*:*:*:*:*
squid-cache squid 2.7 cpe:2.3:a:squid-cache:squid:2.7:stable4:*:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:*:*:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre1:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre2:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre3:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre4:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre5:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre6:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:-:pre7:*:*:*:*:*
squid-cache squid 3.0 cpe:2.3:a:squid-cache:squid:3.0:rc4:*:*:*:*:*:*
squid-cache squid 3.0.stable1 cpe:2.3:a:squid-cache:squid:3.0.stable1:*:*:*:*:*:*:*
squid-cache squid 3.0.stable2 cpe:2.3:a:squid-cache:squid:3.0.stable2:*:*:*:*:*:*:*
squid-cache squid 3.0.stable3 cpe:2.3:a:squid-cache:squid:3.0.stable3:*:*:*:*:*:*:*
squid-cache squid 3.0.stable4 cpe:2.3:a:squid-cache:squid:3.0.stable4:*:*:*:*:*:*:*
squid-cache squid 3.0.stable5 cpe:2.3:a:squid-cache:squid:3.0.stable5:*:*:*:*:*:*:*
squid-cache squid 3.0.stable6 cpe:2.3:a:squid-cache:squid:3.0.stable6:*:*:*:*:*:*:*
squid-cache squid 3.0.stable7 cpe:2.3:a:squid-cache:squid:3.0.stable7:*:*:*:*:*:*:*
squid-cache squid 3.0.stable8 cpe:2.3:a:squid-cache:squid:3.0.stable8:*:*:*:*:*:*:*
squid-cache squid 3.0.stable9 cpe:2.3:a:squid-cache:squid:3.0.stable9:*:*:*:*:*:*:*
squid-cache squid 3.0.stable10 cpe:2.3:a:squid-cache:squid:3.0.stable10:*:*:*:*:*:*:*
squid-cache squid 3.0.stable11 cpe:2.3:a:squid-cache:squid:3.0.stable11:*:*:*:*:*:*:*
squid-cache squid 3.0.stable11 cpe:2.3:a:squid-cache:squid:3.0.stable11:rc1:*:*:*:*:*:*
squid-cache squid 3.0.stable12 cpe:2.3:a:squid-cache:squid:3.0.stable12:*:*:*:*:*:*:*
squid-cache squid 3.0.stable13 cpe:2.3:a:squid-cache:squid:3.0.stable13:*:*:*:*:*:*:*
squid-cache squid 3.0.stable14 cpe:2.3:a:squid-cache:squid:3.0.stable14:*:*:*:*:*:*:*
squid-cache squid 3.0.stable15 cpe:2.3:a:squid-cache:squid:3.0.stable15:*:*:*:*:*:*:*
squid-cache squid 3.0.stable16 cpe:2.3:a:squid-cache:squid:3.0.stable16:*:*:*:*:*:*:*
squid-cache squid 3.0.stable16 cpe:2.3:a:squid-cache:squid:3.0.stable16:rc1:*:*:*:*:*:*
squid-cache squid 3.0.stable17 cpe:2.3:a:squid-cache:squid:3.0.stable17:*:*:*:*:*:*:*
squid-cache squid 3.0.stable18 cpe:2.3:a:squid-cache:squid:3.0.stable18:*:*:*:*:*:*:*
squid-cache squid 3.0.stable19 cpe:2.3:a:squid-cache:squid:3.0.stable19:*:*:*:*:*:*:*
squid-cache squid 3.0.stable20 cpe:2.3:a:squid-cache:squid:3.0.stable20:*:*:*:*:*:*:*
squid-cache squid 3.0.stable21 cpe:2.3:a:squid-cache:squid:3.0.stable21:*:*:*:*:*:*:*
squid-cache squid 3.0.stable22 cpe:2.3:a:squid-cache:squid:3.0.stable22:*:*:*:*:*:*:*
squid-cache squid 3.0.stable23 cpe:2.3:a:squid-cache:squid:3.0.stable23:*:*:*:*:*:*:*
squid-cache squid 3.0.stable24 cpe:2.3:a:squid-cache:squid:3.0.stable24:*:*:*:*:*:*:*
squid-cache squid 3.0.stable25 cpe:2.3:a:squid-cache:squid:3.0.stable25:*:*:*:*:*:*:*
squid-cache squid 3.1 cpe:2.3:a:squid-cache:squid:3.1:*:*:*:*:*:*:*
squid-cache squid 3.1.0.1 cpe:2.3:a:squid-cache:squid:3.1.0.1:*:*:*:*:*:*:*
squid-cache squid 3.1.0.2 cpe:2.3:a:squid-cache:squid:3.1.0.2:*:*:*:*:*:*:*
squid-cache squid 3.1.0.3 cpe:2.3:a:squid-cache:squid:3.1.0.3:*:*:*:*:*:*:*
squid-cache squid 3.1.0.4 cpe:2.3:a:squid-cache:squid:3.1.0.4:*:*:*:*:*:*:*
squid-cache squid 3.1.0.5 cpe:2.3:a:squid-cache:squid:3.1.0.5:*:*:*:*:*:*:*
squid-cache squid 3.1.0.6 cpe:2.3:a:squid-cache:squid:3.1.0.6:*:*:*:*:*:*:*
squid-cache squid 3.1.0.7 cpe:2.3:a:squid-cache:squid:3.1.0.7:*:*:*:*:*:*:*
squid-cache squid 3.1.0.8 cpe:2.3:a:squid-cache:squid:3.1.0.8:*:*:*:*:*:*:*
squid-cache squid 3.1.0.9 cpe:2.3:a:squid-cache:squid:3.1.0.9:*:*:*:*:*:*:*
squid-cache squid 3.1.0.10 cpe:2.3:a:squid-cache:squid:3.1.0.10:*:*:*:*:*:*:*
squid-cache squid 3.1.0.11 cpe:2.3:a:squid-cache:squid:3.1.0.11:*:*:*:*:*:*:*
squid-cache squid 3.1.0.12 cpe:2.3:a:squid-cache:squid:3.1.0.12:*:*:*:*:*:*:*
squid-cache squid 3.1.0.13 cpe:2.3:a:squid-cache:squid:3.1.0.13:*:*:*:*:*:*:*
squid-cache squid 3.1.0.14 cpe:2.3:a:squid-cache:squid:3.1.0.14:*:*:*:*:*:*:*
squid-cache squid 3.1.0.15 cpe:2.3:a:squid-cache:squid:3.1.0.15:*:*:*:*:*:*:*
squid-cache squid 3.1.0.16 cpe:2.3:a:squid-cache:squid:3.1.0.16:*:*:*:*:*:*:*
squid-cache squid 3.1.0.17 cpe:2.3:a:squid-cache:squid:3.1.0.17:*:*:*:*:*:*:*
squid-cache squid 3.1.0.18 cpe:2.3:a:squid-cache:squid:3.1.0.18:*:*:*:*:*:*:*
squid-cache squid 3.1.1 cpe:2.3:a:squid-cache:squid:3.1.1:*:*:*:*:*:*:*
squid-cache squid 3.1.2 cpe:2.3:a:squid-cache:squid:3.1.2:*:*:*:*:*:*:*
squid-cache squid 3.1.10 cpe:2.3:a:squid-cache:squid:3.1.10:*:*:*:*:*:*:*
squid-cache squid 3.1.11 cpe:2.3:a:squid-cache:squid:3.1.11:*:*:*:*:*:*:*
squid-cache squid 3.1.12 cpe:2.3:a:squid-cache:squid:3.1.12:*:*:*:*:*:*:*
squid-cache squid 3.1.13 cpe:2.3:a:squid-cache:squid:3.1.13:*:*:*:*:*:*:*
squid-cache squid 3.1.14 cpe:2.3:a:squid-cache:squid:3.1.14:*:*:*:*:*:*:*
squid-cache squid 3.1.15 cpe:2.3:a:squid-cache:squid:3.1.15:*:*:*:*:*:*:*
squid-cache squid 3.1.16 cpe:2.3:a:squid-cache:squid:3.1.16:*:*:*:*:*:*:*
squid-cache squid 3.1.17 cpe:2.3:a:squid-cache:squid:3.1.17:*:*:*:*:*:*:*
squid-cache squid 3.1.18 cpe:2.3:a:squid-cache:squid:3.1.18:*:*:*:*:*:*:*
squid-cache squid 3.1.19 cpe:2.3:a:squid-cache:squid:3.1.19:*:*:*:*:*:*:*
squid-cache squid 3.1.20 cpe:2.3:a:squid-cache:squid:3.1.20:*:*:*:*:*:*:*
squid-cache squid 3.1.21 cpe:2.3:a:squid-cache:squid:3.1.21:*:*:*:*:*:*:*
squid-cache squid 3.2.0.1 cpe:2.3:a:squid-cache:squid:3.2.0.1:*:*:*:*:*:*:*

References for CVE-2012-5643

URL Tags
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 Patch Vendor Advisory
http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10479.patch Patch
http://www.squid-cache.org/Versions/v3/3.2/changesets/squid-3.2-11714.patch 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
cvelogic Threat Intelligence