libxml2: Unrestricted memory usage in xz_head() function in xzlib.c
Published Apr 8, 2018
6.5
MEDIUMCVSS 3.0
EPSS 2.66%
Description
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.
Affected products
No data.
No data.
Red Hat Ansible Tower 3.5 for RHEL 7
ansible-tower-35/ansible-tower:3.5.6-1
Fixed · RHBA-2020:1539
Red Hat Ansible Tower 3.6 for RHEL 7
ansible-tower-36/ansible-tower:3.6.4-1
Fixed · RHBA-2020:1540
Red Hat Enterprise Linux 7
libxml2-0:2.9.1-6.el7.4
Fixed · RHSA-2020:1190
Red Hat JBoss Core Services
n/a
Fixed · RHSA-2018:2486
Red Hat Enterprise Linux 5
libxml2
Not affected
Red Hat Enterprise Linux 6
libxml2
Not affected
Red Hat Enterprise Linux 8
libxml2
Not affected
Red Hat Enterprise Linux 8
mingw-libxml2
Affected
Red Hat JBoss Core Services
libxml2
Affected
Red Hat JBoss Web Server 3
libxml2
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Tower 3.5 for RHEL 7 | ansible-tower-35/ansible-tower:3.5.6-1 | Fixed | RHBA-2020:1539 |
| Red Hat Ansible Tower 3.6 for RHEL 7 | ansible-tower-36/ansible-tower:3.6.4-1 | Fixed | RHBA-2020:1540 |
| Red Hat Enterprise Linux 7 | libxml2-0:2.9.1-6.el7.4 | Fixed | RHSA-2020:1190 |
| Red Hat JBoss Core Services | n/a | Fixed | RHSA-2018:2486 |
| Red Hat Enterprise Linux 5 | libxml2 | Not affected | n/a |
| Red Hat Enterprise Linux 6 | libxml2 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | libxml2 | Not affected | n/a |
| Red Hat Enterprise Linux 8 | mingw-libxml2 | Affected | n/a |
| Red Hat JBoss Core Services | libxml2 | Affected | n/a |
| Red Hat JBoss Web Server 3 | libxml2 | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
AV:N/AC:M/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
- EPSS v4
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 2.66% (0.02655) | 85.14th | v5 (v2026.06.15) |
| Jun 15, 2026 | 2.71% (0.02706) | 83.97th | v5 (v2026.06.15) |
| Mar 30, 2025 | 1.05% (0.01047) | 75.51th | v4 (v2025.03.14) |
| Mar 29, 2025 | 2.57% (0.02574) | 75.88th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.02% (0.01018) | 75.67th | v4 (v2025.03.14) |
| Jul 20, 2024 | 1.73% (0.01726) | 88.03th | v3 (v2023.03.01) |
| Sep 3, 2023 | 1.73% (0.01726) | 86.31th | v3 (v2023.03.01) |
| Mar 7, 2023 | 1.28% (0.01278) | 83.56th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.32% (0.01319) | 71.27th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.26% (0.02262) | 50.78th | v5 (v2026.06.15) |
| Apr 14, 2021 | 2.26% (0.02262) | 0.00th | v1 |
References (12)
- https://access.redhat.com/security/cve/CVE-2017-18258 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1566749 Issue Tracking
- https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bb x_refsource_MISCPatchVendor Advisory
- https://github.com/advisories/GHSA-882p-jqgm-f45g Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-18258.yml
- https://kc.mcafee.com/corporate/index?page=content&id=SB10284 x_refsource_CONFIRM
- https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html mailing-listx_refsource_MLIST
- https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2017-18258
- https://security.netapp.com/advisory/ntap-20190719-0001/ x_refsource_CONFIRM
- https://usn.ubuntu.com/3739-1/ vendor-advisoryx_refsource_UBUNTU
- https://www.cve.org/CVERecord?id=CVE-2017-18258
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2017-18258 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1566749 | Issue Tracking | |
| https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bb | x_refsource_MISCPatchVendor Advisory | |
| https://github.com/advisories/GHSA-882p-jqgm-f45g | Advisory | |
| https://github.com/rubysec/ruby-advisory-db/blob/master/gems/nokogiri/CVE-2017-18258.yml | ||
| https://kc.mcafee.com/corporate/index?page=content&id=SB10284 | x_refsource_CONFIRM | |
| https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html | mailing-listx_refsource_MLIST | |
| https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html | mailing-listx_refsource_MLIST | |
| https://nvd.nist.gov/vuln/detail/CVE-2017-18258 | ||
| https://security.netapp.com/advisory/ntap-20190719-0001/ | x_refsource_CONFIRM | |
| https://usn.ubuntu.com/3739-1/ | vendor-advisoryx_refsource_UBUNTU | |
| https://www.cve.org/CVERecord?id=CVE-2017-18258 |
Change history (0)
No recorded changes yet.