Every CVE Search/ Get API key

CVE-2019-13118

libxslt Type Confusion vulnerability that affects Nokogiri

5.3 MediumFix available

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

5.15%Down 2.7 points since Apr 14, 2021
90%50%10%1%

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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
5.0 MediumAV: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 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVMGASA-2019-0313 No 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-1 No 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-1 No 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-1 No 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-1 No 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-1 No 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

Show 13 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
nokogiri
RubyGems
before 1.10.5
1.10.5
libxslt
Alpine:v3.10
before 1.1.33-r3
1.1.33-r3
libxslt
Alpine:v3.11
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.12
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.13
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.14
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.15
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.16
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.17
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.18
before 1.1.34-r0
1.1.34-r0
Show 29 moreShow less
Affected packages
PackageAffectedFixed
libxslt
Alpine:v3.19
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.20
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.21
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.22
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.23
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.24
before 1.1.34-r0
1.1.34-r0
libxslt
Alpine:v3.8
before 1.1.33-r3
1.1.33-r3
libxslt
Alpine:v3.9
before 1.1.33-r3
1.1.33-r3
libxslt
Debian:12
before 1.1.32-2.1
1.1.32-2.1
libxslt
Debian:13
before 1.1.32-2.1
1.1.32-2.1
libxslt
Debian:14
before 1.1.32-2.1
1.1.32-2.1
libxslt
Debian: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
nokogiri
RubyGems
before 1.10.5, plus listed versions
1.0.01.0.11.0.21.0.31.0.4
Show 45 moreShow less
1.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_jll
Julia
before 1.1.34+0
1.1.34+0
libxslt
Mageia:7
From an advisory covering 3 CVEs
before 1.1.33-2.1.mga7
1.1.33-2.1.mga7
libxslt
SUSE:Linux Enterprise Desktop 12 SP4
From an advisory covering 2 CVEs
before 1.1.28-17.6.1
1.1.28-17.6.1
libxslt
SUSE: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
libxslt
SUSE:Linux Enterprise Server 12 SP4
From an advisory covering 2 CVEs
before 1.1.28-17.6.1
1.1.28-17.6.1
libxslt
SUSE: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
libxslt
SUSE: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
libxslt
Ubuntu: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
libxslt
Ubuntu: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
libxslt
Ubuntu: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
libxslt
Ubuntu: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
libxslt
Ubuntu: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
libxslt
Ubuntu: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
libxslt
openSUSE: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-python
openSUSE: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
openSUSE:Tumbleweed
From an advisory covering 8 CVEs
before 1.1.34-3.2
1.1.34-3.2

History

History
RecordedChangedSources
affected, facts
first indexedCVE 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

Show 68 moreShow less
This page doesn't list everything

Left out here: 64 versions. The JSON record has them.

MoveEnter Open