CVE-2026-50012: Squid - Buffer Overflow
- Cve: CVE-2026-50012
- Name: Squid - Buffer Overflow
- Description: Squid is a caching proxy for the Web. Prior to 7.6, due to an improper input validation bug in cache digest reply handling (peerDigestSwapInMask in src/peer_digest.cc), Squid is vulnerable to a heap-based buffer overflow: a cache digest's on-the-wire size may be larger than the mask_size declared within the digest, so a trusted peer sending a maliciously crafted reply to a cache_digest request message can trigger the overflow. This attack is limited to Squid instances compiled with the --enable-cache-digests option and configured with cache_peer entries. This issue is fixed in version 7.6.
- Impact: Trusted peers can trigger heap-based buffer overflow, potentially leading to remote code execution or denial of service.
- Remediation: Upgrade to version 7.6 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution, denial_of_service
- Requirement type: logged_in
- Requirements: Squid must be compiled with --enable-cache-digests and configured with cache_peer entries; attacker must be a trusted peer.
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
- Epss score: 0.01364
- Epss percentile: 0.72372
- Assignee: [email protected]
- Published at: 2026-07-16T17:16:57Z
- Age in days: 131
- Modified at: 2026-10-24T20:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-50012
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-20 | Improper Input Validation |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| squid-cache:squid | < 7.6 | no | nvd | /v1/products/squid-cache/squid |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| squid-cache/squid | commit, fix, pull, releases, security_advisory | yes | /v1/repositories/squid-cache/squid |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 1764069
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports