CVE-2026-50012 (GCVE-0-2026-50012)
Vulnerability from cvelistv5 – Published: 2026-07-16 16:11 – Updated: 2026-07-16 16:11
VLAI
EPSS
VEX
Title
Squid: Memory corruption in cache_digest reply handling
Summary
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
5.5 (Medium)
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/squid-cache/squid/security/adv… | x_refsource_CONFIRM |
| https://github.com/squid-cache/squid/pull/2423 | x_refsource_MISC |
| https://github.com/squid-cache/squid/commit/19fcf… | x_refsource_MISC |
| https://github.com/squid-cache/squid/releases/tag… | x_refsource_MISC |
Impacted products
1 product
| Vendor | Product | Version | |
|---|---|---|---|
| squid-cache | squid |
Affected:
< 7.6
|
{
"containers": {
"cna": {
"affected": [
{
"product": "squid",
"vendor": "squid-cache",
"versions": [
{
"status": "affected",
"version": "\u003c 7.6"
}
]
}
],
"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\u0027s 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 5.5,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "NONE",
"integrityImpact": "LOW",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-20",
"description": "CWE-20: Improper Input Validation",
"lang": "en",
"type": "CWE"
}
]
},
{
"descriptions": [
{
"cweId": "CWE-122",
"description": "CWE-122: Heap-based Buffer Overflow",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-07-16T16:11:34.488Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284"
},
{
"name": "https://github.com/squid-cache/squid/pull/2423",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/squid-cache/squid/pull/2423"
},
{
"name": "https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd"
},
{
"name": "https://github.com/squid-cache/squid/releases/tag/SQUID_7_6",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/squid-cache/squid/releases/tag/SQUID_7_6"
}
],
"source": {
"advisory": "GHSA-5vmx-9x64-9284",
"discovery": "UNKNOWN"
},
"title": "Squid: Memory corruption in cache_digest reply handling"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-50012",
"datePublished": "2026-07-16T16:11:34.488Z",
"dateReserved": "2026-06-02T22:46:02.579Z",
"dateUpdated": "2026-07-16T16:11:34.488Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"nvd": "{\"cve\":{\"id\":\"CVE-2026-50012\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-07-16T17:16:57.493\",\"lastModified\":\"2026-07-16T17:36:21.340\",\"vulnStatus\":\"Undergoing Analysis\",\"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\u0027s 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\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"squid-cache\",\"product\":\"squid\",\"versions\":[{\"version\":\"\u003c 7.6\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"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}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-20\"},{\"lang\":\"en\",\"value\":\"CWE-122\"}]}],\"references\":[{\"url\":\"https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/squid-cache/squid/pull/2423\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/squid-cache/squid/releases/tag/SQUID_7_6\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284\",\"source\":\"security-advisories@github.com\"}]}}",
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-07-16T17:06:41+00:00",
"cve": "CVE-2026-50012",
"id": "CVE-2026-50012",
"initial_release_date": "2026-06-23T00:00:00+00:00",
"product_status:known_affected": "22",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "squid: memory corruption in cache_digest reply handling",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50012.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…