{"api_version":"1","generated_at":"2026-07-16T22:39:08+00:00","cve":"CVE-2026-50012","urls":{"html":"https://cve.report/CVE-2026-50012","api":"https://cve.report/api/cve/CVE-2026-50012.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-50012","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-50012"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-07-16 17:16:57","updated_at":"2026-07-16 17:36:21"},"problem_types":["CWE-20","CWE-122","CWE-20 CWE-20: Improper Input Validation","CWE-122 CWE-122: Heap-based Buffer Overflow"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","data":{"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"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","data":{"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"}}],"references":[{"url":"https://github.com/squid-cache/squid/pull/2423","name":"https://github.com/squid-cache/squid/pull/2423","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/squid-cache/squid/releases/tag/SQUID_7_6","name":"https://github.com/squid-cache/squid/releases/tag/SQUID_7_6","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd","name":"https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284","name":"https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50012","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50012","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"squid-cache","product":"squid","version":"affected < 7.6","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"squid","vendor":"squid-cache","versions":[{"status":"affected","version":"< 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'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."}],"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"},"nvd":{"publishedDate":"2026-07-16 17:16:57","lastModifiedDate":"2026-07-16 17:36:21","problem_types":["CWE-20","CWE-122","CWE-20 CWE-20: Improper Input Validation","CWE-122 CWE-122: Heap-based Buffer Overflow"],"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}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"50012","Ordinal":"1","Title":"Squid: Memory corruption in cache_digest reply handling","CVE":"CVE-2026-50012","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"50012","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Squid: Memory corruption in cache_digest reply handling"}]}}}