Vulnerabilities · 2019 · Libexpat Project
CVE-2019-15903
Libexpat Project Libexpat vulnerability
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.
Affected products
Libexpat, Python. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Libexpat Project Libexpat runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43 · Patch
- github.com/libexpat/libexpat/pull/318 · Patch
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00080.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-09/msg00081.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00000.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00002.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00003.html · Third Party Advisory
- lists.opensuse.org/opensuse-security-announce/2019-11/msg00013.html · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2019-15903
- cve.org/CVERecord?id=CVE-2019-15903
More vulnerabilities in Libexpat Project products
CVE-2026-24515CVE-2025-66382CVE-2025-59375CVE-2024-50602CVE-2024-45492CVE-2024-45491CVE-2024-45490CVE-2024-28757All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.