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…
EPSS 1.4%top 31%

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 squid prior to version 7.6 due to improper input validation in cache digest reply handling. This flaw occurs when a trusted peer sends a maliciously crafted cache digest reply that has an on-the-wire size larger than the declared mask_size, leading to overflow. The vulnerability only affects Squid instances compiled with the --enable-cache-digests option and configured with cache_peer entries. The 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/23/2026, 22:45:27 UTC

Technical Analysis

CVE-2026-50012 is a medium severity vulnerability in squid-cache squid caused by improper input validation (CWE-20) leading to a heap-based buffer overflow (CWE-122) in the cache digest reply handling function peerDigestSwapInMask. Specifically, the on-the-wire size of a cache digest may exceed the mask_size declared within the digest, allowing a trusted peer to trigger a heap overflow by sending a maliciously crafted reply to a cache_digest request. This vulnerability affects versions prior to 7.6 and requires the software to be compiled with --enable-cache-digests and configured with cache_peer entries. The vulnerability has no known exploits in the wild and is fixed in version 7.6.

Potential Impact

Successful exploitation can cause a heap-based buffer overflow, potentially leading to denial of service or other impacts on availability. The vulnerability does not impact confidentiality but can affect integrity and availability. Exploitation requires a trusted peer with the ability to send crafted cache digest replies, limiting the attack surface.

Mitigation Recommendations

Upgrade squid-cache squid to version 7.6 or later where this vulnerability is fixed. If upgrading is not immediately possible, restrict or monitor trusted peers configured with cache_peer entries and avoid compiling with the --enable-cache-digests option if not needed. Patch status is not explicitly confirmed in the vendor advisory, but the issue is fixed in version 7.6 as stated.

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/23/2026, 22:45:27 UTC

Last updated: 08/30/2026, 03:43:54 UTC

Views: 68

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