CVE-2024-37894 Squid vulnerable to heap corruption in ESI assign
An out-of-bounds write in Squid's ESI variable assignment allows attackers to cause a denial of service via memory corruption.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-37894?
CVE-2024-37894 is a medium-severity memory corruption vulnerability in Squid-Cache Squid, published on 25 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. Due to an Out-of-bounds Write error when assigning ESI variables, Squid is susceptible to a Memory Corruption error. This error can lead to a Denial of Service attack.
Weakness: CWE-787
Which versions are affected by CVE-2024-37894?
It affects 1 product.
Linux distribution packages (10)
squid Red Hat:rhel_eus:9.2::appstream | All versions | 7:5.5-5.el9_2.7 |
squid-debuginfo Red Hat:rhel_eus:9.2::appstream | All versions | 7:5.5-5.el9_2.7 |
squid-debugsource Red Hat:rhel_eus:9.2::appstream | All versions | 7:5.5-5.el9_2.7 |
squid SUSE:Linux Enterprise Module for Server Applications 15 SP5 | All versions | 5.7-150400.3.32.1 |
squid SUSE:Linux Enterprise Module for Server Applications 15 SP6 | All versions | 6.10-150600.3.6.1 |
squid SUSE:Linux Enterprise Server 12 SP5 | All versions | 4.17-4.50.1 |
squid SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 4.17-4.50.1 |
squid openSUSE:Leap 15.5 | All versions | 5.7-150400.3.32.1 |
squid openSUSE:Leap 15.6 | All versions | 6.10-150600.3.6.1 |
squid openSUSE:Tumbleweed | All versions | 6.10-1.1 |
Products include Squid-Cache Squid.
How do I fix CVE-2024-37894?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2024-37894 being exploited?
There is no known exploitation of CVE-2024-37894 in the wild and no public exploit code.
Other vulnerabilities in Squid-Cache Squid
- CVE-2025-62168 Squid vulnerable to information disclosure via authentication credential leakage in error handling
- CVE-2025-54574 Squid's URN Handling can lead to Buffer Overflow
- CVE-2026-33526 Squid vulnerable to Denial of Service in ICP Request handling
- CVE-2026-32748 Squid has Denial of Service in ICP Response handling
- CVE-2023-50269 SQUID-2023:10 Denial of Service in HTTP Request parsing
Sources
Also known as AZL-42871, CLSA-2024-1725012247, CLSA-2024-1725012269, DEBIAN-CVE-2024-37894, DSA-5751-1, GHSA-wgvf-q977-9xjg and 11 more.