CVE-2019-12526
squid: Heap overflow issue in URN processing
Severity
ModerateRed Hat Product Security
CVSS 3.0
Review impact separately from score.
Published · November 5, 2019
Updated · November 22, 2025
Description
A heap-based buffer overflow was found in the way squid processed certain Uniform Resource Names (URNs). A remote attacker could use this flaw to cause Squid to crash or execute arbitrary code with the permissions of the user running Squid.
Statement
This is a heap-based buffer overflow, which can be triggered by a malicious client. The client can overwrite substantial amount of heap potentially causing squid to crash or even execute arbitrary code with the permissions of the user running squid (normally squid user which is non-privileged). Also on Red Hat Products, squid is confined with selinux which should reduce the possibilities of code execution.
Because of the above mentioned difficulties in exploitation, Red Hat Product Security has classified this flaw as having Moderate impact.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
The following mitigation is suggested by upstream:
Deny urn: protocol URI being proxied to all clients:
acl URN proto URN
http_access deny URN
CVSS / CWE
CVSS 3.0 · 8.1CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer