Bug 1566749 (CVE-2017-18258) - CVE-2017-18258 libxml2: Unrestricted memory usage in xz_head() function in xzlib.c
Summary: CVE-2017-18258 libxml2: Unrestricted memory usage in xz_head() function in xz...
Alias: CVE-2017-18258
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1566750 1566751 1579211 1695417
Blocks: 1566752
TreeView+ depends on / blocked
Reported: 2018-04-12 23:04 UTC by Laura Pardo
Modified: 2020-12-15 15:32 UTC (History)
19 users (show)

Fixed In Version: libxml2 2.9.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-03-31 22:32:15 UTC

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:1190 0 None None None 2020-03-31 19:33:32 UTC

Description Laura Pardo 2018-04-12 23:04:07 UTC
A flaw was found in libxml2 before 2.9.6. The xz_head function in xzlib.c in 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.


Comment 1 Laura Pardo 2018-04-12 23:04:37 UTC
Created mingw-libxml2 tracking bugs for this issue:

Affects: fedora-all [bug 1566751]
Affects: epel-7 [bug 1566750]

Comment 5 Doran Moppert 2019-04-03 02:49:06 UTC
Note that this patch introduced another vulnerability:  CVE-2018-14567 (flaw bug 1619875), which was in turn fixed by:


Comment 8 errata-xmlrpc 2020-03-31 19:33:29 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1190 https://access.redhat.com/errata/RHSA-2020:1190

Comment 9 Product Security DevOps Team 2020-03-31 22:32:15 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):


Note You need to log in before you can comment on or make changes to this bug.