CVE-2019-15903

HIGH CVSS 3.1: 7.5 EPSS 6.64%
Updated Oct 14, 2026
Python
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions 2.7.0 — 3.7.5
Fixed In 2.2.8
Type CWE-125 (Out-of-bounds Read), CWE-776
Vendor Python
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 5

Configuration From (including) Up to (excluding)
Libexpat_Project Libexpat
cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*
— 2.2.8
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
2.7.0 2.7.17
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.5.0 3.5.8
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.6.0 3.6.10
Python Python
cpe:2.3:a:python:python:*:*:*:*:*:*:*:*
3.7.0 3.7.5

References 60

http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00080.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00081.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00000.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00002.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00003.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00013.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00016.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00017.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00018.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00019.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00008.html
cve@mitre.org
http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
cve@mitre.org
http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-U…
cve@mitre.org
http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-…
cve@mitre.org
http://packetstormsecurity.com/files/154947/Slackware-Security-Advisory-mozilla…
cve@mitre.org
http://seclists.org/fulldisclosure/2019/Dec/23
cve@mitre.org
http://seclists.org/fulldisclosure/2019/Dec/26
cve@mitre.org
http://seclists.org/fulldisclosure/2019/Dec/27
cve@mitre.org
http://seclists.org/fulldisclosure/2019/Dec/30
cve@mitre.org
https://access.redhat.com/errata/RHSA-2019:3210
cve@mitre.org
https://access.redhat.com/errata/RHSA-2019:3237
cve@mitre.org
https://access.redhat.com/errata/RHSA-2019:3756
cve@mitre.org
https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a…
cve@mitre.org
https://github.com/libexpat/libexpat/issues/317
cve@mitre.org
https://github.com/libexpat/libexpat/issues/342
cve@mitre.org
https://github.com/libexpat/libexpat/pull/318
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2019/11/msg00006.html
cve@mitre.org
https://lists.debian.org/debian-lts-announce/2019/11/msg00017.html
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapr…
cve@mitre.org
https://seclists.org/bugtraq/2019/Dec/17
cve@mitre.org
https://seclists.org/bugtraq/2019/Dec/21
cve@mitre.org
https://seclists.org/bugtraq/2019/Dec/23
cve@mitre.org
https://seclists.org/bugtraq/2019/Nov/1
cve@mitre.org
https://seclists.org/bugtraq/2019/Nov/24
cve@mitre.org
https://seclists.org/bugtraq/2019/Oct/29
cve@mitre.org
https://seclists.org/bugtraq/2019/Sep/30
cve@mitre.org
https://seclists.org/bugtraq/2019/Sep/37
cve@mitre.org
https://security.gentoo.org/glsa/201911-08
cve@mitre.org
https://security.netapp.com/advisory/ntap-20190926-0004/
cve@mitre.org
https://support.apple.com/kb/HT210785
cve@mitre.org
https://support.apple.com/kb/HT210788
cve@mitre.org
https://support.apple.com/kb/HT210789
cve@mitre.org
https://support.apple.com/kb/HT210790
cve@mitre.org
https://support.apple.com/kb/HT210793
cve@mitre.org
https://support.apple.com/kb/HT210794
cve@mitre.org
https://support.apple.com/kb/HT210795
cve@mitre.org
https://usn.ubuntu.com/4132-1/
cve@mitre.org
https://usn.ubuntu.com/4132-2/
cve@mitre.org
https://usn.ubuntu.com/4165-1/
cve@mitre.org
https://usn.ubuntu.com/4202-1/
cve@mitre.org
https://usn.ubuntu.com/4335-1/
cve@mitre.org
https://www.debian.org/security/2019/dsa-4530
cve@mitre.org
https://www.debian.org/security/2019/dsa-4549
cve@mitre.org
https://www.debian.org/security/2019/dsa-4571
cve@mitre.org
https://www.oracle.com/security-alerts/cpuapr2020.html
cve@mitre.org
https://www.oracle.com/security-alerts/cpuoct2020.html
cve@mitre.org
https://www.tenable.com/security/tns-2021-11
cve@mitre.org
https://cert-portal.siemens.com/productcert/html/ssa-398330.html
0b142b55-0307-4c5a-b3c9-f314f3fb7c5e