Stack-based buffer overflow in Squid - CVE-2025-59362
Published: October 6, 2025
Vulnerability identifier: #VU116638
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-59362
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote user to perform a denial of service (DoS) attack.
The vulnerability exists due to a boundary error when handling ASN.1 encoding of long SNMP OIDs within the asn_build_objid() function in lib/snmplib/asn1.c. A remote user can trigger a stack-based buffer overflow and crash the proxy server.
Affected software
Squid
SUSE Manager Server 4.3
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Proxy 4.3
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
Server Applications Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
squid (Ubuntu package)
squid
squid-debuginfo
squid-debugsource
squid-doc
SUSE Manager Server 4.3
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Proxy 4.3
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Real Time 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager Server
SUSE Enterprise Storage
Server Applications Module
openSUSE Leap
Ubuntu
openEuler
Anolis OS
Fedora
squid (Ubuntu package)
squid
squid-debuginfo
squid-debugsource
squid-doc
How to mitigate CVE-2025-59362
Cybersecurity Help is currently unaware of any official solution to address this vulnerability.
squid (Ubuntu package) - addressed in versions 3.5.12-1ubuntu7.16+esm6, 3.5.27-1ubuntu1.14+esm5, 4.10-1ubuntu1.13+esm2, 5.9-0ubuntu0.22.04.3, 6.13-0ubuntu0.24.04.2, 6.13-1ubuntu1.1
squid - update to 4.9-28
squid-debuginfo - update to 4.9-28
squid-debugsource - update to 4.9-28
squid - addressed in versions 4.17-4.53.1, 4.17-150000.5.55.1, 5.7-150400.3.35.1, 6.10-150600.3.9.1
squid-debuginfo - addressed in versions 4.17-4.53.1, 4.17-150000.5.55.1, 5.7-150400.3.35.1, 6.10-150600.3.9.1
squid-debugsource - addressed in versions 4.17-4.53.1, 4.17-150000.5.55.1, 5.7-150400.3.35.1, 6.10-150600.3.9.1
squid - update to 6.11-4
squid-doc - update to 6.11-4
squid - addressed in versions 6.14-1.fc41, 6.14-1.fc42
squid - update to 4.9-28
squid-debuginfo - update to 4.9-28
squid-debugsource - update to 4.9-28
squid - addressed in versions 4.17-4.53.1, 4.17-150000.5.55.1, 5.7-150400.3.35.1, 6.10-150600.3.9.1
squid-debuginfo - addressed in versions 4.17-4.53.1, 4.17-150000.5.55.1, 5.7-150400.3.35.1, 6.10-150600.3.9.1
squid-debugsource - addressed in versions 4.17-4.53.1, 4.17-150000.5.55.1, 5.7-150400.3.35.1, 6.10-150600.3.9.1
squid - update to 6.11-4
squid-doc - update to 6.11-4
squid - addressed in versions 6.14-1.fc41, 6.14-1.fc42