Description
Off-by-one error in the snmpHandleUdp function in snmp_core.cc in Squid 2.x and 3.x, when an SNMP port is configured, allows remote attackers to cause a denial of service (crash) or possibly execute arbitrary code via a crafted UDP SNMP request, which triggers a heap-based buffer overflow.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | squid | 4.1-1 | — |
| Debian 13 | squid | 4.1-1 | — |
| Debian 12 | squid | 4.1-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | squid3 | 3.3.8-1ubuntu6.6 | USN-2921-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP4 | squid | 2.7.STABLE5-2.12.24.2 | SUSE-SU-2015:1983-1 |
| SLES 11 SP4 | squid3 | 3.1.23-8.16.30.1 | SUSE-SU-2016:2089-1 |
| SLES 11 SP3 | squid | 2.7.STABLE5-2.12.24.2 | SUSE-SU-2015:1983-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 11 SP4 | squid | 2.7.STABLE5-2.12.24.2 | SUSE-SU-2015:1983-1 |
| SLES for SAP 11 SP4 | squid3 | 3.1.23-8.16.30.1 | SUSE-SU-2016:2089-1 |
| SLES for SAP 11 SP3 | squid | 2.7.STABLE5-2.12.24.2 | SUSE-SU-2015:1983-1 |
Advisories 3
- USN-2921-1 squid3 vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2015:1983-1 Security update for squid SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2016:2089-1 Security update for squid3 SUSE / openSUSE Security Updates · Feb 4, 2026
References
- squid-cve20146270-bo(95873) vdb-entry
- GLSA-201607-01 vendor-advisory
- SUSE-SU-2016:1996 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1139967
- [oss-security] 20140909 CVE-Request: squid snmp off-by-one mailing-list
- SUSE-SU-2016:2089 vendor-advisory
- https://bugzilla.novell.com/show_bug.cgi?id=895773
- [oss-security] 20140909 Re: CVE-Request: squid snmp off-by-one mailing-list
- USN-2921-1 vendor-advisory
- 69686 vdb-entry