CVE-2019-15903
In libexpat before 2.2.8, crafted XML input could fool the parser into changing from DTD parsing to document parsing too early; a…
Check your servers for CVE-2019-15903
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2019-15903 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- required: a user has to do something, such as open a link or a file
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 6.64%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 94.0% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 30 May 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2019-15903 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2019-15903RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2019-15903Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2019-15903
trivy image --scanners vuln IMAGE | grep CVE-2019-15903
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- USN-4132-1 usn.ubuntu.com · vendor advisory
- USN-4132-2 usn.ubuntu.com · vendor advisory
- FEDORA-2019-613edfe68b lists.fedoraproject.org · vendor advisory
- DSA-4530 debian.org · vendor advisory
- FEDORA-2019-9505c6b555 lists.fedoraproject.org · vendor advisory
- openSUSE-SU-2019:2205 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2204 lists.opensuse.org · vendor advisory
- FEDORA-2019-672ae0f060 lists.fedoraproject.org · vendor advisory
- USN-4165-1 usn.ubuntu.com · vendor advisory
- DSA-4549 debian.org · vendor advisory
- RHSA-2019:3210 access.redhat.com · vendor advisory
- RHSA-2019:3237 access.redhat.com · vendor advisory
25 more
- openSUSE-SU-2019:2420 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2424 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2425 lists.opensuse.org · vendor advisory
- RHSA-2019:3756 access.redhat.com · vendor advisory
- openSUSE-SU-2019:2447 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2451 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2452 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2459 lists.opensuse.org · vendor advisory
- openSUSE-SU-2019:2464 lists.opensuse.org · vendor advisory
- DSA-4571 debian.org · vendor advisory
- GLSA-201911-08 security.gentoo.org · vendor advisory
- USN-4202-1 usn.ubuntu.com · vendor advisory
- openSUSE-SU-2020:0010 lists.opensuse.org · vendor advisory
- openSUSE-SU-2020:0086 lists.opensuse.org · vendor advisory
- USN-4335-1 usn.ubuntu.com · vendor advisory
- https://github.com/libexpat/libexpat/issues/342 github.com
- https://security.netapp.com/advisory/ntap-20190926-0004/ security.netapp.com
- https://support.apple.com/kb/HT210788 support.apple.com
- https://support.apple.com/kb/HT210790 support.apple.com
- https://support.apple.com/kb/HT210785 support.apple.com
- https://support.apple.com/kb/HT210789 support.apple.com
- https://support.apple.com/kb/HT210793 support.apple.com
- https://support.apple.com/kb/HT210795 support.apple.com
- https://support.apple.com/kb/HT210794 support.apple.com
- https://www.tenable.com/security/tns-2021-11 tenable.com
Other references
- 20190917 [slackware-security] expat (SSA:2019-259-01) seclists.org · mailing list
- 20190923 [SECURITY] [DSA 4530-1] expat security update seclists.org · mailing list
- 20191021 [slackware-security] python (SSA:2019-293-01) seclists.org · mailing list
- 20191101 [SECURITY] [DSA 4549-1] firefox-esr security update seclists.org · mailing list
- [debian-lts-announce] 20191110 [SECURITY] [DLA 1987-1] firefox-esr security update lists.debian.org · mailing list
- 20191118 [SECURITY] [DSA 4571-1] thunderbird security update seclists.org · mailing list
- [debian-lts-announce] 20191118 [SECURITY] [DLA 1997-1] thunderbird security update lists.debian.org · mailing list
- 20191211 APPLE-SA-2019-12-10-8 watchOS 6.1.1 seclists.org · mailing list
- 20191211 APPLE-SA-2019-12-10-5 tvOS 13.3 seclists.org · mailing list
- 20191211 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007… seclists.org · mailing list
- 20191213 APPLE-SA-2019-12-10-1 iOS 13.3 and iPadOS 13.3 seclists.org · mailing list
- 20191213 APPLE-SA-2019-12-10-3 macOS Catalina 10.15.2, Security Update 2019-002 Mojave, Security Update 2019-007… seclists.org · mailing list
11 more
- 20191213 APPLE-SA-2019-12-10-8 watchOS 6.1.1 seclists.org · mailing list
- 20191213 APPLE-SA-2019-12-10-5 tvOS 13.3 seclists.org · mailing list
- https://www.oracle.com/security-alerts/cpuapr2020.html oracle.com
- https://www.oracle.com/security-alerts/cpuoct2020.html oracle.com
- https://github.com/libexpat/libexpat/issues/317 github.com
- https://github.com/libexpat/libexpat/pull/318 github.com
- https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43 github.com
- http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-Updates.html packetstormsecurity.com
- http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html packetstormsecurity.com
- http://packetstormsecurity.com/files/154947/Slackware-Security-Advisory-mozilla-firefox-Updates.html packetstormsecurity.com
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html cert-portal.siemens.com
Source: the record CVE-2019-15903 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse