The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause…
Priority LOW 34CWE-770Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 11 fixed, 2 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-770.
Summary
The xz_head function in xzlib.c in libxml2 before 2.9.6 allows remote attackers to cause a denial of service (memory consumption) via a crafted LZMA file, because the decoder functionality does not restrict memory usage to what is required for a legitimate file.
Why it matters now
EPSS 0.02729 86th percentileScored 2026-11-07
Fix Partial nokogiri (RubyGems): 1.8.2Red Hat: 2 advisoriesRed Hat: 11 fixed, 2 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | nokogiri (RubyGems) | before 1.8.2 | 1.8.2 | Patch available | GHSA-882p-jqgm-f45g |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- nokogiri (RubyGems) Vendor— Affected before 1.8.2 Fixed in 1.8.2 Patch available GHSA-882p-jqgm-f45g
Remediation
- Fix · GHSA-882p-jqgm-f45g nokogiri (RubyGems) Fixed in 1.8.2 Advisory →
Red Hat 2 advisories
- RHSA-2020:1190 Released 2020-03-31 · Red Hat rating Moderatelibxml2 security update
- Red Hat Enterprise Linux Client (v. 7) libxml2-2.9.1-6.el7.4, libxml2-python-2.9.1-6.el7.4
- Red Hat Enterprise Linux Client Optional (v. 7) libxml2-devel-2.9.1-6.el7.4, libxml2-static-2.9.1-6.el7.4
- Red Hat Enterprise Linux ComputeNode (v. 7) libxml2-2.9.1-6.el7.4, libxml2-python-2.9.1-6.el7.4
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) libxml2-devel-2.9.1-6.el7.4, libxml2-static-2.9.1-6.el7.4
- Red Hat Enterprise Linux Server (v. 7) libxml2-2.9.1-6.el7.4, libxml2-2.9.1-6.el7.4.ppc, libxml2-devel-2.9.1-6.el7.4 +2
- Red Hat Enterprise Linux Server Optional (v. 7) libxml2-static-2.9.1-6.el7.4, libxml2-static-2.9.1-6.el7.4.ppc
- Red Hat Enterprise Linux Workstation (v. 7) libxml2-2.9.1-6.el7.4, libxml2-devel-2.9.1-6.el7.4, libxml2-python-2.9.1-6.el7.4
- Red Hat Enterprise Linux Workstation Optional (v. 7) libxml2-static-2.9.1-6.el7.4
- RHSA-2018:2486 Released 2018-08-16 · Red Hat rating ImportantRed Hat JBoss Core Services Apache HTTP Server 2.4.29 security update
- Red Hat JBoss Core Services
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 8 | Affected | No fix yet |
| Red Hat JBoss Core Services | Affected | No fix yet |
| Red Hat Ansible Tower 3.5 for RHEL 7 Server | Fixed | — |
| Red Hat Ansible Tower 3.6 for RHEL 7 | Fixed | — |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:1190 |
| Red Hat JBoss Core Services | Fixed | RHSA-2018:2486 |
Not affected: 4 products
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 8
- Red Hat JBoss Web Server 3
Timeline
- 2026-10-02 Threatist record created from CVE-2017-18258
- 2026-10-03 Alias added: GHSA-882p-jqgm-f45g
References
Advisory 3
Other 7
- [debian-lts-announce] 20180927 [SECURITY] [DLA 1524-1] libxml2 security update
- https://kc.mcafee.com/corporate/index?page=content&id=SB10284
- https://security.netapp.com/advisory/ntap-20190719-0001/
- [debian-lts-announce] 20200909 [SECURITY] [DLA 2369-1] libxml2 security update
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-18258.yml
- https://security.netapp.com/advisory/ntap-20190719-0001
- https://usn.ubuntu.com/3739-1
More xmlsoft Libxml2 vulnerabilities
- TI-2020-06117 xmlStringLenDecodeEntities in parser.c in libxml2 2.9.10 has an infinite loop in a certain end-of-file situation. CVSS 3.1HIGH 7.5
- TI-2025-05441 Libxml2: integer overflow in xmlbuildqname() leads to stack buffer overflow in libxml2 CVSS 3.1HIGH 7.5
- TI-2024-22792 An issue was discovered in xmllint (from libxml2) before 2.11.8 and 2.12.x before 2.12.7. CVSS 3.1HIGH 7.5
- TI-2017-06514 libxml2 20904-GITv2.9.4-16-g0741801 is vulnerable to a heap-based buffer over-read in the… CVSS 3.1HIGH 7.5
- TI-2022-19140 An issue was discovered in libxml2 before 2.10.3. CVSS 3.1HIGH 7.5
- TI-2025-23491 Out-of-bounds read in xmlsoft libxml2 CVSS 3.1HIGH 7.5
Sources
- CVE-2017-18258 · CVE Program
- CVE-2017-18258 · NVD
- FIRST EPSS
- GHSA-882p-jqgm-f45g · GitHub Advisory Database · CC BY 4.0
- CVE-2017-18258 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences