CVE Vulnerabilities

CVE-2019-15903

Out-of-bounds Read

Published: Sep 04, 2019 | Modified: May 30, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
7.5 LOW
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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.

Weakness

The product reads data past the end, or before the beginning, of the intended buffer.

Affected Software

NameVendorStart VersionEnd Version
LibexpatLibexpat_project*2.2.8 (excluding)
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-curl-0:7.64.1-36.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-httpd-0:2.4.37-57.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_cluster-native-0:1.3.14-4.Final_redhat_2.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_http2-0:1.15.7-3.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_jk-0:1.2.48-4.redhat_1.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_md-1:2.0.8-24.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-mod_security-0:2.9.2-51.GA.jbcs.el6*
JBoss Core Services on RHEL 6RedHatjbcs-httpd24-nghttp2-0:1.39.2-25.jbcs.el6*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-curl-0:7.64.1-36.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-httpd-0:2.4.37-57.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_cluster-native-0:1.3.14-4.Final_redhat_2.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_http2-0:1.15.7-3.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_jk-0:1.2.48-4.redhat_1.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_md-1:2.0.8-24.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-mod_security-0:2.9.2-51.GA.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-nghttp2-0:1.39.2-25.jbcs.el7*
JBoss Core Services on RHEL 7RedHatjbcs-httpd24-openssl-pkcs11-0:0.4.10-7.jbcs.el7*
Red Hat Enterprise Linux 6RedHatthunderbird-0:68.2.0-2.el6_10*
Red Hat Enterprise Linux 7RedHatfirefox-0:68.2.0-1.el7_7*
Red Hat Enterprise Linux 7RedHatthunderbird-0:68.2.0-1.el7_7*
Red Hat Enterprise Linux 7RedHatexpat-0:2.1.0-12.el7*
Red Hat Enterprise Linux 8RedHatfirefox-0:68.2.0-2.el8_0*
Red Hat Enterprise Linux 8RedHatthunderbird-0:68.2.0-1.el8_0*
Red Hat Enterprise Linux 8RedHatexpat-0:2.2.5-4.el8*
Red Hat Enterprise Linux 8.2 Advanced Update SupportRedHatexpat-0:2.2.10-1.el8_2*
Red Hat OpenShift DoRedHatopenshiftdo/odo-init-image-rhel7:1.1.3-2*
Text-Only JBCSRedHatexpat*
AudacityUbuntukinetic*
AudacityUbuntulunar*
AudacityUbuntumantic*
AyttmUbuntuxenial*
CableswigUbuntuxenial*
CadaverUbuntubionic*
CadaverUbuntudisco*
CadaverUbuntueoan*
CadaverUbuntufocal*
CadaverUbuntugroovy*
CadaverUbuntuhirsute*
CadaverUbuntuimpish*
CadaverUbuntukinetic*
CadaverUbuntulunar*
CadaverUbuntumantic*
CadaverUbuntuoracular*
CadaverUbuntuplucky*
CadaverUbuntuxenial*
Chromium-browserUbuntubionic*
Chromium-browserUbuntudevel*
Chromium-browserUbuntudisco*
Chromium-browserUbuntueoan*
Chromium-browserUbuntuesm-apps/noble*
Chromium-browserUbuntufocal*
Chromium-browserUbuntugroovy*
Chromium-browserUbuntuhirsute*
Chromium-browserUbuntuimpish*
Chromium-browserUbuntujammy*
Chromium-browserUbuntukinetic*
Chromium-browserUbuntulunar*
Chromium-browserUbuntumantic*
Chromium-browserUbuntunoble*
Chromium-browserUbuntuoracular*
Chromium-browserUbuntuplucky*
Chromium-browserUbuntuquesting*
Chromium-browserUbuntutrusty*
Chromium-browserUbuntuupstream*
Chromium-browserUbuntuxenial*
Coin3Ubuntubionic*
Coin3Ubuntudisco*
Coin3Ubuntueoan*
Coin3Ubuntuesm-apps/bionic*
Coin3Ubuntuesm-apps/xenial*
Coin3Ubuntuesm-infra-legacy/trusty*
Coin3Ubuntugroovy*
Coin3Ubuntutrusty*
Coin3Ubuntutrusty/esm*
Coin3Ubuntuxenial*
ExpatUbuntubionic*
ExpatUbuntudisco*
ExpatUbuntuesm-infra-legacy/trusty*
ExpatUbuntuesm-infra/bionic*
ExpatUbuntuesm-infra/xenial*
ExpatUbuntutrusty*
ExpatUbuntutrusty/esm*
ExpatUbuntuupstream*
ExpatUbuntuxenial*
FirefoxUbuntubionic*
FirefoxUbuntudevel*
FirefoxUbuntudisco*
FirefoxUbuntueoan*
FirefoxUbuntufocal*
FirefoxUbuntugroovy*
FirefoxUbuntuhirsute*
FirefoxUbuntuimpish*
FirefoxUbuntujammy*
FirefoxUbuntukinetic*
FirefoxUbuntulunar*
FirefoxUbuntumantic*
FirefoxUbuntunoble*
FirefoxUbuntuoracular*
FirefoxUbuntuplucky*
FirefoxUbuntuquesting*
FirefoxUbuntuupstream*
FirefoxUbuntuxenial*
GdcmUbuntutrusty*
InsighttoolkitUbuntuxenial*
Insighttoolkit4Ubuntudisco*
Insighttoolkit4Ubuntueoan*
Insighttoolkit4Ubuntugroovy*
Insighttoolkit4Ubuntuhirsute*
Insighttoolkit4Ubuntuimpish*
Insighttoolkit4Ubuntuxenial*
LibxmltokUbuntubionic*
LibxmltokUbuntuesm-apps/bionic*
LibxmltokUbuntuesm-apps/focal*
LibxmltokUbuntuesm-apps/jammy*
LibxmltokUbuntuesm-apps/noble*
LibxmltokUbuntuesm-apps/xenial*
LibxmltokUbuntufocal*
LibxmltokUbuntuhirsute*
LibxmltokUbuntuimpish*
LibxmltokUbuntujammy*
LibxmltokUbuntukinetic*
LibxmltokUbuntulunar*
LibxmltokUbuntumantic*
LibxmltokUbuntunoble*
LibxmltokUbuntuoracular*
LibxmltokUbuntuplucky*
LibxmltokUbuntutrusty*
LibxmltokUbuntuupstream*
LibxmltokUbuntuxenial*
MatanzaUbuntubionic*
MatanzaUbuntudevel*
MatanzaUbuntudisco*
MatanzaUbuntueoan*
MatanzaUbuntuesm-apps/bionic*
MatanzaUbuntuesm-apps/focal*
MatanzaUbuntuesm-apps/jammy*
MatanzaUbuntuesm-apps/noble*
MatanzaUbuntuesm-apps/xenial*
MatanzaUbuntufocal*
MatanzaUbuntugroovy*
MatanzaUbuntuhirsute*
MatanzaUbuntuimpish*
MatanzaUbuntujammy*
MatanzaUbuntukinetic*
MatanzaUbuntulunar*
MatanzaUbuntumantic*
MatanzaUbuntunoble*
MatanzaUbuntuoracular*
MatanzaUbuntuplucky*
MatanzaUbuntuquesting*
MatanzaUbuntuxenial*
PocoUbuntutrusty*
SitecopyUbuntubionic*
SitecopyUbuntudisco*
SitecopyUbuntueoan*
SitecopyUbuntufocal*
SitecopyUbuntugroovy*
SitecopyUbuntuhirsute*
SitecopyUbuntuimpish*
SitecopyUbuntukinetic*
SitecopyUbuntulunar*
SitecopyUbuntumantic*
SitecopyUbuntuoracular*
SitecopyUbuntuplucky*
SitecopyUbuntuxenial*
Swish-eUbuntubionic*
Swish-eUbuntudisco*
Swish-eUbuntueoan*
Swish-eUbuntufocal*
Swish-eUbuntugroovy*
Swish-eUbuntuhirsute*
Swish-eUbuntuimpish*
Swish-eUbuntukinetic*
Swish-eUbuntulunar*
Swish-eUbuntumantic*
Swish-eUbuntuoracular*
Swish-eUbuntuplucky*
Swish-eUbuntuxenial*
TdomUbuntubionic*
TdomUbuntudisco*
TdomUbuntueoan*
TdomUbuntufocal*
TdomUbuntugroovy*
TdomUbuntuhirsute*
TdomUbuntuimpish*
TdomUbuntukinetic*
TdomUbuntulunar*
TdomUbuntumantic*
TdomUbuntuoracular*
TdomUbuntuplucky*
TdomUbuntuxenial*
ThunderbirdUbuntubionic*
ThunderbirdUbuntudevel*
ThunderbirdUbuntudisco*
ThunderbirdUbuntueoan*
ThunderbirdUbuntufocal*
ThunderbirdUbuntugroovy*
ThunderbirdUbuntuhirsute*
ThunderbirdUbuntuimpish*
ThunderbirdUbuntujammy*
ThunderbirdUbuntukinetic*
ThunderbirdUbuntulunar*
ThunderbirdUbuntumantic*
ThunderbirdUbuntunoble*
ThunderbirdUbuntuoracular*
ThunderbirdUbuntuplucky*
ThunderbirdUbuntuquesting*
ThunderbirdUbuntuupstream*
ThunderbirdUbuntuxenial*
Vnc4Ubuntubionic*
Vnc4Ubuntuesm-apps/bionic*
Vnc4Ubuntuesm-apps/xenial*
Vnc4Ubuntuesm-infra-legacy/trusty*
Vnc4Ubuntutrusty*
Vnc4Ubuntutrusty/esm*
Vnc4Ubuntuxenial*
VtkUbuntuesm-apps/xenial*
VtkUbuntuesm-infra-legacy/trusty*
VtkUbuntutrusty/esm*
VtkUbuntuxenial*
Wbxml2Ubuntubionic*
Wbxml2Ubuntudisco*
Wbxml2Ubuntueoan*
Wbxml2Ubuntufocal*
Wbxml2Ubuntugroovy*
Wbxml2Ubuntuhirsute*
Wbxml2Ubuntuimpish*
Wbxml2Ubuntukinetic*
Wbxml2Ubuntulunar*
Wbxml2Ubuntumantic*
Wbxml2Ubuntuoracular*
Wbxml2Ubuntuplucky*
Wbxml2Ubuntuxenial*
Xmlrpc-cUbuntubionic*
Xmlrpc-cUbuntudevel*
Xmlrpc-cUbuntudisco*
Xmlrpc-cUbuntueoan*
Xmlrpc-cUbuntuesm-apps/bionic*
Xmlrpc-cUbuntuesm-apps/focal*
Xmlrpc-cUbuntuesm-apps/jammy*
Xmlrpc-cUbuntuesm-apps/noble*
Xmlrpc-cUbuntuesm-apps/xenial*
Xmlrpc-cUbuntuesm-infra-legacy/trusty*
Xmlrpc-cUbuntufocal*
Xmlrpc-cUbuntugroovy*
Xmlrpc-cUbuntuhirsute*
Xmlrpc-cUbuntuimpish*
Xmlrpc-cUbuntujammy*
Xmlrpc-cUbuntukinetic*
Xmlrpc-cUbuntulunar*
Xmlrpc-cUbuntumantic*
Xmlrpc-cUbuntunoble*
Xmlrpc-cUbuntuoracular*
Xmlrpc-cUbuntuplucky*
Xmlrpc-cUbuntuquesting*
Xmlrpc-cUbuntutrusty*
Xmlrpc-cUbuntutrusty/esm*
Xmlrpc-cUbuntuupstream*
Xmlrpc-cUbuntuxenial*

Potential Mitigations

  • Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
  • When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
  • Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
  • To reduce the likelihood of introducing an out-of-bounds read, ensure that you validate and ensure correct calculations for any length argument, buffer size calculation, or offset. Be especially careful of relying on a sentinel (i.e. special character such as NUL) in untrusted inputs.

References