CVE-2019-19203: Buffer Overflow

Published Nov 6, 2019
·
Updated

An issue was discovered in Oniguruma 6.x before 6.9.4rc2. In the function gb18030mbcenclen in file gb18030.c, a UChar pointer is dereferenced without checking if it passed the end of the matched string. This leads to a heap-based buffer over-read.

Other sources

An out-of-bounds read vulnerability was found in the way Oniguruma handled regular expressions with GB18030 character encoding. A UChar pointer is dereferenced without checking if it passed the end of the matched string, leading to a heap-based buffer over-read. A remote attacker could abuse this flaw by providing a malformed regular expression that, when processed by an application linked to Oniguruma, might crash the application causing a denial of service.

Oniguruma is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the function gb18030mbcenclen in file gb18030.c. By using a specially-crafted input, a local attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.

IBM

Affected Software

8 affected componentsFixes available
redhat/rh-php73-php<0:7.3.20-1.el7
0:7.3.20-1.el7
redhat/Oniguruma<6.9.4
6.9.4
debian/libonig
6.9.6-1.16.9.8-16.9.9-1
IBM IBM® Db2® on Cloud Pak for Data and Db2 Warehouse on Cloud Pak for Data<=v3.5 through refresh 10v4.0 through refresh 9v4.5 through refresh 3v4.6 through refresh 6v4.7 through refresh 4v4.8 through refresh 4
Oniguruma Project Oniguruma>=6.0.0<6.9.4
Oniguruma Project Oniguruma=6.9.4-rc1
Fedoraproject Fedora=30
Fedoraproject Fedora=31

Event History

Nov 6, 2019
CVE Published
12:00 AM
Nov 21, 2019
CVE Published
via MITRE·08:06 PM
Data Sourced
via MITRE·08:06 PM
Description
Jan 11, 2024
Data Sourced
via Launchpad·11:24 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·02:14 AM
RemedyDescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID is CVE-2019-19203.

2

What is the severity level of CVE-2019-19203?

The severity level of CVE-2019-19203 is high with a CVSS score of 7.5.

3

Which software versions are affected by CVE-2019-19203?

Oniguruma versions between 6.0.0 and 6.9.4 are affected by CVE-2019-19203.

4

How can I fix CVE-2019-19203?

Update Oniguruma to version 6.9.4 or later to fix CVE-2019-19203.

5

Where can I find more information about CVE-2019-19203?

You can find more information about CVE-2019-19203 on the GitHub issues page and release tag, as well as on the provided reference links.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203