CVE-2019-13118
libxslt Type Confusion vulnerability that affects Nokogiri
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-843
- Updated
- 2026-11-02
CVE List 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-843
- Updated
- 2026-11-02
EUVDEUVD-2022-3566 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
EUVD-2022-3566- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-cf46-6xxh-pc75 7.5
libxslt Type Confusion vulnerability that affects Nokogiri
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
Nokogiri prior to version 1.10.5 used a vulnerable version of libxslt. Nokogiri 1.10.5 updated libxslt to version 1.1.34 to address this and other vulnerabilities in libxslt.
- Record
GHSA-cf46-6xxh-pc75- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-843
- Updated
- 2026-11-02
OSVALPINE-CVE-2019-13118 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
ALPINE-CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVBELL-CVE-2019-13118 5.3
CVE-2019-13118 does not affect BellSoft software
- Record
BELL-CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
Show 11 moreShow less
OSV 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2019-13118 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
DEBIAN-CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-cf46-6xxh-pc75 7.5
libxslt Type Confusion vulnerability that affects Nokogiri
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
Nokogiri prior to version 1.10.5 used a vulnerable version of libxslt. Nokogiri 1.10.5 updated libxslt to version 1.1.34 to address this and other vulnerabilities in libxslt.
- Record
GHSA-cf46-6xxh-pc75- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-843
- Updated
- 2026-11-02
OSVJLSEC-2026-579 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
JLSEC-2026-579- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2019-13118 5.3
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data.
- Record
UBUNTU-CVE-2019-13118- CVSS 3.1
- 5.3 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSVMGASA-2019-0313No score
Updated libxslt packages fix security vulnerabilities
Updated libxslt package fixes security vulnerabilities:
In numbers.c in libxslt 1.1.33, an xsl:number with certain format strings could lead to a uninitialized read in xsltNumberFormatInsertNumbers. This could allow an attacker to discern whether a byte on the stack contains the characters A, a, I, i, or 0, or any other character (CVE-2019-13117).
In numbers.c in libxslt 1.1.33, a type holding grouping characters of an xsl:number instruction was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, leading to a read of uninitialized stack data (CVE-2019-13118).
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 (CVE-2019-18197).
- Record
MGASA-2019-0313- Updated
- 2026-11-02
OSVopenSUSE-SU-2020:0731-1No score
Security update for libxslt
This update for libxslt fixes the following issues:
Security issues fixed:
- CVE-2019-13118: Fixed a read of uninitialized stack data (bsc#1140101).
- CVE-2019-13117: Fixed a uninitialized read which allowed to discern whether a byte on the stack contains certain special characters (bsc#1140095).
- CVE-2019-18197: Fixed a dangling pointer in xsltCopyText which may have led to information disclosure (bsc#1154609).
This update was imported from the SUSE:SLE-15:Update update project.
- Record
openSUSE-SU-2020:0731-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11017-1No score
libxslt-devel-1.1.34-3.2 on GA media
These are all security issues fixed in the libxslt-devel-1.1.34-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11017-1- Updated
- 2026-11-02
OSVSUSE-SU-2019:1867-1No score
Security update for libxslt
This update for libxslt fixes the following issues:
Security issues fixed:
- CVE-2019-13118: Fixed a read of uninitialized stack data (bsc#1140101).
- CVE-2019-13117: Fixed a uninitialized read which allowed to discern whether a byte on the stack contains certain special characters (bsc#1140095).
- Record
SUSE-SU-2019:1867-1- Updated
- 2026-11-02
OSVSUSE-SU-2020:1409-1No score
Security update for libxslt
This update for libxslt fixes the following issues:
Security issues fixed:
- CVE-2019-13118: Fixed a read of uninitialized stack data (bsc#1140101).
- CVE-2019-13117: Fixed a uninitialized read which allowed to discern whether a byte on the stack contains certain special characters (bsc#1140095).
- CVE-2019-18197: Fixed a dangling pointer in xsltCopyText which may have led to information disclosure (bsc#1154609).
- Record
SUSE-SU-2020:1409-1- Updated
- 2026-11-02
OSVUSN-4164-1No score
libxslt vulnerabilities
It was discovered that Libxslt incorrectly handled certain documents. An attacker could possibly use this issue to access sensitive information. This issue not affected Ubuntu 19.10. (CVE-2019-13117, CVE-2019-13118)
It was discovered that Libxslt incorrectly handled certain documents. An attacker could possibly use this issue to execute arbitrary code. (CVE-2019-18197)
- Record
USN-4164-1- Updated
- 2026-11-02
Affected products
- xmlsoft libxslt
- apple icloud
- apple iphone os
- apple itunes
- apple mac os x
- apple macos
- apple tvos
- canonical ubuntu linux
- fedoraproject fedora
- netapp active iq unified manager
- netapp cloud backup
- netapp clustered data ontap
Show 13 moreShow less
- netapp e-series performance analyzer
- netapp e-series santricity management plug-ins
- netapp e-series santricity os controller
- netapp e-series santricity storage manager
- netapp e-series santricity web services
- netapp oncommand insight
- netapp oncommand workflow automation
- netapp ontap select deploy administration utility
- netapp plug-in for symantec netbackup
- netapp santricity unified manager
- netapp steelstore cloud integrated storage
- opensuse leap
- oracle jdk
Affected packages
| Package | Affected | Fixed |
|---|---|---|
nokogiriRubyGems | before 1.10.5 | 1.10.5 |
libxsltAlpine:v3.10 | before 1.1.33-r3 | 1.1.33-r3 |
libxsltAlpine:v3.11 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.12 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.13 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.14 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.15 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.16 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.17 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.18 | before 1.1.34-r0 | 1.1.34-r0 |
Show 29 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libxsltAlpine:v3.19 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.20 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.21 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.22 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.23 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.24 | before 1.1.34-r0 | 1.1.34-r0 |
libxsltAlpine:v3.8 | before 1.1.33-r3 | 1.1.33-r3 |
libxsltAlpine:v3.9 | before 1.1.33-r3 | 1.1.33-r3 |
libxsltDebian:12 | before 1.1.32-2.1 | 1.1.32-2.1 |
libxsltDebian:13 | before 1.1.32-2.1 | 1.1.32-2.1 |
libxsltDebian:14 | before 1.1.32-2.1 | 1.1.32-2.1 |
libxsltDebian:8 From an advisory covering 4 CVEs | before 1.1.28-2+deb8u5, plus listed versions 1.1.28-21.1.28-2+deb8u11.1.28-2+deb8u21.1.28-2+deb8u31.1.28-2+deb8u4 | 1.1.28-2+deb8u5 |
nokogiriRubyGems | before 1.10.5, plus listed versions 1.0.01.0.11.0.21.0.31.0.4 Show 45 moreShow less1.0.51.0.61.0.71.1.01.1.11.10.01.10.0.rc11.10.11.10.21.10.31.10.41.2.01.2.11.2.21.2.31.3.01.3.11.3.21.3.31.4.01.4.11.4.21.4.2.11.4.31.4.3.11.4.41.4.4.11.4.4.21.4.51.4.61.4.71.5.01.5.0.beta.11.5.0.beta.21.5.0.beta.31.5.0.beta.41.5.11.5.1.rc11.5.101.5.111.5.21.5.31.5.3.rc21.5.3.rc31.5.3.rc4 | 1.10.5 |
XSLT_jllJulia | before 1.1.34+0 | 1.1.34+0 |
libxsltMageia:7 From an advisory covering 3 CVEs | before 1.1.33-2.1.mga7 | 1.1.33-2.1.mga7 |
libxsltSUSE:Linux Enterprise Desktop 12 SP4 From an advisory covering 2 CVEs | before 1.1.28-17.6.1 | 1.1.28-17.6.1 |
libxsltSUSE:Linux Enterprise Software Development Kit 12 SP4 From an advisory covering 2 CVEs | before 1.1.28-17.6.1 | 1.1.28-17.6.1 |
libxsltSUSE:Linux Enterprise Server 12 SP4 From an advisory covering 2 CVEs | before 1.1.28-17.6.1 | 1.1.28-17.6.1 |
libxsltSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 2 CVEs | before 1.1.28-17.6.1 | 1.1.28-17.6.1 |
libxsltSUSE:Linux Enterprise Module for Basesystem 15 SP1 From an advisory covering 3 CVEs | before 1.1.32-3.8.24 | 1.1.32-3.8.24 |
libxsltUbuntu:Pro:14.04:LTS | before 1.1.28-2ubuntu0.2+esm1, plus listed versions 1.1.28-21.1.28-2build11.1.28-2ubuntu0.11.1.28-2ubuntu0.2 | 1.1.28-2ubuntu0.2+esm1 |
libxsltUbuntu:16.04:LTS | before 1.1.28-2.1ubuntu0.3, plus listed versions 1.1.28-2build21.1.28-2.11.1.28-2.1ubuntu0.11.1.28-2.1ubuntu0.2 | 1.1.28-2.1ubuntu0.3 |
libxsltUbuntu:18.04:LTS | before 1.1.29-5ubuntu0.2, plus listed versions 1.1.29-2.1ubuntu11.1.29-41.1.29-51.1.29-5ubuntu0.1 | 1.1.29-5ubuntu0.2 |
libxsltUbuntu:Pro:14.04:LTS From an advisory covering 3 CVEs | before 1.1.28-2ubuntu0.2+esm1, plus listed versions 1.1.28-21.1.28-2build11.1.28-2ubuntu0.11.1.28-2ubuntu0.2 | 1.1.28-2ubuntu0.2+esm1 |
libxsltUbuntu:16.04:LTS From an advisory covering 3 CVEs | before 1.1.28-2.1ubuntu0.3, plus listed versions 1.1.28-2build21.1.28-2.11.1.28-2.1ubuntu0.11.1.28-2.1ubuntu0.2 | 1.1.28-2.1ubuntu0.3 |
libxsltUbuntu:18.04:LTS From an advisory covering 3 CVEs | before 1.1.29-5ubuntu0.2, plus listed versions 1.1.29-2.1ubuntu11.1.29-41.1.29-51.1.29-5ubuntu0.1 | 1.1.29-5ubuntu0.2 |
libxsltopenSUSE:Leap 15.1 From an advisory covering 3 CVEs | before 1.1.32-lp151.3.6.1 | 1.1.32-lp151.3.6.1 |
libxslt-pythonopenSUSE:Leap 15.1 From an advisory covering 3 CVEs | before 1.1.32-lp151.3.6.1 | 1.1.32-lp151.3.6.1 |
libxsltopenSUSE:Tumbleweed From an advisory covering 8 CVEs | before 1.1.34-3.2 | 1.1.34-3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2019-13118 is a medium vulnerability (CVSS 5.3) in Xmlsoft Libxslt, published July 1, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 5.15%, the 92nd percentile. Fixed in nokogiri 1.10.5.
References
gitlab.gnome.org/GNOME/libxslt/commit/6ce8de69330783977dd14f6569419489875fb71b
oss-fuzz.com/testcase-detail/5197371471822848
bugs.chromium.org/p/oss-fuzz/issues/detail?id=15069
support.apple.com/kb/HT210348
support.apple.com/kb/HT210353
support.apple.com/kb/HT210351
Show 68 moreShow less
lists.debian.org/debian-lts-announce/2019/07/msg00020.html
support.apple.com/kb/HT210346
seclists.org/bugtraq/2019/Jul/35
seclists.org/bugtraq/2019/Jul/37
seclists.org/bugtraq/2019/Jul/36
seclists.org/fulldisclosure/2019/Jul/24
seclists.org/fulldisclosure/2019/Jul/23
seclists.org/fulldisclosure/2019/Jul/22
seclists.org/fulldisclosure/2019/Jul/26
support.apple.com/kb/HT210356
support.apple.com/kb/HT210357
support.apple.com/kb/HT210358
seclists.org/bugtraq/2019/Jul/42
seclists.org/bugtraq/2019/Jul/40
seclists.org/bugtraq/2019/Jul/41
seclists.org/fulldisclosure/2019/Jul/31
seclists.org/fulldisclosure/2019/Jul/37
seclists.org/fulldisclosure/2019/Jul/38
security.netapp.com/advisory/ntap-20190806-0004
seclists.org/bugtraq/2019/Aug/25
seclists.org/bugtraq/2019/Aug/22
seclists.org/bugtraq/2019/Aug/23
seclists.org/bugtraq/2019/Aug/21
seclists.org/fulldisclosure/2019/Aug/14
seclists.org/fulldisclosure/2019/Aug/11
seclists.org/fulldisclosure/2019/Aug/13
seclists.org/fulldisclosure/2019/Aug/15
usn.ubuntu.com/4164-1
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ
openwall.com/lists/oss-security/2019/11/17/2
oracle.com/security-alerts/cpujan2020.html
security.netapp.com/advisory/ntap-20200122-0003
lists.opensuse.org/opensuse-security-announce/2020-05/msg00062.html
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4%40%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b%40%3Cissues.bookkeeper.apache.org%3E
nvd.nist.gov/vuln/detail/CVE-2019-13118
lists.apache.org/thread.html/r58af02e294bd07f487e2c64ffc0a29b837db5600e33b6e698b9d696b@%3Cissues.bookkeeper.apache.org%3E
lists.apache.org/thread.html/rf4c02775860db415b4955778a131c2795223f61cb8c6a450893651e4@%3Cissues.bookkeeper.apache.org%3E
github.com/sparklemotion/nokogiri/issues/1943
github.com/sparklemotion/nokogiri/commit/43a175339b47b8c604508813fc75b83f13cd173e
github.com/sparklemotion/nokogiri/blob/f7aa3b0b29d6fe5fafe93dacd9b96b6b3d16b7ec/CHANGELOG.md?plain=1
github.com/sparklemotion/nokogiri/releases/tag/v1.10.5
lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IOYJKXPQCUNBMMQJWYXOR6QRUJZHEDRZ
github.com/advisories/GHSA-cf46-6xxh-pc75
security.alpinelinux.org/vuln/CVE-2019-13118
docs.bell-sw.com/security/cves/CVE-2019-13118
security-tracker.debian.org/tracker/CVE-2019-13118
advisories.mageia.org/MGASA-2019-0313.html
bugs.mageia.org/show_bug.cgi?id=25643
suse.com/support/update/announcement/2019/suse-su-20191867-1
bugzilla.suse.com/1140095
bugzilla.suse.com/1140101
suse.com/security/cve/CVE-2019-13117
suse.com/security/cve/CVE-2019-13118
suse.com/support/update/announcement/2020/suse-su-20201409-1
bugzilla.suse.com/1154609
suse.com/security/cve/CVE-2019-18197
ubuntu.com/security/CVE-2019-13118
ubuntu.com/security/notices/USN-4164-1
cve.org/CVERecord?id=CVE-2019-13118
ubuntu.com/security/CVE-2019-13117
ubuntu.com/security/CVE-2019-18197
lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/VPMGA7XXHF73HETFZFL65FVIKUTCEITB
suse.com/security/cve/CVE-2008-1767
suse.com/security/cve/CVE-2015-9019
suse.com/security/cve/CVE-2016-4738
suse.com/security/cve/CVE-2017-5029
suse.com/security/cve/CVE-2019-11068
Left out here: 64 versions. The JSON record has them.