{"id":"CVE-2019-15903","published":"2019-09-04T05:59:16Z","modified":"2026-10-14T06:50:10Z","title":"In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.06643,"percentile":0.94029,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://usn.ubuntu.com/4132-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://seclists.org/bugtraq/2019/Sep/30","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://usn.ubuntu.com/4132-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BDUTI5TVQWIGGQXPEVI4T2ENHFSBMIBP/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2019/dsa-4530","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://seclists.org/bugtraq/2019/Sep/37","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A4TZKPJFTURRLXIGLB34WVKQ5HGY6JJA/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00081.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00080.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S26LGXXQ7YF2BP3RGOWELBFKM6BHF6UG/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://seclists.org/bugtraq/2019/Oct/29","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://usn.ubuntu.com/4165-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.debian.org/security/2019/dsa-4549","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3210","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3237","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://seclists.org/bugtraq/2019/Nov/1","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00000.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00002.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3756","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00013.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00016.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00018.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00017.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00019.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00006.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://seclists.org/bugtraq/2019/Nov/24","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://www.debian.org/security/2019/dsa-4571","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00017.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://security.gentoo.org/glsa/201911-08","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://usn.ubuntu.com/4202-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://seclists.org/bugtraq/2019/Dec/17","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://seclists.org/bugtraq/2019/Dec/21","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"https://seclists.org/bugtraq/2019/Dec/23","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://seclists.org/fulldisclosure/2019/Dec/23","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://seclists.org/fulldisclosure/2019/Dec/26","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://seclists.org/fulldisclosure/2019/Dec/30","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://seclists.org/fulldisclosure/2019/Dec/27","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00008.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://usn.ubuntu.com/4335-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpuoct2020.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/libexpat/libexpat/issues/317","tags":["x_refsource_MISC"]},{"url":"https://github.com/libexpat/libexpat/pull/318","tags":["x_refsource_MISC"]},{"url":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","tags":["x_refsource_MISC"]},{"url":"https://github.com/libexpat/libexpat/issues/342","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-Updates.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20190926-0004/","tags":["x_refsource_CONFIRM"]},{"url":"http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html","tags":["x_refsource_MISC"]}],"priority":{"score":28.4,"factors":[{"name":"EPSS percentile","points":18.81},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.55}]},"referencesTotal":60,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-30T19:27:14.896115Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is a heap-based buffer over-read in libexpat, the XML parser library, affecting versions before 2.2.8. Crafted XML input can cause the parser to switch from DTD parsing to document parsing too early, and a subsequent call to XML_GetCurrentLineNumber or XML_GetCurrentColumnNumber then triggers the over-read. An attacker can exploit this over the network with no privileges required, but it needs user interaction, such as the victim processing the crafted XML, and the impact is limited to availability (a denial of service).","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:29:21Z"},"euvd":{"id":"EUVD-2019-6813","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-Updates.html","http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html","http://packetstormsecurity.com/files/154947/Slackware-Security-Advisory-mozilla-firefox-Updates.html"],"lineage":{"familyId":"fam-cve-2019-15903-family-cve-2019-15903","children":[{"from":"CVE-2019-15903","to":"CVE-2023-52426","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["expat/lib/xmlparse.c"],"commits":["https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","https://github.com/libexpat/libexpat/commit/0f075ec8ecb5e43f8fdca5182f8cca4703da0404"],"basis":"shared function","functions":["doProlog","internalEntityProcessor","processInternalEntity"]}]}]}}