CVE catalog

CVE-2026-86143

In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling

[CVE catalog]

Severity
Medium · CVSS 6.9CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.19% · Oct 25, 2026

In xmlIO in libxml2 before 2.15.4, an inconsistency in xmlOutputWriteCallback and xmlBufUse causes negative lengths to reach write callbacks, aka a lack of a check for integer overflow before calling writecallback. This has security relevance for many types of uses of that length value within a callback.

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+deb13u3vulnerable
Debianlibxml2trixie-security2.12.7+dfsg+really2.9.14-2.1+deb13u1vulnerable
Debianlibxml2bookworm2.9.14+dfsg-1.3~deb12u6vulnerable
Debianlibxml2bookworm-security2.9.14+dfsg-1.3~deb12u4vulnerable
Cpelibxml2Not reported2.15.4fixed
Ubuntulibxml2noble2.9.14+dfsg-1.3ubuntu3.10fixed
Ubuntulibxml2-devnoble2.9.14+dfsg-1.3ubuntu3.10fixed
Ubuntulibxml2-docnoble2.9.14+dfsg-1.3ubuntu3.10fixed
Ubuntulibxml2-utilsnoble2.9.14+dfsg-1.3ubuntu3.10fixed
Ubuntupython3-libxml2noble2.9.14+dfsg-1.3ubuntu3.10fixed
Ubuntulibxml2pro2.9.4+dfsg1-7ubuntu3vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-7ubuntu5vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu1vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu2vulnerable
Ubuntulibxml2pro2.9.4+dfsg1-8ubuntu3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-1ubuntu3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-4build1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.2vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.4vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.6vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.7vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.8vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.9vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm1vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm2vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm3vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm4vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm5vulnerable
Ubuntulibxml2pro2.9.10+dfsg-5ubuntu0.20.04.10+esm6fixed
Ubuntulibxml222.042.9.12+dfsg-4vulnerable
Ubuntulibxml222.042.9.12+dfsg-5vulnerable
Ubuntulibxml222.042.9.12+dfsg-6vulnerable
Ubuntulibxml222.042.9.13+dfsg-1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1build1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.1vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.2vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.3vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.4vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.5vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.6vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.7vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.8vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.9vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.10vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.11vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.12vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.13vulnerable
Ubuntulibxml222.042.9.13+dfsg-1ubuntu0.14fixed
Ubuntulibxml224.042.9.14+dfsg-1.3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3build3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.1vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.2vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.3vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.4vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.5vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.6vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.7vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.8vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.9vulnerable
Ubuntulibxml224.042.9.14+dfsg-1.3ubuntu3.10fixed
Ubuntulibxml226.042.14.5+dfsg-0.2vulnerable
Ubuntulibxml226.042.14.5+dfsg-0.2build1vulnerable
Ubuntulibxml226.042.15.1+dfsg-0.3vulnerable
Ubuntulibxml226.042.15.1+dfsg-0.4vulnerable
Ubuntulibxml226.042.15.1+dfsg-1vulnerable
Ubuntulibxml226.042.15.1+dfsg-2vulnerable
Ubuntulibxml226.042.15.1+dfsg-2ubuntu1vulnerable
Ubuntulibxml226.042.15.1+dfsg-2ubuntu2vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.1vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.2vulnerable
Ubuntulibxml226.042.15.2+dfsg-0.1ubuntu0.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibxml2sourcesid2.15.4+dfsg-1not yet assignedNot reported[1146744]
Debianlibxml2sourceforky2.15.4+dfsg-1not yet assignedNot reported[1146744]
Debianlibxml2sourcetrixie(unfixed)not yet assignedNot reported[1146744]
Debianlibxml2sourcebookworm(unfixed)not yet assignedNot reported[1146744]
Cpelibxml2cpeNot reported2.15.4Not reportedNVD-CVE-2026-86143Not reported
Ubuntulibxml2debnoble2.9.14+dfsg-1.3ubuntu3.10Not reportedNot reportedNot reported
Ubuntulibxml2-devdebnoble2.9.14+dfsg-1.3ubuntu3.10Not reportedNot reportedNot reported
Ubuntulibxml2-docdebnoble2.9.14+dfsg-1.3ubuntu3.10Not reportedNot reportedNot reported
Ubuntulibxml2-utilsdebnoble2.9.14+dfsg-1.3ubuntu3.10Not reportedNot reportedNot reported
Ubuntupython3-libxml2debnoble2.9.14+dfsg-1.3ubuntu3.10Not reportedNot reportedNot reported
Ubuntulibxml2debpro2.9.10+dfsg-5ubuntu0.20.04.10+esm6Not reportedUBUNTU-CVE-2026-86143Not reported
Ubuntulibxml2deb22.042.9.13+dfsg-1ubuntu0.14Not reportedUBUNTU-CVE-2026-86143Not reported
Ubuntulibxml2deb24.042.9.14+dfsg-1.3ubuntu3.10Not reportedUBUNTU-CVE-2026-86143Not reported
Ubuntulibxml2deb26.042.15.2+dfsg-0.1ubuntu0.3Not reportedUBUNTU-CVE-2026-86143Not reported

[Debian bug #1146744]

Notes

[bookworm] libxml2: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [libxml2-dev]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [libxml2-doc]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [libxml2-utils]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

  • [python3-libxml2]Affected

    Source package: [libxml2]

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

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

      Affected

      nvd · libxml2 · debian · bookworm; nvd · libxml2 · debian · 12

[Debian 13 (Trixie)]

  • [libxml2]Affected
    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [libxml2-dev]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [libxml2-doc]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · all · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · all · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · all · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · all · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [libxml2-utils]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

  • [python3-libxml2]Affected

    Source package: [libxml2]

    Details (4)
    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · amd64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u3 · arm64 · trixie

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · amd64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

    • 2.12.7+dfsg+really2.9.14-2.1+deb13u1 · arm64 · trixie-security

      Affected

      nvd · libxml2 · debian · 13

Observed:

References