CVE Vulnerabilities

CVE-2019-18197

Use After Free

Published: Oct 18, 2019 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.x
5.1 MEDIUM
AV:N/AC:H/Au:N/C:P/I:P/A:P
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isnt reset under certain circumstances. If the relevant memory area happened to be freed and reused in a certain way, a bounds check could fail and memory outside a buffer could be written to, or uninitialized data could be disclosed.

Weakness

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory “belongs” to the code that operates on the new pointer.

Affected Software

NameVendorStart VersionEnd Version
LibxsltXmlsoft1.1.33 (including)1.1.33 (including)
Red Hat Enterprise Linux 6 SupplementaryRedHatchromium-browser-0:80.0.3987.87-1.el6_10*
Red Hat Enterprise Linux 7RedHatlibxslt-0:1.1.28-6.el7*
Red Hat Enterprise Linux 8RedHatlibxslt-0:1.1.32-5.el8*
Red Hat Enterprise Linux 8RedHatlibxslt-0:1.1.32-5.el8*
LibxsltUbuntubionic*
LibxsltUbuntudisco*
LibxsltUbuntueoan*
LibxsltUbuntuesm-infra-legacy/trusty*
LibxsltUbuntuesm-infra/bionic*
LibxsltUbuntuesm-infra/xenial*
LibxsltUbuntutrusty*
LibxsltUbuntutrusty/esm*
LibxsltUbuntuxenial*

Potential Mitigations

References