Skip to content
Noroxi
NVD / CVE Program· CNA redhat

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…

MediumCVSS 5.0 · v2.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 27/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 23% (FIRST EPSS); higher than 97.7% of all records.
  • No special conditions are required; it is repeatable.
  • Fixed version: squid (Debian:12) 2.7.STABLE9-2; squid3 (Debian:6.0) 3.1.6-1.2+squeeze3; squid (openSUSE:Tumbleweed) 3.5.22-1.1.

Low priority for now. Upgrade to squid (Debian:12) 2.7.STABLE9-2; squid3 (Debian:6.0) 3.1.6-1.2+squeeze3; squid (openSUSE:Tumbleweed) 3.5.22-1.1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

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
Dec 20, 2012
Updated
Jun 16, 2026
EPSS
23.0% · 97th percentile

Report tools

JSON

Action score

27

Monitor

Low priority for now.

CVSS
20 / 40 · 5.0 / 10
CISA KEV
0 / 30 · Not listed
EPSS
7 / 30 · 23.0%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2012-5643

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools
Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
squid-cachesquid

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • squid-cache squid2.0
  • squid-cache squid2.1
  • squid-cache squid2.2
  • squid-cache squid2.3
  • squid-cache squid2.4
  • squid-cache squid2.5
  • squid-cache squid2.6
  • squid-cache squid2.7

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:12squidbefore 2.7.STABLE9-22.7.STABLE9-2
Debian:6.0squid3before 3.1.6-1.2+squeeze33.1.6-1.2+squeeze3
openSUSE:Tumbleweedsquidbefore 3.5.22-1.13.5.22-1.1
Red Hat:enterprise_linux:6::serversquidbefore 7:3.1.10-16.el67:3.1.10-16.el6
Red Hat:enterprise_linux:6::serversquid-debuginfobefore 7:3.1.10-16.el67:3.1.10-16.el6
SUSE:Linux Enterprise Server 11 SP4squid3before 3.1.23-8.16.30.13.1.23-8.16.30.1

Other highest-scoring records for the same primary product.

  • CVE-2024-25617Denial of Service in HTTP Header parser in squid proxy
    57Plan
  • CVE-2023-49285Denial of Service in HTTP Message Processing in Squid
    56Plan
  • CVE-2021-31806An issue was discovered in Squid before 4.15 and 5.x before 5.0.6.
    55Plan

Published before and after this one in the same product

  • ← EarlierCVE-2011-4096Nov 17, 2011 · The idnsGrokReply function in Squid before 3.1.16 does not properly free memory, which allows remote attackers to cause a denial of service…
    31Monitor
  • ← EarlierCVE-2012-2213Apr 28, 2012 · Squid 3.1.9 allows remote attackers to bypass the access configuration for the CONNECT method by providing an arbitrary allowed hostname in…
    24Monitor
  • Later →CVE-2013-0189Feb 8, 2013 · cachemgr.cgi in Squid 3.1.x and 3.2.x, possibly 3.1.22, 3.2.4, and other versions, allows remote attackers to cause a denial of service…
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:squid2.7.STABLE9-2 · Debian:12Package registry (OSV)
debian:squid33.1.6-1.2+squeeze3 · Debian:6.0Package registry (OSV)
opensuse:squid3.5.22-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:squid7:3.1.10-16.el6 · Red Hat:enterprise_linux:6::serverPackage registry (OSV)
red hat:squid-debuginfo7:3.1.10-16.el6 · Red Hat:enterprise_linux:6::serverPackage registry (OSV)
suse:squid33.1.23-8.16.30.1 · SUSE:Linux Enterprise Server 11 SP4Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.

Technical details

References

All records