{"id":"CVE-2019-18197","aliases":["CVE-2019-18197","GHSA-242x-7cm6-4w8j"],"related":[],"kind":"vulnerability","state":"published","title":"Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.\n\nNokogiri prior to version 1.10.5 contains a vulnerable version of libxslt. Nokogiri version 1.10.5 upgrades the dependency to libxslt 1.1.34, which contains a patch for this issue.","format":"markdown","source":"ghsa"},{"lang":"es","text":"En la función xsltCopyText en el archivo transform.c en libxslt versión 1.1.33, una variable de puntero no se restablece bajo determinadas circunstancias. Si el área de memoria relevante se liberó y reutilizó de cierta manera, una comprobación de límites podría fallar y podría escribirse la memoria fuera de un búfer o podrían divulgarse datos no inicializados.","source":"nvd"}],"published":"2019-10-18T20:07:17.000Z","modified":"2026-06-17T02:24:27.370Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:H/Au:N/C:P/I:P/A:P","score":5.1,"rating":"MEDIUM"}],"cwes":["CWE-416","CWE-908"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.10.5"}],"ecosystem":"RubyGems","package":"nokogiri","purl":"pkg:gem/nokogiri","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.1.33"}],"vendor":"xmlsoft","product":"libxslt","cpe":"cpe:2.3:a:xmlsoft:libxslt:1.1.33:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.04"},{"status":"affected","version":"14.04"},{"status":"affected","version":"16.04"},{"status":"affected","version":"18.04"},{"status":"affected","version":"19.04"},{"status":"affected","version":"19.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.gnome.org/GNOME/libxslt/commit/2232473733b7313d67de8836ea3b29eec6e8e285","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15914","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15768","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15746","tags":["issue-tracking","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://usn.ubuntu.com/4164-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/10/msg00037.html","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20191031-0004/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2019/11/17/2","tags":["mailing-list","third-party-advisory","web","x-refsource-mlist","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html","tags":["vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html","tags":["vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0514","tags":["vendor-advisory","web","x-refsource-redhat","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html","tags":["vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":["web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20200416-0004/","tags":["x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html","tags":["vendor-advisory","web","x-refsource-suse","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18197","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/sparklemotion/nokogiri/issues/1943","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-18197.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sparklemotion/nokogiri","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sparklemotion/nokogiri/blob/01ab95f3e37429ed8d3b380a8d2f73902eb325d9/CHANGELOG.md?plain=1#L934","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20191031-0004","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20200416-0004","tags":["web"],"sources":["ghsa"]},{"url":"https://usn.ubuntu.com/4164-1","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-05-28T18:27:54.888Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-18197","url":"https://www.cve.org/CVERecord?id=CVE-2019-18197","licence":"CVE Terms of Use","modified":"2026-05-28T18:27:59.540Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-242x-7cm6-4w8j","url":"https://github.com/advisories/GHSA-242x-7cm6-4w8j","licence":"CC-BY-4.0","modified":"2026-06-09T10:22:03.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-18197","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-18197","licence":"Public domain","modified":"2026-06-17T02:24:27.370Z"}],"updatedAt":"2026-11-25T22:57:47.626Z","epss":{"score":0.04072,"percentile":0.90932,"date":"2026-12-01T12:00:22.000Z"}}