Live threats

All CVEs / Xmlsoft

CVE-2017-18258Xmlsoft Libxml2

Medium 6.5 No auth needed

Priority
54
CVSS 3.0
6.5
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Apr 8, 2018
Updated
Oct 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-770
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Libxml2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems nokogiri < 1.8.2 1.8.2 gem "nokogiri", ">= 1.8.2"

Per OSV / GitHub Advisories (GHSA-882p-jqgm-f45g). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
xmlsoftlibxml2< 2.9.6

Official sources

References

Links published by the sources. Open them with care.