← Vulnerability feed

Vulnerability record · CVE-2019-15903 · published 4 September 2019

CVE-2019-15903: Libexpat project libexpat out-of-bounds read vulnerability

LLibexpat Project · Libexpat

In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted in a heap-based buffer over-read.

7.5 CVSS 3.1 High EPSS 6.6% · top 6.4% CWE-125 · Out-of-bounds readCWE-776 · CWE-776
7.5CVSS 3.1 base score, v2 5.0
6.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
118References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a consecutive call to XML_GetCurrentLineNumber (or XML_GetCurrentColumnNumber) then resulted in a heap-based buffer over-read.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00080.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00081.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00000.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00002.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00003.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00013.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00016.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00017.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00018.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00019.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00008.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-Updates.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html Third Party AdvisoryVDB Entry
http://packetstormsecurity.com/files/154947/Slackware-Security-Advisory-mozilla-firefox-Updates.html Third Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2019/Dec/23 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Dec/26 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Dec/27 Mailing ListThird Party Advisory
http://seclists.org/fulldisclosure/2019/Dec/30 Mailing ListThird Party Advisory
https://access.redhat.com/errata/RHSA-2019:3210 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3237 Third Party Advisory
https://access.redhat.com/errata/RHSA-2019:3756 Third Party Advisory
https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43 PatchThird Party Advisory
https://github.com/libexpat/libexpat/issues/317 ExploitIssue TrackingThird Party Advisory
https://github.com/libexpat/libexpat/issues/342 Third Party Advisory
https://github.com/libexpat/libexpat/pull/318 Issue TrackingPatchThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/11/msg00006.html Mailing ListThird Party Advisory
https://lists.debian.org/debian-lts-announce/2019/11/msg00017.html Mailing ListThird Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A4TZKPJFTURRLXIGLB34WVK
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BDUTI5TVQWIGGQXPEVI4T2E
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S26LGXXQ7YF2BP3RGOWELBF
https://seclists.org/bugtraq/2019/Dec/17 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Dec/21 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Dec/23 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Nov/1 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Nov/24 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Oct/29 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/30 Mailing ListThird Party Advisory
https://seclists.org/bugtraq/2019/Sep/37 Mailing ListThird Party Advisory
https://security.gentoo.org/glsa/201911-08 Third Party Advisory

Track CVE-2019-15903 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2008-5031Python vulnerabilityMultiple integer overflows in Python 2.2.3 through 2.5.1, and 2.6, allow context-dependent attackers to have an unknown impact via a large integer va…EPSS 3.0%9.8CVE-2024-45491Libexpat project libexpat integer overflow vulnerabilityAn issue was discovered in libexpat before 2.6.3. dtdCopy in xmlparse.c can have an integer overflow for nDefaultAtts on 32-bit platforms (where UINT…EPSS 1.1%9.8CVE-2024-45492Libexpat project libexpat integer overflow vulnerabilityAn issue was discovered in libexpat before 2.6.3. nextScaffoldPart in xmlparse.c can have an integer overflow for m_groupSize on 32-bit platforms (wh…EPSS 1.4%9.8CVE-2022-48565Python xml external entity (xxe) vulnerabilityAn XML External Entity (XXE) issue was discovered in Python through 3.9.1. The plistlib module no longer accepts entity declarations in XML plist fil…EPSS 5.1%9.8CVE-2022-37454Extended keccak code package project extended keccak code package integer overflow vulnerabilityThe Keccak XKCP SHA-3 reference implementation before fdc6fef has an integer overflow and resultant buffer overflow that allows attackers to execute …EPSS 5.8%9.8CVE-2022-25315Libexpat project libexpat integer overflow vulnerabilityIn Expat (aka libexpat) before 2.4.5, there is an integer overflow in storeRawNames.EPSS 4.8%9.8CVE-2022-25235Libexpat project libexpat vulnerabilityxmltok_impl.c in Expat (aka libexpat) before 2.4.5 lacks certain validation of encoding, such as checks for whether a UTF-8 character is valid in a c…EPSS 5.0%9.8CVE-2022-25236Libexpat project libexpat exposure of resource to wrong sphere vulnerabilityxmlparse.c in Expat (aka libexpat) before 2.4.5 allows attackers to insert namespace-separator characters into namespace URIs.EPSS 36%

Source: NIST National Vulnerability Database (record CVE-2019-15903), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.