{"schemaVersion":3,"id":"CVE-2026-50012","aliases":["ALPINE-CVE-2026-50012","UBUNTU-CVE-2026-50012","DEBIAN-CVE-2026-50012"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-07-16T16:11:34.488Z","modified":"2026-07-17T14:04:25.895Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","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","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","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","exploitability":3.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","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","exploitability":3.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","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","exploitability":3.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01364,"percentile":0.71385,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01364},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01364,"percentile":0.71385}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02681,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01364,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01364,"percentile":0.71385}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"},{"id":"CWE-122","name":"Heap-based Buffer Overflow","description":"A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/122.html"}],"affected":[{"vendor":"alpine","product":"squid","name":"squid","label":"squid","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/squid","purlType":"apk","versions":[{"text":"< 7.6-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.6-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"squid","name":"squid","label":"squid","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/squid","purlType":"deb","versions":[{"text":"< 5.7-2+deb12u6","noFixRecorded":false,"fixedIn":null},{"text":"< 6.13-2+deb13u2","noFixRecorded":false,"fixedIn":null},{"text":"< 7.6-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.7-2+deb12u6 | < 6.13-2+deb13u2 | < 7.6-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"squid","name":"squid","label":"squid","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/squid","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.9-0ubuntu0.22.04.7","noFixRecorded":false,"fixedIn":null},{"text":"< 6.14-0ubuntu0.24.04.4","noFixRecorded":false,"fixedIn":null},{"text":"< 6.14-0ubuntu0.25.10.4","noFixRecorded":false,"fixedIn":null},{"text":"< 7.2-2ubuntu2.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.9-0ubuntu0.22.04.7 | < 6.14-0ubuntu0.24.04.4 | < 6.14-0ubuntu0.25.10.4 | < 7.2-2ubuntu2.2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"squid3","name":"squid3","label":"squid3","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/squid3","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"squid-cache","product":"squid","name":"squid","label":"squid","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 7.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7.6","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"squid","label":"Squid","category":"server-app"}},"hubHref":"/vendor/squid-cache/squid"}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284","label":"github.com/squid-cache/squid/security/advisories/GHSA-5vmx-9x64-9284","hostname":"github.com","tags":["X Refsource CONFIRM","Vendor Advisory"]},{"url":"https://github.com/squid-cache/squid/pull/2423","label":"github.com/squid-cache/squid/pull/2423","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd","label":"github.com/squid-cache/squid/commit/19fcfe922717c8b255270c032dcde4071c003bcd","hostname":"github.com","tags":["X Refsource MISC","Patch"]},{"url":"https://github.com/squid-cache/squid/releases/tag/SQUID_7_6","label":"github.com/squid-cache/squid/releases/tag/SQUID_7_6","hostname":"github.com","tags":["X Refsource MISC","Release Notes"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-50012","label":"security.alpinelinux.org/vuln/CVE-2026-50012","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-50012","label":"ubuntu.com/security/CVE-2026-50012","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-50012","label":"www.cve.org/CVERecord?id=CVE-2026-50012","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://www.openwall.com/lists/oss-security/2026/06/12/1","label":"www.openwall.com/lists/oss-security/2026/06/12/1","hostname":"www.openwall.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-8435-1","label":"ubuntu.com/security/notices/USN-8435-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-50012","label":"security-tracker.debian.org/tracker/CVE-2026-50012","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50012","label":"nvd.nist.gov/vuln/detail/CVE-2026-50012","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2026-0319","OPENSUSE-SU-2026:11937-1","OPENSUSE-SU-2026:22080-1","SUSE-SU-2026:4621-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11937-1","OPENSUSE-SU-2026:22080-1","SUSE-SU-2026:4621-1","USN-8435-1"]},"timeline":[{"kind":"published","date":"2026-07-16T16:11:34.488Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-17T14:04:25.895Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":22,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T18:37:24.015Z","stale":false,"partial":false}}