p PatchFirst

CVE-2026-50012

CVE-2026-50012 · Squid: Memory corruption in cache_digest reply handling

CVSS 5.5 · Medium · EPSS 2.7% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • squidNo fix published
  • squid Alpine 3.23Update to 7.6-r0
  • squid Alpine 3.24Update to 7.6-r0
  • squid Debian 12Update to 5.7-2+deb12u6
  • and 9 more

Check the installed version:

apk list -I -o squid
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="squid"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • SUSE-SU-2026:4909-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • USN-8941-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • SUSE-SU-2026:4621-1 · SUSE Linux Enterprise Module for Server Applications 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • openSUSE-SU-2026:22080-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:24224-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:11937-1 · openSUSE Tumbleweed ·
  • DLA-4697-1 · Debian 11, Debian 12 ·
  • DSA-6360-1 · Debian 13 ·
  • USN-8435-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, Ubuntu 26.04 LTS ·

Stack: system

Affected products and versions

  • squid

    Versions
    • < 7.6: Affected

    No fix published

  • squid Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 7.6-r0

    Update to 7.6-r0

  • squid Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 7.6-r0

    Update to 7.6-r0

  • squid Debian 12

    Versions
    • 5.7-2
    • 5.7-2+deb12u1
    • 5.7-2+deb12u2
    • 5.7-2+deb12u3
    • 5.7-2+deb12u4
    • 5.7-2+deb12u5
    Affected ranges
    • ECOSYSTEM: < 5.7-2+deb12u6

    Update to 5.7-2+deb12u6

  • squid Debian 13

    Versions
    • 6.13-2
    • 6.13-2+deb13u1
    Affected ranges
    • ECOSYSTEM: < 6.13-2+deb13u2

    Update to 6.13-2+deb13u2

  • squid Debian 14

    Versions
    • 6.13-2
    • 7.1-1
    • 7.2-1
    • 7.2-2
    • 7.4-1
    • 7.5-1
    Affected ranges
    • ECOSYSTEM: < 7.6-1

    Update to 7.6-1

  • squid3 Ubuntu Pro 16.04 LTS

    Versions
    • 3.3.8-1ubuntu16
    • 3.3.8-1ubuntu17
    • 3.5.12-1ubuntu6
    • 3.5.12-1ubuntu7
    • 3.5.12-1ubuntu7.1
    • 3.5.12-1ubuntu7.2
    All versions (26)
    • 3.5.12-1ubuntu7.3
    • 3.5.12-1ubuntu7.4
    • 3.5.12-1ubuntu7.5
    • 3.5.12-1ubuntu7.6
    • 3.5.12-1ubuntu7.7
    • 3.5.12-1ubuntu7.8
    • 3.5.12-1ubuntu7.9
    • 3.5.12-1ubuntu7.10
    • 3.5.12-1ubuntu7.11
    • 3.5.12-1ubuntu7.12
    • 3.5.12-1ubuntu7.13
    • 3.5.12-1ubuntu7.14
    • 3.5.12-1ubuntu7.15
    • 3.5.12-1ubuntu7.16
    • 3.5.12-1ubuntu7.16+esm1
    • 3.5.12-1ubuntu7.16+esm2
    • 3.5.12-1ubuntu7.16+esm3
    • 3.5.12-1ubuntu7.16+esm4
    • 3.5.12-1ubuntu7.16+esm5
    • 3.5.12-1ubuntu7.16+esm6
    Affected ranges
    • ECOSYSTEM: < 3.5.12-1ubuntu7.16+esm7

    Update to 3.5.12-1ubuntu7.16+esm7

  • squid3 Ubuntu Pro 18.04 LTS

    Versions
    • 3.5.23-5ubuntu1
    • 3.5.23-5ubuntu2
    • 3.5.27-1ubuntu1
    • 3.5.27-1ubuntu1.1
    • 3.5.27-1ubuntu1.2
    • 3.5.27-1ubuntu1.3
    All versions (22)
    • 3.5.27-1ubuntu1.4
    • 3.5.27-1ubuntu1.5
    • 3.5.27-1ubuntu1.6
    • 3.5.27-1ubuntu1.7
    • 3.5.27-1ubuntu1.8
    • 3.5.27-1ubuntu1.9
    • 3.5.27-1ubuntu1.10
    • 3.5.27-1ubuntu1.11
    • 3.5.27-1ubuntu1.12
    • 3.5.27-1ubuntu1.13
    • 3.5.27-1ubuntu1.14
    • 3.5.27-1ubuntu1.14+esm1
    • 3.5.27-1ubuntu1.14+esm2
    • 3.5.27-1ubuntu1.14+esm3
    • 3.5.27-1ubuntu1.14+esm4
    • 3.5.27-1ubuntu1.14+esm5
    Affected ranges
    • ECOSYSTEM: < 3.5.27-1ubuntu1.14+esm6

    Update to 3.5.27-1ubuntu1.14+esm6

  • squid Ubuntu Pro 20.04 LTS

    Versions
    • 4.8-1ubuntu2
    • 4.8-1ubuntu3
    • 4.9-2ubuntu1
    • 4.9-2ubuntu2
    • 4.9-2ubuntu3
    • 4.9-2ubuntu4
    All versions (22)
    • 4.10-1ubuntu1
    • 4.10-1ubuntu1.1
    • 4.10-1ubuntu1.2
    • 4.10-1ubuntu1.3
    • 4.10-1ubuntu1.4
    • 4.10-1ubuntu1.5
    • 4.10-1ubuntu1.6
    • 4.10-1ubuntu1.7
    • 4.10-1ubuntu1.8
    • 4.10-1ubuntu1.9
    • 4.10-1ubuntu1.10
    • 4.10-1ubuntu1.11
    • 4.10-1ubuntu1.12
    • 4.10-1ubuntu1.13
    • 4.10-1ubuntu1.13+esm1
    • 4.10-1ubuntu1.13+esm2
    Affected ranges
    • ECOSYSTEM: < 4.10-1ubuntu1.13+esm3

    Update to 4.10-1ubuntu1.13+esm3

  • squid Ubuntu 22.04 LTS

    Versions
    • 4.13-10ubuntu5
    • 5.2-1ubuntu1
    • 5.2-1ubuntu3
    • 5.2-1ubuntu4
    • 5.2-1ubuntu4.1
    • 5.2-1ubuntu4.2
    All versions (16)
    • 5.2-1ubuntu4.3
    • 5.7-0ubuntu0.22.04.1
    • 5.7-0ubuntu0.22.04.2
    • 5.7-0ubuntu0.22.04.3
    • 5.7-0ubuntu0.22.04.4
    • 5.9-0ubuntu0.22.04.1
    • 5.9-0ubuntu0.22.04.2
    • 5.9-0ubuntu0.22.04.3
    • 5.9-0ubuntu0.22.04.4
    • 5.9-0ubuntu0.22.04.5
    Affected ranges
    • ECOSYSTEM: < 5.9-0ubuntu0.22.04.7

    Update to 5.9-0ubuntu0.22.04.7

  • squid Ubuntu 24.04 LTS

    Versions
    • 6.1-2ubuntu1
    • 6.1-2ubuntu2
    • 6.5-1ubuntu1
    • 6.5-1ubuntu2
    • 6.5-1ubuntu3
    • 6.6-1ubuntu4
    All versions (14)
    • 6.6-1ubuntu5
    • 6.6-1ubuntu5.1
    • 6.10-0ubuntu0.24.04.1
    • 6.13-0ubuntu0.24.04.1
    • 6.13-0ubuntu0.24.04.2
    • 6.13-0ubuntu0.24.04.3
    • 6.14-0ubuntu0.24.04.1
    • 6.14-0ubuntu0.24.04.2
    Affected ranges
    • ECOSYSTEM: < 6.14-0ubuntu0.24.04.4

    Update to 6.14-0ubuntu0.24.04.4

  • squid Ubuntu 25.10

    Versions
    • 6.13-1ubuntu1
    • 6.13-1ubuntu2
    • 6.13-1ubuntu3
    • 6.13-1ubuntu4
    • 6.13-1ubuntu4.1
    • 6.14-0ubuntu0.25.10.1
    All versions (7)
    • 6.14-0ubuntu0.25.10.2
    Affected ranges
    • ECOSYSTEM: < 6.14-0ubuntu0.25.10.4

    Update to 6.14-0ubuntu0.25.10.4

  • squid Ubuntu 26.04 LTS

    Versions
    • 6.13-1ubuntu4
    • 6.13-1ubuntu5
    • 7.2-2ubuntu1
    • 7.2-2ubuntu2
    Affected ranges
    • ECOSYSTEM: < 7.2-2ubuntu2.2

    Update to 7.2-2ubuntu2.2

Original sources

Check your server →