CVE-2018-9251
The xz_decomp function in xzlib.c in libxml2 2.9.8, if --with-lzma is used, allows remote attackers to cause a denial of service (infinite loop) via a crafted XML file that triggers LZMA_MEMLIMIT_ERROR, as demonstrated by xmllint, a different vulnerability than CVE-2015-8035.
What to do
Fixed builds are available from Alpine, Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | libxml2 | Not affected vulnerable_code_not_present | ||
| Red Hat Enterprise Linux 8 | libxml2 | Fixed | 0:2.9.7-7.el8 | RHSA-2020:1827 |
| Red Hat Enterprise Linux 8 | libxml2-devel | Fixed | 0:2.9.7-7.el8 | RHSA-2020:1827 |
| Red Hat Enterprise Linux 8 | python3-libxml2 | Fixed | 0:2.9.7-7.el8 | RHSA-2020:1827 |
| Red Hat Enterprise Linux 7 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2-python | Not affected | ||
| Red Hat Enterprise Linux 7 | libxml2-static | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2 | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2-devel | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2-python | Not affected | ||
| Red Hat Enterprise Linux 6 | libxml2-static | Not affected | ||
| Red Hat Enterprise Linux 5 | libxml2 | Not affected | ||
| Alpine Linux 3.24 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.23 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.22 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.21 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.20 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.19 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.18 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.17 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.16 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.15 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.14 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.13 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.12 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.11 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.10 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.9 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.8 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.7 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.6 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
| Alpine Linux 3.5 | libxml2 | Fixed | 2.9.8-r1 | ALPINE-CVE-2018-9251 |
References
- https://bugzilla.gnome.org/show_bug.cgi?id=794914
- https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.