In xsltCopyText in transform.c in libxslt 1.1.33, a pointer variable isn't 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.
{
"unresolved_ranges": [
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
"extracted_events": [
{
"last_affected": "12.04"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"extracted_events": [
{
"last_affected": "14.04"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "16.04"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"extracted_events": [
{
"last_affected": "18.04"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "19.04"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "19.10"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "8.0"
}
],
"source": "CPE_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:xmlsoft:libxslt:1.1.33:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"last_affected": "1.1.33"
}
],
"source": "CPE_FIELD"
}"2026-05-13T12:02:23Z"
[
{
"target": {
"file": "libxslt/transform.c"
},
"id": "CVE-2019-18197-15a64d51",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"266245419573562079238130491404901662962",
"57902627410114842905830600954340140091",
"279651622861576520925880697882883872608",
"258310434323730145773797470629119220610"
]
},
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxslt@2232473733b7313d67de8836ea3b29eec6e8e285",
"deprecated": false
},
{
"target": {
"file": "libxslt/transform.c",
"function": "xsltCopyText"
},
"id": "CVE-2019-18197-582b9eb0",
"signature_type": "Function",
"digest": {
"function_hash": "178302094766719713342549592140395825202",
"length": 3308.0
},
"signature_version": "v1",
"source": "https://gitlab.gnome.org/gnome/libxslt@2232473733b7313d67de8836ea3b29eec6e8e285",
"deprecated": false
}
]
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-18197.json"