{"schema_version":"1.8.0","id":"CVE-2019-15903","published":"2019-09-04T06:15:10.877Z","modified":"2026-08-07T14:52:43.674430Z","related":["SUSE-SU-2019:14246-1","SUSE-SU-2019:2429-1","SUSE-SU-2019:2440-1","SUSE-SU-2019:2871-1","SUSE-SU-2019:2872-1","SUSE-SU-2019:2912-1","SUSE-SU-2020:0114-1","SUSE-SU-2020:0302-1","SUSE-SU-2025:20207-1","SUSE-SU-2025:20311-1","openSUSE-SU-2019:2204-1","openSUSE-SU-2019:2205-1","openSUSE-SU-2019:2420-1","openSUSE-SU-2019:2424-1","openSUSE-SU-2019:2425-1","openSUSE-SU-2019:2447-1","openSUSE-SU-2019:2451-1","openSUSE-SU-2019:2452-1","openSUSE-SU-2019:2459-1","openSUSE-SU-2019:2464-1","openSUSE-SU-2020:0010-1","openSUSE-SU-2020:0086-1","openSUSE-SU-2024:10600-1","openSUSE-SU-2024:10601-1","openSUSE-SU-2024:10681-1","openSUSE-SU-2024:10748-1","openSUSE-SU-2024:11284-1","openSUSE-SU-2024:12948-1","openSUSE-SU-2024:14572-1"],"details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/libexpat/libexpat","events":[{"introduced":"0"},{"fixed":"91b17cfeb8edf60ca23e33fe59ac231d0f2efb48"},{"fixed":"c20b758c332d9a13afbbb276d30db1d183a85d43"}],"database_specific":{"cpe":"cpe:2.3:a:libexpat_project:libexpat:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.2.8"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["R_2_2_7","R_2_2_6","R_2_2_5","R_2_2_4","R_2_2_3","R_2_2_2","R_2_2_1","R_2_2_0","R_2_1_1","R_2_1_0","R_2_0_1","R_2_0_0","R_1_95_8","R_1_95_7","R_1_95_6","R_1_95_5","R_1_95_4","R_1_95_3","R_1_95_2","R_1_95_0","libexpat-alpha-1","start","sourceforge_init","jclark-orig","V20000512","V19991013","V19990728","V19990709","V19990626","V1_1","V19990425","V1990307","V19990109","V19981231","V19981122","V1_0","beta4","beta3","beta2","REC1_0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15903.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"125271961576543742310629350504968019617","length":27888},"id":"CVE-2019-15903-0d752d8d","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","target":{"file":"expat/lib/xmlparse.c","function":"doProlog"}},{"deprecated":false,"digest":{"function_hash":"258898664727023212628731136448884091064","length":1541},"id":"CVE-2019-15903-3992c034","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","target":{"file":"expat/lib/xmlparse.c","function":"processInternalEntity"}},{"deprecated":false,"digest":{"function_hash":"320542276707726540903784573260106917696","length":347},"id":"CVE-2019-15903-4fa8a18a","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","target":{"file":"expat/lib/xmlparse.c","function":"prologProcessor"}},{"deprecated":false,"digest":{"function_hash":"87559746390753119708030472024368882252","length":1691},"id":"CVE-2019-15903-50a68847","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","target":{"file":"expat/lib/xmlparse.c","function":"internalEntityProcessor"}},{"deprecated":false,"digest":{"line_hashes":["132983735470197785746052135782572205033","146204224061470080606983094059913412689","7599560151177139529648421590374092798","43488536384691544214046994497908120940","316924857856242392275636406882952016268","313502711495946994497639020874340401069","195484947523758424504813833072420643936","66393858657853185419579310156918223010","255221502895981869157887834697152878351","106795823336306937525621181615350467828","226320368211189727652238023669300150723","120536527396395186340591214598221850705","157897276731025067219377731738911663661","56387941961793144568065674959231386429","122849457964806115309741096903856490512","175297395996681036848075065183921967929","299387118000825267278833341847060218101","276502891951823894309157759029430923936","56631634594391992920425749299177991860","128211256018775436878936886506812361210","136991866931827280169215334671955339519","267326537430448345157071811058789050241","281089508152999328292147815149430177071","266760975306673981287073430543841070947","136991866931827280169215334671955339519","267326537430448345157071811058789050241","281089508152999328292147815149430177071","145115243084578848234012712515518269345","130000406535845302189293374835665079658","249245281332386594223044783888918985169","150401336559048452177710326613018819487","41422063577574542654899415359947089205"],"threshold":0.9},"id":"CVE-2019-15903-52ad81f3","signature_type":"Line","signature_version":"v1","source":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","target":{"file":"expat/lib/xmlparse.c"}},{"deprecated":false,"digest":{"function_hash":"217326096847551269990637517059988824832","length":878},"id":"CVE-2019-15903-9c136d97","signature_type":"Function","signature_version":"v1","source":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43","target":{"file":"expat/lib/xmlparse.c","function":"externalParEntProcessor"}}],"vanir_signatures_modified":"2026-08-07T14:52:43Z"}},{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"0"},{"fixed":"c2f86d86e6c8f5fd1ef602128b537a48f3f5c063"},{"introduced":"2e789a1f1d84b343a996e8654590703b5fbdd441"},{"fixed":"ac39a516017c80993309f803441c8ee97c44838e"},{"introduced":"5c4568a05a0a62b5947c55f68f9f2ecfb90a4f12"},{"fixed":"02dff8b01100e7cd6d4c93be27202ccb4ea05811"},{"introduced":"1bf9cc509326bc42cd8cb1650eb9bf64550d817e"},{"fixed":"5c02a39a0b31a330e06b4d6f44835afb205dc7cc"}],"database_specific":{"cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.7.0"},{"fixed":"2.7.17"},{"introduced":"3.5.0"},{"fixed":"3.5.8"},{"introduced":"3.6.0"},{"fixed":"3.6.10"},{"introduced":"3.7.0"},{"fixed":"3.7.5"}],"source":"CPE_RANGE"}}],"versions":["v3.6.10rc1","v3.5.8rc2","v3.5.8rc1","v2.7.17rc1","v3.6.9","v3.6.9rc1","v3.7.3rc1","v3.5.7","v3.5.7rc1","v2.7.16rc1","v3.6.8","v3.7.2rc1","v3.6.8rc1","v3.5.6","v3.5.6rc1","v3.7.0rc1","v3.6.6rc1","v3.7.0b5","v3.7.0b4","v2.7.15rc1","v3.7.0b3","v3.7.0b2","v3.5.5","v3.5.5rc1","v3.7.0b1","v3.7.0a2","v3.5.4","v3.5.4rc1","v3.6.2rc1","v3.5.3","v3.5.3rc1","v3.6.0rc1","v2.7.13rc1","v3.6.0b4","v3.6.0b3","v3.6.0b1","v3.6.0a3","v3.5.2","v3.5.2rc1","v2.7.12rc1","v3.5.1rc1","v2.7.11rc1","v3.5.0rc3","v3.5.0rc2","v3.5.0rc1","v3.5.0b4","v3.5.0b3","v3.5.0b1","v2.7.10rc1","v3.5.0a4","v3.5.0a3","v3.5.0a2","v3.5.0a1","v2.7.9rc1","v2.7.8","v3.4.0b3","v3.4.0b2","v3.4.0b1","v2.7.6rc1","v3.4.0a4","v3.4.0a3","v3.4.0a2","v3.4.0a1","v2.7.5","v2.7.4rc1","v3.3.0rc3","v3.3.0rc2","v3.3.0rc1","v3.3.0b2","v3.3.0b1","v3.3.0a4","v3.3.0a3","v3.3.0a2","v2.7.3rc1","v2.7.2rc1","v2.7","v3.2rc3","v3.2rc2","v3.2rc1","v3.2b2","v3.2b1","v2.7.1","v2.7.1rc1","v3.2a4","v3.2a3","v3.2a2","v3.2a1","v2.7rc2","v2.7rc1","v2.7b2","v2.7b1","v2.7a4","v2.7a3","v2.7a2","v2.7a1","v3.1","v3.1rc2","v3.1rc1","v3.1b1","v3.1a2","v3.1a1","v3.0rc3","v3.0rc2","v2.6","v2.6rc2","v3.0rc1","v2.6rc1","v3.0b3","v2.6b3","v2.6b2","v3.0b2","v2.6b1","v3.0b1","v2.6a3","v3.0a5","v2.6a2","v3.0a4","v3.0a3","v2.6a1","v3.0a2","v3.0a1","v2.5b3","v2.5b2","v2.5b1","v2.5a2","v2.5a1","v2.5a0","v2.4","v2.4c1","v2.4b2","v2.4b1","v2.4a3","v2.4a2","v2.4a1","v2.3c2","v2.3c1","v2.2a3","v2.1","v2.1c2","v2.1c1","v2.1b2","v2.1b1","v2.1a2","v2.1a1","v2.0","v2.0c1","v2.0b2","v2.0b1","v1.6a2","v1.6a1","v1.5.2","v1.5.2c1","v1.5.2b2","v1.5.2b1","v1.5.2a2","v1.5.2a1","v1.5.1","v1.5","v1.5b2","v1.5b1","v1.5a4","v1.5a3","v1.5a2","v1.5a1","v1.4","v1.4b3","v1.4b2","v1.4b1","v1.3","v1.3b1","v1.2","v1.2b4","v1.2b3","v1.2b2","v1.2b1","v1.1.1","v1.1","v1.0.2","v1.0.1","v0.9.9","v0.9.8"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15903.json"}}],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A4TZKPJFTURRLXIGLB34WVKQ5HGY6JJA/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BDUTI5TVQWIGGQXPEVI4T2ENHFSBMIBP/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S26LGXXQ7YF2BP3RGOWELBFKM6BHF6UG/"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00080.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-09/msg00081.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00000.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00002.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00003.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00013.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00016.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00017.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00018.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2019-11/msg00019.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00008.html"},{"type":"ADVISORY","url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00040.html"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/154503/Slackware-Security-Advisory-expat-Updates.html"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/154927/Slackware-Security-Advisory-python-Updates.html"},{"type":"ADVISORY","url":"http://packetstormsecurity.com/files/154947/Slackware-Security-Advisory-mozilla-firefox-Updates.html"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2019/Dec/23"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2019/Dec/26"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2019/Dec/27"},{"type":"ADVISORY","url":"http://seclists.org/fulldisclosure/2019/Dec/30"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3210"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3237"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2019:3756"},{"type":"ADVISORY","url":"https://github.com/libexpat/libexpat/issues/342"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00006.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2019/11/msg00017.html"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Dec/17"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Dec/21"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Dec/23"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Nov/1"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Nov/24"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Oct/29"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Sep/30"},{"type":"ADVISORY","url":"https://seclists.org/bugtraq/2019/Sep/37"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201911-08"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20190926-0004/"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210785"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210788"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210789"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210790"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210793"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210794"},{"type":"ADVISORY","url":"https://support.apple.com/kb/HT210795"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4132-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4132-2/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4165-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4202-1/"},{"type":"ADVISORY","url":"https://usn.ubuntu.com/4335-1/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4530"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4549"},{"type":"ADVISORY","url":"https://www.debian.org/security/2019/dsa-4571"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuapr2020.html"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpuoct2020.html"},{"type":"ADVISORY","url":"https://www.tenable.com/security/tns-2021-11"},{"type":"REPORT","url":"https://github.com/libexpat/libexpat/issues/317"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/commit/c20b758c332d9a13afbbb276d30db1d183a85d43"},{"type":"FIX","url":"https://github.com/libexpat/libexpat/pull/318"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}