VDB

ALPINE-CVE-2019-12521

ALPINE-CVE-2019-12521 PUBLISHED CVSS 5.900000095367432 MEDIUM

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.

Risk Scores

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

Affected Products

VendorProductVersions
Alpine:v3.11squid2.7.6-r10, 3.0, 3.2.0.12-r3
Alpine:v3.10squid3.0, 2.7.6-r1, 2.7.6-r10
Alpine:v3.9squid3.0, 3.2.0.12-r3, 3.2.0.12-r1

Timeline

  • Apr 15, 2020 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch
Open in Interactive Console →
$ Console Community · 50/day Open console ›