CVE-2019-19204: Buffer Overflow

Published Nov 6, 2019
·
Updated

An issue was discovered in Oniguruma 6.x before 6.9.4rc2. In the function fetchintervalquantifier (formerly known as fetchrangequantifier) in regparse.c, PFETCH is called without checking PEND. This leads to a heap-based buffer over-read.

Other sources

An out-of-bounds read vulnerability was found in Oniguruma in the way it handled regular expression quantifiers. A remote attacker could abuse this flaw by providing a malformed regular expression that, when processed by an application linked to Oniguruma, could possibly crash the application, resulting in a denial of service.

Oniguruma is vulnerable to a heap-based buffer overflow, caused by improper bounds checking by the function fetchintervalquantifier in regparse.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

9 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
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
Debian Debian Linux=8.0
Fedoraproject Fedora=30
Fedoraproject Fedora=31
debian/libonig
6.9.6-1.16.9.8-16.9.9-16.9.10-1

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
Feb 20, 2026
Data Sourced
via Ubuntu·11:50 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·11:50 PM
DescriptionAffected Software
Data Sourced
via Launchpad·11:51 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2019-19204?

CVE-2019-19204 is an out-of-bounds read vulnerability in the Oniguruma library.

2

How does CVE-2019-19204 affect me?

If you are using an application linked to the Oniguruma library, a remote attacker could crash the application by providing a malformed regular expression.

3

What is the severity of CVE-2019-19204?

CVE-2019-19204 has a severity rating of 7, indicating a high severity.

4

How do I fix CVE-2019-19204?

To fix CVE-2019-19204, you should update the affected software to version 6.9.4 or later.

5

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

You can find more information about CVE-2019-19204 on the CVE website (https://www.cve.org/CVERecord?id=CVE-2019-19204) and the NVD website (https://nvd.nist.gov/vuln/detail/CVE-2019-19204).

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