# CVE-2019-18197: Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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): 4.07%, higher than 90% of CVEs (2026-12-01)
- Published: 2019-10-18T20:07:17.000Z
- Modified: 2026-06-17T02:24:27.370Z
- Also known as: GHSA-242x-7cm6-4w8j
- Weaknesses: CWE-416, CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- nokogiri (RubyGems): before 1.10.5
- xmlsoft libxslt: 1.1.33
- canonical ubuntu_linux: 12.04; 14.04; 16.04; 18.04; 19.04; 19.10
- debian debian_linux: 8.0

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 5.1 Medium `AV:N/AC:H/Au:N/C:P/I:P/A:P`

## References

- <https://gitlab.gnome.org/GNOME/libxslt/commit/2232473733b7313d67de8836ea3b29eec6e8e285> (patch, third-party-advisory, web)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15914> (issue-tracking, third-party-advisory, web)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15768> (issue-tracking, third-party-advisory, web)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15746> (issue-tracking, third-party-advisory, web)
- <https://usn.ubuntu.com/4164-1/> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2019/10/msg00037.html> (mailing-list, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20191031-0004/> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2019/11/17/2> (mailing-list, third-party-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2020:0514> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html> (vendor-advisory, web)
- <https://www.oracle.com/security-alerts/cpuapr2020.html> (web)
- <https://security.netapp.com/advisory/ntap-20200416-0004/>
- <http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-18197> (advisory)
- <https://github.com/sparklemotion/nokogiri/issues/1943> (web)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2019-18197.yml> (web)
- <https://github.com/sparklemotion/nokogiri> (package)
- <https://github.com/sparklemotion/nokogiri/blob/01ab95f3e37429ed8d3b380a8d2f73902eb325d9/CHANGELOG.md?plain=1#L934> (web)
- <https://security.netapp.com/advisory/ntap-20191031-0004> (web)
- <https://security.netapp.com/advisory/ntap-20200416-0004> (web)
- <https://usn.ubuntu.com/4164-1> (web)

## Sources

- CVE List: [CVE-2019-18197](https://www.cve.org/CVERecord?id=CVE-2019-18197), CVE Terms of Use, modified 2026-05-28
- GitHub Advisory Database: [GHSA-242x-7cm6-4w8j](https://github.com/advisories/GHSA-242x-7cm6-4w8j), CC-BY-4.0, modified 2026-06-09
- NVD: [CVE-2019-18197](https://nvd.nist.gov/vuln/detail/CVE-2019-18197), Public domain, modified 2026-06-17

---

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