CVE catalog

CVE-2026-50219

libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation.

[CVE catalog]

Severity
Medium · CVSS 6.9
Published
Source
[NVD] · [CVE record]
EPSS
0.18% · Oct 22, 2026

libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_GetBuffer, XML_Parse, XML_ParseBuffer, XML_ParserFree, or XML_ParserReset from within handlers in cases of a policy violation. Thus, a use-after-free can occur,

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianexpatsid2.9.0-1fixed
Debianexpatforky2.9.0-1fixed
Debianexpattrixie2.8.3-1~deb13u1fixed
Debianexpattrixie-security2.9.0-1~deb13u1fixed
Debianexpatbookworm2.5.0-1+deb12u2vulnerable
Debianexpatbookworm-security2.5.0-1+deb12u5fixed
CpeexpatNot reportedNot reportedvulnerable
CpelibexpatNot reported2.8.2fixed
Ubuntuexpatnoble2.6.1-2ubuntu0.5fixed
Ubuntulibexpat1noble2.6.1-2ubuntu0.5fixed
Ubuntulibexpat1-devnoble2.6.1-2ubuntu0.5fixed
Alpineexpat3.212.8.2-r0fixed
Alpineexpat3.222.8.2-r0fixed
Alpineexpat3.232.8.2-r0fixed
Alpineexpat3.242.8.2-r0fixed
Opensuseexpattumbleweed2.8.2-1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianexpatsourcesid2.8.2-1not yet assignedNot reported[1138862]
Debianexpatsourceforky2.8.2-1not yet assignedNot reported[1138862]
Debianexpatsourcetrixie2.8.2-1~deb13u1not yet assignedNot reported[1138862]
Debianexpatsourcebookworm2.5.0-1+deb12u3not yet assignedNot reported[1138862]
CpelibexpatcpeNot reported2.8.2Not reportedNot reportedNot reported
Ubuntuexpatdebnoble2.6.1-2ubuntu0.5Not reportedNot reportedNot reported
Ubuntulibexpat1debnoble2.6.1-2ubuntu0.5Not reportedNot reportedNot reported
Ubuntulibexpat1-devdebnoble2.6.1-2ubuntu0.5Not reportedNot reportedNot reported
Alpineexpatapk3.212.8.2-r0Not reportedALPINE-CVE-2026-50219Not reported
Alpineexpatapk3.222.8.2-r0Not reportedALPINE-CVE-2026-50219Not reported
Alpineexpatapk3.232.8.2-r0Not reportedALPINE-CVE-2026-50219Not reported
Alpineexpatapk3.242.8.2-r0Not reportedALPINE-CVE-2026-50219Not reported
Opensuseexpatrpmtumbleweed2.8.2-1.1Not reportedOPENSUSE-SU-2026:11584-1Not reported

[Debian bug #1138862]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [expat]Unknown
    Details (4)
    • 2.5.0-1+deb12u2 · amd64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

  • [libexpat1]Unknown

    Source package: [expat]

    Details (4)
    • 2.5.0-1+deb12u2 · amd64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

  • [libexpat1-dev]Unknown

    Source package: [expat]

    Details (4)
    • 2.5.0-1+deb12u2 · amd64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u2 · arm64 · bookworm

      Affected · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u3 · amd64 · bookworm-security

      Fixed · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

    • 2.5.0-1+deb12u3 · arm64 · bookworm-security

      Fixed · Fixed: 2.5.0-1+deb12u3

      nvd · expat · debian · bookworm; nvd · expat · debian · 12

[Debian 13 (Trixie)]

  • [expat]Unknown
    Details (6)
    • 2.7.1-2 · amd64 · trixie

      Affected · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Affected · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.2-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.3-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.3-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.9.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

  • [libexpat1]Unknown

    Source package: [expat]

    Details (6)
    • 2.7.1-2 · amd64 · trixie

      Affected · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Affected · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.2-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.3-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.3-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.9.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

  • [libexpat1-dev]Unknown

    Source package: [expat]

    Details (6)
    • 2.7.1-2 · amd64 · trixie

      Affected · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.7.1-2 · arm64 · trixie

      Affected · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.2-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.3-1~deb13u1 · amd64 · trixie-security · Historical version

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.8.3-1~deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

    • 2.9.0-1~deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.8.2-1~deb13u1

      nvd · expat · debian · 13

[openSUSE Tumbleweed]

  • [expat]Unknown

    Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Fixed · Fixed: 2.8.2-1.1

      nvd · expat · opensuse · tumbleweed

  • [libexpat1]Unknown

    Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.2-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

  • Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.2-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

  • Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.2-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

  • Source package: [expat]

    Details (1)
    • 2.8.2-1.1 · x86_64 · tumbleweed

      Unknown · Fixed: 2.8.2-1.1

      Version impact unknown

      nvd · expat · opensuse · tumbleweed

Observed:

References