CVE-2026-50012
Squid: Memory corruption in cache_digest reply handling
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.
INFO
Published Date :
July 16, 2026, 5:16 p.m.
Last Modified :
Oct. 24, 2026, 8:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Squid to version 7.6 or later.
- Apply vendor patches if available.
- Recompile Squid without --enable-cache-digests if updating is not possible.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-50012.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-50012 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-50012
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-50012 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-50012 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 24, 2026
Action Type Old Value New Value Added Translation Title: squid de squid-cache, Description: Squid es un proxy de almacenamiento en caché para la Web. Antes de la versión 7.6, debido a un error de validación de entrada inadecuada en el manejo de respuestas de resúmenes de caché (peerDigestSwapInMask en src/peer_digest.cc), Squid es vulnerable a un desbordamiento de búfer basado en montículo: el tamaño en tránsito de un resumen de caché puede ser mayor que el mask_size declarado dentro del resumen, por lo que un par de confianza que envíe una respuesta maliciosamente elaborada a un mensaje de solicitud de cache_digest puede desencadenar el desbordamiento. Este ataque se limita a las instancias de Squid compiladas con la opción --enable-cache-digests y configuradas con entradas cache_peer. Este problema está solucionado en la versión 7.6. -
Initial Analysis by [email protected]
Jul. 20, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H Added CPE Configuration OR *cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:* versions up to (excluding) 7.6 Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd Types: Patch Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/pull/2423 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/releases/tag/SQUID_7_6 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284 Types: Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-50012', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-07-17T14:04:19.455063Z'} -
New CVE Received by [email protected]
Jul. 16, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'squid-cache', 'product': 'squid', 'versions': [{'status': 'affected', 'version': '< 7.6'}]}] Added 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. Added CVSS V3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H Added CWE CWE-20 Added CWE CWE-122 Added Reference https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd Added Reference https://github.com/squid-cache/squid/pull/2423 Added Reference https://github.com/squid-cache/squid/releases/tag/SQUID_7_6 Added Reference https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284