# CVE-2019-12519: An issue was discovered in Squid through 4.7.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 5.82%, higher than 93% of CVEs (2026-12-01)
- Published: 2020-04-15T19:20:41.000Z
- Modified: 2026-06-17T02:14:48.430Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- squid-cache squid: from 3.0 up to 3.5.28; from 4.0 up to 4.10; from 5.0 up to 5.0.1
- debian debian_linux: 9.0; 10.0
- canonical ubuntu_linux: 16.04; 18.04; 19.10; 20.04
- opensuse leap: 15.1

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://gitlab.com/jeriko.one/security/-/blob/master/squid/CVEs/CVE-2019-12519.txt> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2020/04/23/1> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2020/dsa-4682> (third-party-advisory, vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00018.html> (mailing-list, third-party-advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202005-05> (third-party-advisory, vendor-advisory)
- <https://usn.ubuntu.com/4356-1/> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2020/07/msg00009.html> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210205-0006/> (third-party-advisory)

## Sources

- CVE List: [CVE-2019-12519](https://www.cve.org/CVERecord?id=CVE-2019-12519), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2019-12519](https://nvd.nist.gov/vuln/detail/CVE-2019-12519), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-12519 · Whole record: https://cve.day/CVE-2019-12519.json · Rebuilt by cve.day 2026-11-25T22:57:49.744Z
