CVE-2026-50012
JSON

5.5medium

Squid: Memory corruption in cache_digest reply handling

Severity
5.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
1.36% (higher than 72% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

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.

Affected

Product or packageVersionsReported by
squid-cache squid< 7.6, before 7.6CVE List, NVD

All scores

GitHub_M5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H

Classification

CWE-20CWE-122

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50012 changed 2026-07-17CVE Terms of Use
NVDCVE-2026-50012 changed 2026-10-24Public domain