CVE-2019-18197
HIGH 7.5CVSS 3.1Nokogiri affected by libxslt Use of Uninitialized Resource/Use After Free vulnerability
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.
- Published
- 18 Oct 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-416CWE-908
- Also known as
- GHSA-242x-7cm6-4w8j
- Sources
- NVDJSONOSV GHSA-242x-7cm6-4w8jJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.1 | AV:N/AC:H/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xmlsoft | libxsltcpe:2.3:a:xmlsoft:libxslt:1.1.33:*:*:*:*:*:*:* |
= 1.1.33 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:* |
= 12.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:* |
= 19.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:19.10:*:*:*:*:*:*:* |
= 19.10 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| OSV | RubyGems | nokogiri | < 1.10.5 | 1.10.5 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00010.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00015.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00025.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html · WEB
- http://www.openwall.com/lists/oss-security/2019/11/17/2 · Mailing List, Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2020:0514 · WEB
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15746 · 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=15914 · Issue Tracking, Third Party Advisory, WEB
- https://gitlab.gnome.org/GNOME/libxslt/commit/2232473733b7313d67de8836ea3b29eec6e8e285 · Patch, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2019/10/msg00037.html · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20191031-0004/ · Third Party Advisory, WEB
- https://security.netapp.com/advisory/ntap-20200416-0004/ · WEB
- https://usn.ubuntu.com/4164-1/ · Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpuapr2020.html · 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
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 18 Oct 2019)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 May 2022)