Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-50012: CWE-20: Improper Input Validation in squid-cache squid

0
Medium
VulnerabilityCVE-2026-50012cvecve-2026-50012cwe-20cwe-122
Published: 07/16/2026 (07/16/2026, 16:11:34 UTC)
Source: CVE Database V5
Vendor/Project: squid-cache
Product: squid

Description

A heap-based buffer overflow vulnerability exists in squid-cache's handling of cache digest replies prior to version 7.6. This occurs due to improper input validation in the peerDigestSwapInMask function, where the on-the-wire size of a cache digest may exceed the declared mask_size. The vulnerability can be triggered by a trusted peer sending a maliciously crafted reply when Squid is compiled with --enable-cache-digests and configured with cache_peer entries. This issue is fixed in version 7.6.

CVSS v3.1

Score 5.5medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H

Affected software

GitHub Actionsmore threats →ai
squid-cache/squid
pkg:github/squid-cache/squid
Affected versions
<7.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 16:48:53 UTC

Technical Analysis

CVE-2026-50012 describes a heap-based buffer overflow in squid-cache versions before 7.6 caused by improper input validation in the cache digest reply handling code (peerDigestSwapInMask in src/peer_digest.cc). Specifically, the size of a cache digest received over the network can be larger than the declared mask_size, allowing a trusted peer to trigger a buffer overflow by sending a maliciously crafted reply to a cache_digest request. This vulnerability only affects Squid instances compiled with the --enable-cache-digests option and configured with cache_peer entries. The issue is resolved in Squid version 7.6.

Potential Impact

The vulnerability allows a trusted peer to cause a heap-based buffer overflow, which can result in denial of service or potentially other impacts related to memory corruption. The CVSS 3.1 base score is 5.5 (medium severity), reflecting network attack vector, low attack complexity, required high privileges, no user interaction, unchanged scope, no confidentiality impact, low integrity impact, and high availability impact.

Mitigation Recommendations

Upgrade to Squid version 7.6 or later, where this vulnerability is fixed. If upgrading is not immediately possible, ensure that Squid is not compiled with the --enable-cache-digests option or that cache_peer entries are not configured, as the vulnerability requires both conditions. Patch status is not explicitly stated beyond the fix in version 7.6; check the vendor advisory for the latest remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-02T22:46:02.579Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a5907ce68715ace4356ca76

Added to database: 07/16/2026, 16:33:18 UTC

Last enriched: 07/16/2026, 16:48:53 UTC

Last updated: 07/17/2026, 01:05:37 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses