CVE-2026-50012
Full vulnerability record from the local CVENow database.
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.
Severity
MEDIUM
CVSS score
5.5
(v3.1)
Vulnerability status
Analyzed
Source identifier
Published
2026-07-16 17:16:57.493000
Last modified
2026-10-24 20:10:00.137000
View original CVE JSON
{
"id": "CVE-2026-50012",
"sourceIdentifier": "[email protected]",
"published": "2026-07-16T17:16:57.493",
"lastModified": "2026-10-24T20:10:00.137",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "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."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "squid-cache",
"product": "squid",
"versions": [
{
"version": "< 7.6",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "HIGH",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.2,
"impactScore": 4.2
},
{
"source": "[email protected]",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "HIGH",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 1.2,
"impactScore": 4.2
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2026-07-17T14:04:19.455063Z",
"id": "CVE-2026-50012",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-20"
},
{
"lang": "en",
"value": "CWE-122"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:squid-cache:squid:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.6",
"matchCriteriaId": "D1EAA421-658A-4C10-A77B-EA9D38A3EFB8"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/squid-cache/squid/pull/2423",
"source": "[email protected]",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/squid-cache/squid/releases/tag/SQUID_7_6",
"source": "[email protected]",
"tags": [
"Release Notes"
]
},
{
"url": "https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284",
"source": "[email protected]",
"tags": [
"Vendor Advisory"
]
}
]
}