CVE-2017-18258
MEDIUM 6.5CVSS 3.0Uncontrolled resource consumption in nokogiri
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.
- Published
- 8 Apr 2018
- Last modified
- 14 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-882p-jqgm-f45g
- Sources
- NVDJSONOSV GHSA-882p-jqgm-f45gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.0 | MEDIUM 6.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | xmlsoft | libxml2cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:* |
< 2.9.6 | 2.9.6 |
| OSV | RubyGems | nokogiri | < 1.8.2 | 1.8.2 |
References
- https://git.gnome.org/browse/libxml2/commit/?id=e2a9122b8dde53d320750451e9907a7dcb2ca8bb · Patch, Vendor Advisory, WEB
- https://kc.mcafee.com/corporate/index?page=content&id=SB10284 · WEB
- https://lists.debian.org/debian-lts-announce/2018/09/msg00035.html · WEB
- https://lists.debian.org/debian-lts-announce/2020/09/msg00009.html · WEB
- https://security.netapp.com/advisory/ntap-20190719-0001/ · WEB
- https://usn.ubuntu.com/3739-1/ · WEB
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2017-18258 · 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 · WEB
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 8 Apr 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 Apr 2018)