Every CVE Search/ Get API key

CVE-2017-16932

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

7.5 HighFix available

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

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
None
Integrity
None
Availability
High

Exploit likelihood

6.45%Up 5.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

CVE List 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
CVE-2017-16932
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
EUVDEUVD-2022-5686 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
EUVD-2022-5686
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
GitHub AdvisoriesGHSA-x2fm-93ww-ggvx 7.5

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
GHSA-x2fm-93ww-ggvx
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
NVD 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
CVE-2017-16932
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-835
Updated
2026-11-02
OSVALPINE-CVE-2017-16932 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
ALPINE-CVE-2017-16932
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
CVE-2017-16932
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 9 moreShow less
OSVDEBIAN-CVE-2017-16932 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
DEBIAN-CVE-2017-16932
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-x2fm-93ww-ggvx 7.5

Nokogiri gem, via libxml, is affected by DoS vulnerabilities

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
GHSA-x2fm-93ww-ggvx
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-835
Updated
2026-11-02
OSVUBUNTU-CVE-2017-16932 7.5

parser.c in libxml2 before 2.9.5 does not prevent infinite recursion in parameter entities.

Record
UBUNTU-CVE-2017-16932
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2018-0048 No score

Updated libxml2 & perl-XML-LibXML packages fix security vulnerabilities

Use-after-free error could lead to crash (CVE-2016-4658).

Use-after-free vulnerability in libxml2 through 2.9.4 allows remote attackers to cause a denial of service or possibly have unspecified other impact via vectors related to the XPointer range-to function (CVE-2016-5131).

libxml2 2.9.4 and earlier does not offer a flag directly indicating that the current document may be read but other files may not be opened, which makes it easier for remote attackers to conduct XML External Entity (XXE) attacks via a crafted document (CVE-2016-9318).

Heap buffer overflow in xmlAddID (CVE-2017-0663).

Integer overflow in memory debug code in libxml2 before 2.9.5 (CVE-2017-5130).

NULL pointer deref in xmlDumpElementContent (CVE-2017-5969).

Prevent unwanted external entity reference (CVE-2017-7375).

Increase buffer space for port in HTTP redirect support (CVE-2017-7376).

The function xmlSnprintfElementContent in valid.c was vulnerable to a stack buffer overflow (CVE-2017-9047, CVE-2017-9048).

The function xmlDictComputeFastKey in dict.c was vulnerable to a heap-based buffer over-read (CVE-2017-9049).

The function xmlDictAddString was vulnerable to a heap-based buffer over-read (CVE-2017-9050).

It was discovered that libxml2 incorrecty handled certain files. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service (CVE-2017-15412).

Wei Lei discovered that libxml2 incorrecty handled certain parameter entities. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service (CVE-2017-16932).

The libxml2 package has been updated to version 2.9.7 to fix these issues and several other bugs.

Record
MGASA-2018-0048
Updated
2026-11-02
OSVMGASA-2018-0050 No score

Updated libxml2 packages fix security vulnerability

Integer overflow in memory debug code in libxml2 before 2.9.5 (CVE-2017-5130).

It was discovered that libxml2 incorrecty handled certain files. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service (CVE-2017-15412).

Wei Lei discovered that libxml2 incorrecty handled certain parameter entities. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service (CVE-2017-16932).

The libxml2 package has been updated to version 2.9.7 to fix these issues and several other bugs.

Also, the perl-XML-LibXML package has been updated to version 2.13.200 to allow it to be rebuilt against the updated libxml2.

Record
MGASA-2018-0050
Updated
2026-11-02
OSVSUSE-SU-2018:0395-1 No score

Security update for libxml2

This update for libxml2 fixes several issues.

Theses security issues were fixed:

  • CVE-2017-16932: Fixed infinite recursion could lead to an infinite loop or memory exhaustion when expanding a parameter entity in a DTD (bsc#1069689).
  • CVE-2017-15412: Prevent use after free when calling XPath extension functions that allowed remote attackers to cause DoS or potentially RCE (bsc#1077993)
  • CVE-2016-5131: Use-after-free vulnerability in libxml2 allowed remote attackers to cause a denial of service or possibly have unspecified other impact via vectors related to the XPointer range-to function. (bsc#1078813)
  • CVE-2017-5130: Fixed a potential remote buffer overflow in function xmlMemoryStrdup() (bsc#1078806)
Record
SUSE-SU-2018:0395-1
Updated
2026-11-02
OSVSUSE-SU-2022:1833-1 No score

Security update for libxml2

This update for libxml2 fixes the following issues:

  • CVE-2022-29824: Fixed integer overflow leading to out-of-bounds write in buf.c and tree.c (bsc#1199132).
  • CVE-2017-16932: Prevent infinite recursion in parameter entities (bsc#1069689).
Record
SUSE-SU-2022:1833-1
Updated
2026-11-02
OSVUSN-3504-1 No score

libxml2 vulnerability

Wei Lei discovered that libxml2 incorrecty handled certain parameter entities. An attacker could use this issue with specially constructed XML data to cause libxml2 to consume resources, leading to a denial of service.

Record
USN-3504-1
Updated
2026-11-02
OSVUSN-3739-1 No score

libxml2 vulnerabilities

Matias Brutti discovered that libxml2 incorrectly handled certain XML files. An attacker could possibly use this issue to expose sensitive information. (CVE-2016-9318)

It was discovered that libxml2 incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 18.04 LTS. (CVE-2017-16932)

It was discovered that libxml2 incorrectly handled certain files. An attacker could possibly use this issue to cause a denial of service. (CVE-2017-18258, CVE-2018-14404, CVE-2018-14567)

Record
USN-3739-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
nokogiri
RubyGems
before 1.8.1
1.8.1
clamav
Alpine:v3.10
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.11
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.12
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.13
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.5
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.6
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.7
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.8
before 0.100.1-r0
0.100.1-r0
clamav
Alpine:v3.9
before 0.100.1-r0
0.100.1-r0
Show 46 moreShow less
Affected packages
PackageAffectedFixed
libxml2
Debian:12
before 2.9.10+dfsg-2
2.9.10+dfsg-2
libxml2
Debian:13
before 2.9.10+dfsg-2
2.9.10+dfsg-2
libxml2
Debian:14
before 2.9.10+dfsg-2
2.9.10+dfsg-2
libxml2
Debian:7
before 2.8.0+dfsg1-7+wheezy11, plus listed versions
2.8.0+dfsg1-7+nmu12.8.0+dfsg1-7+nmu22.8.0+dfsg1-7+nmu32.8.0+dfsg1-7+wheezy12.8.0+dfsg1-7+wheezy10
Show 8 moreShow less
2.8.0+dfsg1-7+wheezy22.8.0+dfsg1-7+wheezy32.8.0+dfsg1-7+wheezy42.8.0+dfsg1-7+wheezy52.8.0+dfsg1-7+wheezy62.8.0+dfsg1-7+wheezy72.8.0+dfsg1-7+wheezy82.8.0+dfsg1-7+wheezy9
2.8.0+dfsg1-7+wheezy11
libxml2
Debian:9
before 2.9.4+dfsg1-2.2+deb9u6, plus listed versions
2.9.4+dfsg1-2.22.9.4+dfsg1-2.2+deb9u12.9.4+dfsg1-2.2+deb9u22.9.4+dfsg1-2.2+deb9u32.9.4+dfsg1-2.2+deb9u42.9.4+dfsg1-2.2+deb9u5
2.9.4+dfsg1-2.2+deb9u6
nokogiri
RubyGems
before 1.8.1, 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.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.rc41.5.3.rc51.5.3.rc61.5.41.5.4.rc11.5.4.rc21.5.4.rc3
1.8.1
libxml2
Mageia:5
before 2.9.7-1.mga5
2.9.7-1.mga5
perl-XML-LibXML
Mageia:5
before 2.12.100-1.2.mga5
2.12.100-1.2.mga5
libxml2
Mageia:6
before 2.9.7-1.mga6
2.9.7-1.mga6
libxml2
SUSE:Linux Enterprise Software Development Kit 11 SP4
before 2.7.6-0.77.10.1
2.7.6-0.77.10.1
libxml2
SUSE:Linux Enterprise Server 11 SP4
before 2.7.6-0.77.10.1
2.7.6-0.77.10.1
libxml2-python
SUSE:Linux Enterprise Server 11 SP4
before 2.7.6-0.77.10.1
2.7.6-0.77.10.1
libxml2
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.7.6-0.77.10.1
2.7.6-0.77.10.1
libxml2-python
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 2.7.6-0.77.10.1
2.7.6-0.77.10.1
libxml2
SUSE:HPE Helion OpenStack 8
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:HPE Helion OpenStack 8
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:OpenStack Cloud 8
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:OpenStack Cloud 8
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:OpenStack Cloud 9
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:OpenStack Cloud 9
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:OpenStack Cloud Crowbar 8
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:OpenStack Cloud Crowbar 8
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:OpenStack Cloud Crowbar 9
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:OpenStack Cloud Crowbar 9
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP3
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP4
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server 12 SP2-BCL
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server 12 SP2-BCL
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server 12 SP3-LTSS
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server 12 SP3-BCL
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server 12 SP3-BCL
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server 12 SP4-LTSS
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server 12 SP5
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server 12 SP5
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.9.4-46.54.3
2.9.4-46.54.3
python-libxml2
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 2.9.4-46.54.3
2.9.4-46.54.3
libxml2
Ubuntu:14.04:LTS
before 2.9.1+dfsg1-3ubuntu4.11, plus listed versions
2.9.1+dfsg1-3ubuntu22.9.1+dfsg1-3ubuntu32.9.1+dfsg1-3ubuntu42.9.1+dfsg1-3ubuntu4.12.9.1+dfsg1-3ubuntu4.2
Show 8 moreShow less
2.9.1+dfsg1-3ubuntu4.32.9.1+dfsg1-3ubuntu4.42.9.1+dfsg1-3ubuntu4.52.9.1+dfsg1-3ubuntu4.62.9.1+dfsg1-3ubuntu4.72.9.1+dfsg1-3ubuntu4.82.9.1+dfsg1-3ubuntu4.92.9.1+dfsg1-3ubuntu4.10
2.9.1+dfsg1-3ubuntu4.11
libxml2
Ubuntu:16.04:LTS
before 2.9.3+dfsg1-1ubuntu0.4, plus listed versions
2.9.2+zdfsg1-42.9.2+zdfsg1-4ubuntu12.9.2+zdfsg1-4ubuntu22.9.2+zdfsg1-4ubuntu32.9.3+dfsg1-12.9.3+dfsg1-1ubuntu0.12.9.3+dfsg1-1ubuntu0.22.9.3+dfsg1-1ubuntu0.3
2.9.3+dfsg1-1ubuntu0.4
libxml2
Ubuntu:18.04:LTS
before 2.9.4+dfsg1-6.1ubuntu1.2, plus listed versions
2.9.4+dfsg1-4ubuntu12.9.4+dfsg1-5ubuntu12.9.4+dfsg1-5ubuntu22.9.4+dfsg1-5.1ubuntu12.9.4+dfsg1-5.2ubuntu12.9.4+dfsg1-6.1ubuntu1
2.9.4+dfsg1-6.1ubuntu1.2
libxml2
Ubuntu:14.04:LTS
before 2.9.1+dfsg1-3ubuntu4.13, plus listed versions
2.9.1+dfsg1-3ubuntu22.9.1+dfsg1-3ubuntu32.9.1+dfsg1-3ubuntu42.9.1+dfsg1-3ubuntu4.12.9.1+dfsg1-3ubuntu4.2
Show 10 moreShow less
2.9.1+dfsg1-3ubuntu4.32.9.1+dfsg1-3ubuntu4.42.9.1+dfsg1-3ubuntu4.52.9.1+dfsg1-3ubuntu4.62.9.1+dfsg1-3ubuntu4.72.9.1+dfsg1-3ubuntu4.82.9.1+dfsg1-3ubuntu4.92.9.1+dfsg1-3ubuntu4.102.9.1+dfsg1-3ubuntu4.112.9.1+dfsg1-3ubuntu4.12
2.9.1+dfsg1-3ubuntu4.13
libxml2
Ubuntu:16.04:LTS
before 2.9.3+dfsg1-1ubuntu0.6, plus listed versions
2.9.2+zdfsg1-42.9.2+zdfsg1-4ubuntu12.9.2+zdfsg1-4ubuntu22.9.2+zdfsg1-4ubuntu32.9.3+dfsg1-1
Show 5 moreShow less
2.9.3+dfsg1-1ubuntu0.12.9.3+dfsg1-1ubuntu0.22.9.3+dfsg1-1ubuntu0.32.9.3+dfsg1-1ubuntu0.42.9.3+dfsg1-1ubuntu0.5
2.9.3+dfsg1-1ubuntu0.6

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2017-16932 is a high vulnerability (CVSS 7.5) in Xmlsoft Libxml2, published November 23, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.45%, the 93rd percentile. Fixed in nokogiri 1.8.1.

References

Show 46 moreShow less
This page doesn't list everything

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

MoveEnter Open