CVE-2019-12521: An issue was discovered in Squid through 4.7.
Noroxi assessment
Priority: Monitor (action score 25/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: 5.9% (FIRST EPSS); higher than 93.3% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. Special conditions such as timing or configuration are required.
- Fixed version: libecap (AlmaLinux:8) 1.0.1-2.module_el8.6.0+2741+01592ae8; libecap-devel (AlmaLinux:8) 1.0.1-2.module_el8.6.0+2741+01592ae8; squid (Alpine:v3.10) 4.11-r0.
- Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to libecap (AlmaLinux:8) 1.0.1-2.module_el8.6.0+2741+01592ae8; libecap-devel (AlmaLinux:8) 1.0.1-2.module_el8.6.0+2741+01592ae8; squid (Alpine:v3.10) 4.11-r0 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
An issue was discovered in Squid through 4.7. When Squid is parsing ESI, it keeps the ESI elements in ESIContext. ESIContext contains a buffer for holding a stack of ESIElements. When a new ESIElement is parsed, it is added via addStackElement. addStackElement has a check for the number of elements in this buffer, but it's off by 1, leading to a Heap Overflow of 1 element. The overflow is within the same structure so it can't affect adjacent memory blocks, and thus just leads to a crash while processing.
- Published
- Apr 15, 2020
- Updated
- Jun 16, 2026
- EPSS
- 5.9% · 93th percentile
- CWE
- CWE-193
Report tools
Action score
25
Low priority for now.
- CVSS
- 23 / 40 · 5.9 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.9%
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.
Is your version affected? Check itNoroxi 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 helpAffected 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.
| Vendor | Product | CPE |
|---|---|---|
| squid-cache | squid | cpe:2.3:a:squid-cache:squid |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.10
- canonical ubuntu linux20.04
- debian debian linux10.0
- debian debian linux9.0
- opensuse leap15.1
- squid-cache squid5.0 and later · up to 5.0.1 inclusive
- squid-cache squid4.0 and later · up to 4.7 inclusive
- squid-cache squid3.0 and later · up to 3.5.28 inclusive
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | libecap | before 1.0.1-2.module_el8.6.0+2741+01592ae8 | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| AlmaLinux:8 | libecap-devel | before 1.0.1-2.module_el8.6.0+2741+01592ae8 | 1.0.1-2.module_el8.6.0+2741+01592ae8 |
| Alpine:v3.10 | squid | from 3.0 · before 4.11-r0 | 4.11-r0 |
| Debian:10 | squid | before 4.6-1+deb10u2 | 4.6-1+deb10u2 |
| Debian:12 | squid | before 4.11-1 | 4.11-1 |
| Debian:9 | squid3 | before 3.5.23-5+deb9u2 | 3.5.23-5+deb9u2 |
| openSUSE:Leap 15.1 | squid | before 4.11-lp151.2.15.2 | 4.11-lp151.2.15.2 |
| Red Hat:enterprise_linux:8::appstream | libecap | before 0:1.0.1-2.module+el8.1.0+4044+36416a77 | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
| Red Hat:enterprise_linux:8::appstream | libecap-debuginfo | before 0:1.0.1-2.module+el8.1.0+4044+36416a77 | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
| Red Hat:enterprise_linux:8::appstream | libecap-debugsource | before 0:1.0.1-2.module+el8.1.0+4044+36416a77 | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
| Red Hat:enterprise_linux:8::appstream | libecap-devel | before 0:1.0.1-2.module+el8.1.0+4044+36416a77 | 0:1.0.1-2.module+el8.1.0+4044+36416a77 |
| Red Hat:enterprise_linux:8::appstream | squid | before 7:4.11-3.module+el8.3.0+7851+7808b5f9 | 7:4.11-3.module+el8.3.0+7851+7808b5f9 |
| Red Hat:enterprise_linux:8::appstream | squid-debuginfo | before 7:4.11-3.module+el8.3.0+7851+7808b5f9 | 7:4.11-3.module+el8.3.0+7851+7808b5f9 |
| Red Hat:enterprise_linux:8::appstream | squid-debugsource | before 7:4.11-3.module+el8.3.0+7851+7808b5f9 | 7:4.11-3.module+el8.3.0+7851+7808b5f9 |
| Rocky Linux:8 | libecap | before 0:1.0.1-2.module+el8.4.0+404+316a0dc5 | 0:1.0.1-2.module+el8.4.0+404+316a0dc5 |
| SUSE:HPE Helion OpenStack 8 | squid | before 3.5.21-26.23.1 | 3.5.21-26.23.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP1 | squid | before 4.11-5.17.2 | 4.11-5.17.2 |
| SUSE:Linux Enterprise Point of Sale 11 SP3 | squid3 | before 3.1.23-8.16.37.12.1 | 3.1.23-8.16.37.12.1 |
| SUSE:Linux Enterprise Server 12 SP5 | squid | before 4.11-4.9.1 | 4.11-4.9.1 |
Same product
squid-cache: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-25617Denial of Service in HTTP Header parser in squid proxy57Plan
- CVE-2023-49285Denial of Service in HTTP Message Processing in Squid56Plan
- 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-2019-12528Feb 4, 2020 · An issue was discovered in Squid before 4.10.33Monitor
- ← EarlierCVE-2019-18860Mar 20, 2020 · Squid before 4.9, when certain web browsers are used, mishandles HTML in the host (aka hostname) parameter to cachemgr.cgi.25Monitor
- Later →CVE-2019-12522Apr 15, 2020 · An issue was discovered in Squid through 4.7.18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:libecap | 1.0.1-2.module_el8.6.0+2741+01592ae8 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:libecap-devel | 1.0.1-2.module_el8.6.0+2741+01592ae8 · AlmaLinux:8 | Package registry (OSV) |
| alpine:squid | 4.11-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:squid | 4.11-1 · Debian:12 | Package registry (OSV) |
| debian:squid3 | 3.5.23-5+deb9u2 · Debian:9 | Package registry (OSV) |
| opensuse:squid | 4.11-lp151.2.15.2 · openSUSE:Leap 15.1 | Package registry (OSV) |
| red hat:libecap | 0:1.0.1-2.module+el8.1.0+4044+36416a77 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libecap-debuginfo | 0:1.0.1-2.module+el8.1.0+4044+36416a77 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libecap-debugsource | 0:1.0.1-2.module+el8.1.0+4044+36416a77 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:libecap-devel | 0:1.0.1-2.module+el8.1.0+4044+36416a77 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:squid | 7:4.11-3.module+el8.3.0+7851+7808b5f9 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:squid-debuginfo | 7:4.11-3.module+el8.3.0+7851+7808b5f9 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:squid-debugsource | 7:4.11-3.module+el8.3.0+7851+7808b5f9 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:libecap | 0:1.0.1-2.module+el8.4.0+404+316a0dc5 · Rocky Linux:8 | Package registry (OSV) |
| suse:squid | 4.11-4.9.1 · SUSE:Linux Enterprise Server 12 SP5 | Package registry (OSV) |
| suse:squid3 | 3.1.23-8.16.37.12.1 · SUSE:Linux Enterprise Point of Sale 11 SP3 | Package 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.
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-20-289 · Apr 30, 2020(Squid Sunucu Güvenlik Güncellemesi)
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- Special conditions such as timing or configuration are required.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-193 · Off-by-one ErrorCVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- www.openwall.com/lists/oss-security/2020/04/23/1
- gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12521.txt
- lists.debian.org/debian-lts-announce/2020/07/msg00009.html
- security.gentoo.org/glsa/202005-05
- security.netapp.com/advisory/ntap-20210205-0006/
- usn.ubuntu.com/4356-1/
- www.debian.org/security/2020/dsa-4682
Vendor advisories and official records. Exploit/PoC links are deliberately left out.