CVE catalog

CVE-2017-18258

libxml2: CVE-2017-18258

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C
Published
Source
[NVD] · [CVE record]
EPSS
2.74% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibxml2sid2.15.4+dfsg-1fixed
Debianlibxml2forky2.15.4+dfsg-1fixed
Debianlibxml2trixie2.12.7+dfsg+really2.9.14-2.1+deb13u3fixed
Debianlibxml2trixie-security2.12.7+dfsg+really2.9.14-2.1+deb13u1fixed
Debianlibxml2bookworm2.9.14+dfsg-1.3~deb12u6fixed
Debianlibxml2bookworm-security2.9.14+dfsg-1.3~deb12u4fixed
Cpelibxml2Not reported2.9.6fixed
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu2vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu3vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.1vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.2vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.3vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.4vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.5vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.6vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.7vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.8vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.9vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.10vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.11vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.12vulnerable
Ubuntulibxml214.042.9.1+dfsg1-3ubuntu4.13fixed
Ubuntulibxml216.042.9.2+zdfsg1-4vulnerable
Ubuntulibxml216.042.9.2+zdfsg1-4ubuntu1vulnerable
Ubuntulibxml216.042.9.2+zdfsg1-4ubuntu2vulnerable
Ubuntulibxml216.042.9.2+zdfsg1-4ubuntu3vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1ubuntu0.1vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1ubuntu0.2vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1ubuntu0.3vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1ubuntu0.4vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1ubuntu0.5vulnerable
Ubuntulibxml216.042.9.3+dfsg1-1ubuntu0.6fixed
Ubuntulibxml218.042.9.4+dfsg1-4ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5ubuntu2vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5.1ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-5.2ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-6.1ubuntu1vulnerable
Ubuntulibxml218.042.9.4+dfsg1-6.1ubuntu1.2fixed
Suselibxml2linux enterprise desktop 12 sp32.9.4-46.15.1fixed
Susepython-libxml2linux enterprise desktop 12 sp32.9.4-46.15.1fixed
Suselibxml2linux enterprise software development kit 12 sp32.9.4-46.15.1fixed
Suselibxml2linux enterprise server 12 sp32.9.4-46.15.1fixed
Susepython-libxml2linux enterprise server 12 sp32.9.4-46.15.1fixed
Suselibxml2linux enterprise server for sap applications 12 sp32.9.4-46.15.1fixed
Susepython-libxml2linux enterprise server for sap applications 12 sp32.9.4-46.15.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxml2sourcesid2.9.10+dfsg-2lowNot reported[895245]
Debianlibxml2sourceforky2.9.10+dfsg-2lowNot reported[895245]
Debianlibxml2sourcetrixie2.9.10+dfsg-2lowNot reported[895245]
Debianlibxml2sourcebookworm2.9.10+dfsg-2lowNot reported[895245]
Cpelibxml2cpeNot reported2.9.6Not reportedNVD-CVE-2017-18258Not reported
Ubuntulibxml2deb14.042.9.1+dfsg1-3ubuntu4.13Not reportedUBUNTU-CVE-2017-18258Not reported
Ubuntulibxml2deb16.042.9.3+dfsg1-1ubuntu0.6Not reportedUBUNTU-CVE-2017-18258Not reported
Ubuntulibxml2deb18.042.9.4+dfsg1-6.1ubuntu1.2Not reportedUBUNTU-CVE-2017-18258Not reported
Suselibxml2rpmlinux enterprise desktop 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported
Susepython-libxml2rpmlinux enterprise desktop 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported
Suselibxml2rpmlinux enterprise software development kit 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported
Suselibxml2rpmlinux enterprise server 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported
Susepython-libxml2rpmlinux enterprise server 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported
Suselibxml2rpmlinux enterprise server for sap applications 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported
Susepython-libxml2rpmlinux enterprise server for sap applications 12 sp32.9.4-46.15.1Not reportedSUSE-SU-2018:3081-1Not reported

[Debian bug #895245]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [libxml2]Unknown
    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

  • [libxml2-dev]Unknown

    Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

  • [libxml2-doc]Unknown

    Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · all · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · all · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · all · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · all · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

  • [libxml2-utils]Unknown

    Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

  • Source package: [libxml2]

    Details (4)
    • 2.9.14+dfsg-1.3~deb12u6 · amd64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u6 · arm64 · bookworm

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · amd64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

    • 2.9.14+dfsg-1.3~deb12u4 · arm64 · bookworm-security

      Fixed · Fixed: 2.9.10+dfsg-2

      dsa · libxml2 · debian · bookworm

Observed:

References