CVE-2019-13224: Use After Free

Published Jun 27, 2019
·
Updated

A use-after-free in onignewdeluxe() in regext.c in Oniguruma 6.9.2 allows attackers to potentially cause information disclosure, denial of service, or possibly code execution by providing a crafted regular expression. The attacker provides a pair of a regex pattern and a string, with a multi-byte encoding that gets handled by onignewdeluxe(). Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.

Other sources

Fixed CVE-2019-13224 (don't allow different encodings for onignewdeluxe) (stas)

PHP

oniguruma is vulnerable to a denial of service, caused by a use-after-free in onignewdeluxe() in regext.c. By persuading a victim to compile a specially crafted file and execute its object code, a remote attacker could exploit this vulnerability to achieve information disclosure, denial of service, or possibly code execution

IBM

Affected Software

12 affected componentsFixes available
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
PHP PHP<7.1.32
7.1.32
Oniguruma Project Oniguruma=6.9.2
PHP PHP>=7.1.0<7.1.32
PHP PHP>=7.2.0<7.2.23
PHP PHP>=7.3.0<7.3.9
Fedoraproject Fedora=29
Fedoraproject Fedora=30
Debian Debian Linux=8.0
Canonical Ubuntu Linux=12.04
Canonical Ubuntu Linux=14.04
debian/libonig
6.9.6-1.16.9.8-16.9.9-16.9.10-1

Event History

Jun 27, 2019
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 10, 2019
CVE Published
via MITRE·01:50 PM
Data Sourced
via MITRE·01:50 PM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2019
Data Sourced
via Red Hat·06:51 AM
DescriptionSeverityAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·10:55 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·10:55 PM
DescriptionAffected Software
Data Sourced
via Launchpad·10:55 PM
Description

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2019-13224.

2

What is the severity of CVE-2019-13224?

The severity of CVE-2019-13224 is medium with a CVSS score of 6.8.

3

What is the affected software?

The affected software is PHP version up to exclusive 7.1.32.

4

What is the impact of CVE-2019-13224?

The impact of CVE-2019-13224 can include information disclosure, denial of service, or possibly code execution.

5

How can I fix CVE-2019-13224?

To fix CVE-2019-13224, update to PHP version 7.1.32 or later.

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