Debian Package Tracker
Register | Log in
Subscribe

expat

XML parsing C library - example application

Choose email to subscribe with

general
  • source: expat (main)
  • version: 2.8.1-1
  • maintainer: Laszlo Boszormenyi (GCS) (DMD)
  • arch: any
  • std-ver: 4.7.2
  • VCS: unknown
versions [more versions can be listed by madison] [old versions available from snapshot.debian.org]
[pool directory]
  • o-o-stable: 2.2.10-2+deb11u5
  • o-o-sec: 2.2.10-2+deb11u7
  • oldstable: 2.5.0-1+deb12u2
  • old-sec: 2.5.0-1+deb12u1
  • stable: 2.7.1-2
  • testing: 2.8.1-1
  • unstable: 2.8.1-1
versioned links
  • 2.2.10-2+deb11u5: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.2.10-2+deb11u7: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.5.0-1+deb12u1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.5.0-1+deb12u2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.7.1-2: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
  • 2.8.1-1: [.dsc, use dget on this link to retrieve source package] [changelog] [copyright] [rules] [control]
binaries
  • expat
  • libexpat1
  • libexpat1-dev (2 bugs: 0, 2, 0, 0)
  • libexpat1-udeb
action needed
22 security issues in trixie high

There are 22 open security issues in trixie.

14 important issues:
  • CVE-2026-45186: In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.
  • 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. Thus, a use-after-free can occur,
  • CVE-2026-56131: libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
  • CVE-2026-56132: In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
  • CVE-2026-56403: libexpat before 2.8.2 has an integer overflow in storeAtts.
  • CVE-2026-56404: libexpat before 2.8.2 has an integer overflow in addBinding.
  • CVE-2026-56405: libexpat before 2.8.2 has an integer overflow in getAttributeId.
  • CVE-2026-56406: libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
  • CVE-2026-56407: libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
  • CVE-2026-56408: libexpat before 2.8.2 has an integer overflow in copyString.
  • CVE-2026-56409: xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
  • CVE-2026-56410: xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
  • CVE-2026-56411: xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
  • CVE-2026-56412: libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
8 issues left for the package maintainer to handle:
  • CVE-2025-59375: (needs triaging) libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.
  • CVE-2025-66382: (postponed; to be fixed through a stable update) In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
  • CVE-2026-24515: (needs triaging) In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.
  • CVE-2026-25210: (needs triaging) In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.
  • CVE-2026-32776: (needs triaging) libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.
  • CVE-2026-32777: (needs triaging) libexpat before 2.7.5 allows an infinite loop while parsing DTD content.
  • CVE-2026-32778: (needs triaging) libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.
  • CVE-2026-41080: (needs triaging) libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.

You can find information about how to handle these issues in the security team's documentation.

Created: 2025-09-15 Last update: 2026-06-22 21:50
14 security issues in sid high

There are 14 open security issues in sid.

14 important issues:
  • CVE-2025-66382: In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
  • 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. Thus, a use-after-free can occur,
  • CVE-2026-56131: libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
  • CVE-2026-56132: In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
  • CVE-2026-56403: libexpat before 2.8.2 has an integer overflow in storeAtts.
  • CVE-2026-56404: libexpat before 2.8.2 has an integer overflow in addBinding.
  • CVE-2026-56405: libexpat before 2.8.2 has an integer overflow in getAttributeId.
  • CVE-2026-56406: libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
  • CVE-2026-56407: libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
  • CVE-2026-56408: libexpat before 2.8.2 has an integer overflow in copyString.
  • CVE-2026-56409: xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
  • CVE-2026-56410: xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
  • CVE-2026-56411: xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
  • CVE-2026-56412: libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
Created: 2025-11-28 Last update: 2026-06-22 21:50
14 security issues in forky high

There are 14 open security issues in forky.

14 important issues:
  • CVE-2025-66382: In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
  • 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. Thus, a use-after-free can occur,
  • CVE-2026-56131: libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
  • CVE-2026-56132: In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
  • CVE-2026-56403: libexpat before 2.8.2 has an integer overflow in storeAtts.
  • CVE-2026-56404: libexpat before 2.8.2 has an integer overflow in addBinding.
  • CVE-2026-56405: libexpat before 2.8.2 has an integer overflow in getAttributeId.
  • CVE-2026-56406: libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
  • CVE-2026-56407: libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
  • CVE-2026-56408: libexpat before 2.8.2 has an integer overflow in copyString.
  • CVE-2026-56409: xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
  • CVE-2026-56410: xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
  • CVE-2026-56411: xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
  • CVE-2026-56412: libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
Created: 2025-11-28 Last update: 2026-06-22 21:50
23 security issues in bullseye high

There are 23 open security issues in bullseye.

14 important issues:
  • CVE-2026-45186: In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.
  • 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. Thus, a use-after-free can occur,
  • CVE-2026-56131: libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
  • CVE-2026-56132: In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
  • CVE-2026-56403: libexpat before 2.8.2 has an integer overflow in storeAtts.
  • CVE-2026-56404: libexpat before 2.8.2 has an integer overflow in addBinding.
  • CVE-2026-56405: libexpat before 2.8.2 has an integer overflow in getAttributeId.
  • CVE-2026-56406: libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
  • CVE-2026-56407: libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
  • CVE-2026-56408: libexpat before 2.8.2 has an integer overflow in copyString.
  • CVE-2026-56409: xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
  • CVE-2026-56410: xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
  • CVE-2026-56411: xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
  • CVE-2026-56412: libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
7 issues postponed or untriaged:
  • CVE-2025-66382: (postponed; to be fixed through a stable update) In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
  • CVE-2026-24515: (postponed; to be fixed through a stable update) In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.
  • CVE-2026-25210: (postponed; to be fixed through a stable update) In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.
  • CVE-2026-32776: (postponed; to be fixed through a stable update) libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.
  • CVE-2026-32777: (postponed; to be fixed through a stable update) libexpat before 2.7.5 allows an infinite loop while parsing DTD content.
  • CVE-2026-32778: (postponed; to be fixed through a stable update) libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.
  • CVE-2026-41080: (postponed; to be fixed through a stable update) libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.
2 ignored issues:
  • CVE-2024-8176: A stack overflow vulnerability exists in the libexpat library due to the way it handles recursive entity expansion in XML documents. When parsing an XML document with deeply nested entity references, libexpat can be forced to recurse indefinitely, exhausting the stack space and causing a crash. This issue could lead to denial of service (DoS) or, in some cases, exploitable memory corruption, depending on the environment and library usage.
  • CVE-2025-59375: libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.
Created: 2026-05-10 Last update: 2026-06-22 21:50
22 security issues in bookworm high

There are 22 open security issues in bookworm.

14 important issues:
  • CVE-2026-45186: In libexpat before 2.8.1, the computational complexity of attribute name collision checks allows a denial of service via moderately sized crafted XML input.
  • 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. Thus, a use-after-free can occur,
  • CVE-2026-56131: libexpat before 2.8.2 lacks handler call depth tracking for calls to XML_ResumeParser from within handlers in cases of a policy violation. Thus, a use-after-free can occur (similar to the CVE-2026-50219 situation).
  • CVE-2026-56132: In libexpat before 2.8.2, there is a heap-based buffer overflow in doProlog in xmlparse.c because scaffold backing array reallocation is mishandled when there is data-structure sharing across parsers.
  • CVE-2026-56403: libexpat before 2.8.2 has an integer overflow in storeAtts.
  • CVE-2026-56404: libexpat before 2.8.2 has an integer overflow in addBinding.
  • CVE-2026-56405: libexpat before 2.8.2 has an integer overflow in getAttributeId.
  • CVE-2026-56406: libexpat before 2.8.2 has an integer overflow in XML_ParseBuffer because it lacked a check that was present in XML_Parse.
  • CVE-2026-56407: libexpat before 2.8.2 has an integer overflow in doProlog that is related to storeEntityValue and entity textLen.
  • CVE-2026-56408: libexpat before 2.8.2 has an integer overflow in copyString.
  • CVE-2026-56409: xmlwf in libexpat before 2.8.2 has an integer overflow for the output filename when -d outputDir is used.
  • CVE-2026-56410: xmlwf in libexpat before 2.8.2 has an integer overflow in resolveSystemId.
  • CVE-2026-56411: xmlwf in libexpat before 2.8.2 has an integer overflow in endDoctypeDecl via NOTATION declarations.
  • CVE-2026-56412: libexpat before 2.8.2 does not consider XML_TOK_DATA_CHARS in doCdataSection and thus lacks handler call depth tracking for various calls from within handlers in cases of a policy violation. Thus, a use-after-free can occur. NOTE: this issue exists because of an incomplete fix for CVE-2026-50219.
7 issues left for the package maintainer to handle:
  • CVE-2025-66382: (postponed; to be fixed through a stable update) In libexpat through 2.7.3, a crafted file with an approximate size of 2 MiB can lead to dozens of seconds of processing time.
  • CVE-2026-24515: (needs triaging) In libexpat before 2.7.4, XML_ExternalEntityParserCreate does not copy unknown encoding handler user data.
  • CVE-2026-25210: (needs triaging) In libexpat before 2.7.4, the doContent function does not properly determine the buffer size bufSize because there is no integer overflow check for tag buffer reallocation.
  • CVE-2026-32776: (needs triaging) libexpat before 2.7.5 allows a NULL pointer dereference with empty external parameter entity content.
  • CVE-2026-32777: (needs triaging) libexpat before 2.7.5 allows an infinite loop while parsing DTD content.
  • CVE-2026-32778: (needs triaging) libexpat before 2.7.5 allows a NULL pointer dereference in the function setContext on retry after an earlier ouf-of-memory condition.
  • CVE-2026-41080: (needs triaging) libexpat before 2.8.0 uses insufficient entropy, and thus hash flooding can occur via a crafted XML document.

You can find information about how to handle these issues in the security team's documentation.

1 ignored issue:
  • CVE-2025-59375: libexpat in Expat before 2.7.2 allows attackers to trigger large dynamic memory allocations via a small document that is submitted for parsing.
Created: 2025-09-15 Last update: 2026-06-22 21:50
lintian reports 1 warning normal
Lintian reports 1 warning about this package. You should make the package lintian clean getting rid of them.
Created: 2026-05-23 Last update: 2026-05-23 23:01
Standards version of the package is outdated. wishlist
The package should be updated to follow the last version of Debian Policy (Standards-Version 4.7.4 instead of 4.7.2).
Created: 2025-12-23 Last update: 2026-05-23 12:00
news
[rss feed]
  • [2026-05-28] expat 2.8.1-1 MIGRATED to testing (Debian testing watch)
  • [2026-05-23] Accepted expat 2.8.1-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2026-05-23] expat 2.8.0-2 MIGRATED to testing (Debian testing watch)
  • [2026-05-10] Accepted expat 2.8.0-2 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2026-04-27] expat 2.8.0-1 MIGRATED to testing (Debian testing watch)
  • [2026-04-25] Accepted expat 2.8.0-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2026-03-22] expat 2.7.5-1 MIGRATED to testing (Debian testing watch)
  • [2026-03-17] Accepted expat 2.7.5-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2026-02-03] expat 2.7.4-1 MIGRATED to testing (Debian testing watch)
  • [2026-01-31] Accepted expat 2.7.4-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2026-01-26] expat 2.7.3-2 MIGRATED to testing (Debian testing watch)
  • [2026-01-23] Accepted expat 2.7.3-2 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2025-09-28] expat 2.7.3-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-24] Accepted expat 2.7.3-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2025-09-19] expat 2.7.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-19] expat 2.7.2-1 MIGRATED to testing (Debian testing watch)
  • [2025-09-16] Accepted expat 2.7.2-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2025-07-21] expat 2.7.1-2 MIGRATED to testing (Debian testing watch)
  • [2025-07-17] Accepted expat 2.7.1-2 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2025-05-31] Accepted expat 2.5.0-1+deb12u2 (source) into proposed-updates (Debian FTP Masters) (signed by: Laszlo Boszormenyi)
  • [2025-04-30] Accepted expat 2.2.10-2+deb11u7 (source) into oldstable-security (Thorsten Alteholz)
  • [2025-03-30] expat 2.7.1-1 MIGRATED to testing (Debian testing watch)
  • [2025-03-27] Accepted expat 2.7.1-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2025-03-14] Accepted expat 2.7.0-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2024-11-14] expat 2.6.4-1 MIGRATED to testing (Debian testing watch)
  • [2024-11-08] Accepted expat 2.6.4-1 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2024-10-31] expat 2.6.3-2 MIGRATED to testing (Debian testing watch)
  • [2024-10-27] Accepted expat 2.6.3-2 (source) into unstable (Laszlo Boszormenyi (GCS)) (signed by: Laszlo Boszormenyi)
  • [2024-09-19] Accepted expat 2.2.10-2+deb11u6 (source) into oldstable-security (Guilhem Moulin)
  • [2024-09-18] Accepted expat 2.5.0-1+deb12u1 (source) into proposed-updates (Debian FTP Masters) (signed by: Laszlo Boszormenyi)
  • 1
  • 2
bugs [bug history graph]
  • all: 7
  • RC: 0
  • I&N: 7
  • M&W: 0
  • F&P: 0
  • patch: 0
links
  • homepage
  • lintian (0, 1)
  • buildd: logs, reproducibility, cross
  • popcon
  • browse source code
  • other distros
  • security tracker
  • debian patches
ubuntu Ubuntu logo [Information about Ubuntu for Debian Developers]
  • version: 2.8.1-1

Debian Package Tracker — Copyright 2013-2025 The Distro Tracker Developers
Report problems to the tracker.debian.org pseudo-package in the Debian BTS.
Documentation — Bugs — Git Repository — Contributing