Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2019-12521
squid-cache squid

Score5.9 Medium
CVSS 3.1
Exploit probability (EPSS)5.9%
within the next 30 days
CategoryMemory corruption
Published15 April 2020
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: crashing the system or making it unavailable.

Special conditions are required for a successful attack, which makes exploitation harder.

Weakness type: Out-of-bounds write.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

An issue was discovered in Squid through 4.7. When Squid is parsing ESI, it keeps the ESI elements in ESIContext. ESIContext contains a buffer for holding a stack of ESIElements. When a new ESIElement is parsed, it is added via addStackElement. addStackElement has a check for the number of elements in this buffer, but it's off by 1, leading to a Heap Overflow of 1 element. The overflow is within the same structure so it can't affect adjacent memory blocks, and thus just leads to a crash while processing.

CVSS: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Weakness: CWE-193, CWE-787 – Out-of-bounds write

Affected products

VendorProductVersions
squid-cachesquid>=3.0 <=3.5.28
squid-cachesquid>=4.0 <=4.7
squid-cachesquid>=5.0 <=5.0.1
canonicalubuntu linux16.04
canonicalubuntu linux18.04
canonicalubuntu linux19.10
canonicalubuntu linux20.04
debiandebian linux9.0
debiandebian linux10.0
opensuseleap15.1

Sources

Latest in the same category

  • CVE-2026-130472 Medium 6.1
    An out-of-bounds read vulnerability exists in the Foxit PDF Editor/Reader’s handling of malformed images with soft masks. Insufficient validation of image-decoding data may result in an out-of-bounds read and…
    Memory corruption · 1 December 2026
  • CVE-2026-140050 Medium 5.5
    A vulnerability has been found in NASA Trick up to 25.1.1. Affected by this vulnerability is the function Trick::MonteCarlo::handle_initialization of the file…
    Memory corruption · 1 December 2026
  • CVE-2026-140042 High 8.6
    A vulnerability has been found in WAVLINK WL-WN530BE1-A M30BE1_V251117. This affects the function FUN_0001f94c of the file /protocol.csp of the component ioos. The manipulation of the argument device_name leads to…
    Memory corruption · 1 December 2026
  • CVE-2026-119003 Medium 5.1
    OOB read vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
    Memory corruption · 1 December 2026
  • CVE-2026-119002 High 8.4
    OOB read vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect service confidentiality.
    Memory corruption · 1 December 2026
  • CVE-2026-119001 High 8.4
    OOB write vulnerability in the image processing module. Impact: Successful exploitation of this vulnerability may affect availability.
    Memory corruption · 1 December 2026