CVE-2019-15903
Advisory lineage Upstream: 0 Downstream: 58
Modified
Published: 04 Sept 2019, 05:59
Last modified:30 May 2025, 19:27
Vulnerability Summary
Overall Risk (default)
medium
40/100 CVSS Score
7.5 HIGH
v3.1 (nvd)
EPSS Score
0.2% LOW
0% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected
Timeline
04 Sept 2019, 05:59
Published
Vulnerability first disclosed
30 May 2025, 19:27
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- v2.0•MEDIUM•Score: 5AV:N/AC:L/Au:N/C:N/I:N/A:P
EPSS Trends
Current EPSS score: 0.20%• Percentile: 42%
Techniques & Countermeasures
- CWE-125•Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
- CWE-776•Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
The product uses XML documents and allows their structure to be defined with a Document Type Definition (DTD), but it does not properly control the number of recursive definitions of entities.
Affected Systems
- libexpat_project•libexpat
< 2.2.8
- python•python
≥ 2.7.0, < 2.7.17 | ≥ 3.5.0, < 3.5.8 | ≥ 3.6.0, < 3.6.10 | ≥ 3.7.0, < 3.7.5
References (59)
- https://usn.ubuntu.com/4132-1/
- https://seclists.org/bugtraq/2019/Sep/30
- https://usn.ubuntu.com/4132-2/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BDUTI5TVQWIGGQXPEVI4T2ENHFSBMIBP/
- https://www.debian.org/security/2019/dsa-4530
- https://seclists.org/bugtraq/2019/Sep/37
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A4TZKPJFTURRLXIGLB34WVKQ5HGY6JJA/
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00081.html
- http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00080.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S26LGXXQ7YF2BP3RGOWELBFKM6BHF6UG/
- https://seclists.org/bugtraq/2019/Oct/29
- https://usn.ubuntu.com/4165-1/
- https://www.debian.org/security/2019/dsa-4549
- https://access.redhat.com/errata/RHSA-2019:3210
- https://access.redhat.com/errata/RHSA-2019:3237
- https://seclists.org/bugtraq/2019/Nov/1
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00000.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00003.html
- https://access.redhat.com/errata/RHSA-2019:3756
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00016.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00018.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00019.html
- https://lists.debian.org/debian-lts-announce/2019/11/msg00006.html
- https://seclists.org/bugtraq/2019/Nov/24
- https://www.debian.org/security/2019/dsa-4571
- https://lists.debian.org/debian-lts-announce/2019/11/msg00017.html
- https://security.gentoo.org/glsa/201911-08
- https://usn.ubuntu.com/4202-1/
- https://seclists.org/bugtraq/2019/Dec/17
- https://seclists.org/bugtraq/2019/Dec/21
- https://seclists.org/bugtraq/2019/Dec/23
- http://seclists.org/fulldisclosure/2019/Dec/23
- http://seclists.org/fulldisclosure/2019/Dec/26
- http://seclists.org/fulldisclosure/2019/Dec/30
- http://seclists.org/fulldisclosure/2019/Dec/27
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00008.html
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html
- https://usn.ubuntu.com/4335-1/
- https://www.oracle.com/security-alerts/cpuapr2020.html
- https://www.oracle.com/security-alerts/cpuoct2020.html
- https://github.com/libexpat/libexpat/issues/317
- https://github.com/libexpat/libexpat/pull/318
- https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43
- https://github.com/libexpat/libexpat/issues/342
- http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-Updates.html
- https://security.netapp.com/advisory/ntap-20190926-0004/
- http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html
- http://packetstormsecurity.com/files/154947/Slackware-Security-Advisory-mozilla-firefox-Updates.html
- https://support.apple.com/kb/HT210788
- https://support.apple.com/kb/HT210790
- https://support.apple.com/kb/HT210785
- https://support.apple.com/kb/HT210789
- https://support.apple.com/kb/HT210793
- https://support.apple.com/kb/HT210795
- https://support.apple.com/kb/HT210794
- https://www.tenable.com/security/tns-2021-11