CVE-2019-12519: An issue was discovered in Squid through 4.7.
CVE-2019-12519 affects 116 listed versions of Squid in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Squid
116 of 214 listed versions are affected. No fixed release is named. The newest release, 7.8, is not affected.
5.0.1 4.10 4.9 4.8 4.7 4.6 4.5 4.4 4.3 4.2 4.1 4.0.23 4.0.22 4.0.17 4.0.16 4.0.15 4.0.14 4.0.13 4.0.12 4.0.11 4.0.10 4.0.9 4.0.8 4.0.7 4.0.6 4.0.5 3.5.28 3.5.27 3.5.26 3.5.25 3.5.24 3.5.23 3.5.22 3.5.21 3.5.20 3.5.19 3.5.18 3.5.17 3.5.16 3.5.15 3.5.14 3.4.14 3.4.13 3.4.12 3.4.11 3.4.10 3.4.9 3.4.8 3.4.7 3.4.6 3.4.5 3.4.4.2 3.4.4.1 3.4.4 3.4.3 3.4.2 3.3.14 3.3.13 3.3.12 3.3.11 and 56 more
What it is
An issue was discovered in Squid through 4.7. When handling the tag esi:when when ESI is enabled, Squid calls ESIExpression::Evaluate. This function uses a fixed stack buffer to hold the expression while it's being evaluated. When processing the expression, it could either evaluate the top of the stack, or add a new member to the stack. When adding a new member, there is no check to ensure that the stack won't overflow.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)
Published by MITRE on 15 April 2020. Last changed 17 June 2026.
Sources
Check one version you run: look CVE-2019-12519 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.