SecurityContext

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

IdName
CWE-20Improper Input Validation

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcdPatch
https://github.com/squid-cache/squid/pull/2423Patch
https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284Vendor Advisory
https://github.com/squid-cache/squid/releases/tag/SQUID_7_6Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
squid-cache:squid< 7.6nonvd/v1/products/squid-cache/squid

Projects

RepositoryLink kindsIndexedUrl
squid-cache/squidcommit, fix, pull, releases, security_advisoryyes/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