CVE-2019-13225 Null dereference in n/a

Medium 6.5 Published Updated

Attackers can cause denial of service in applications using Oniguruma by providing a crafted regular expression that triggers a null pointer dereference.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-13225?

CVE-2019-13225 is a medium-severity vulnerability in Fedoraproject Fedora, published on 10 Jul 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

A NULL Pointer Dereference in match_at() in regexec.c in Oniguruma 6.9.2 allows attackers to potentially cause denial of service by providing a crafted regular expression. Oniguruma issues often affect Ruby, as well as common optional libraries for PHP and Rust.

Weakness: CWE-476

Which versions are affected by CVE-2019-13225?

It affects 2 products.

Linux distribution packages (18)
oniguruma AlmaLinux:8All versions6.8.2-2.el8
oniguruma-devel AlmaLinux:8All versions6.8.2-2.el8
oniguruma Red Hat:enterprise_linux:8::appstreamAll versions0:6.8.2-2.el8
oniguruma-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:6.8.2-2.el8
oniguruma-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:6.8.2-2.el8
oniguruma-debuginfo Red Hat:enterprise_linux:8::crbAll versions0:6.8.2-2.el8
oniguruma-debugsource Red Hat:enterprise_linux:8::crbAll versions0:6.8.2-2.el8
oniguruma-devel Red Hat:enterprise_linux:8::crbAll versions0:6.8.2-2.el8
oniguruma Rocky Linux:8All versions0:6.8.2-2.el8
oniguruma SUSE:Linux Enterprise Micro 5.1All versions6.7.0-150000.3.6.1
oniguruma SUSE:Linux Enterprise Micro 5.2All versions6.7.0-150000.3.6.1
oniguruma SUSE:Linux Enterprise Micro 5.3All versions6.7.0-150000.3.6.1
oniguruma SUSE:Linux Enterprise Micro 5.4All versions6.7.0-150000.3.6.1
oniguruma SUSE:Linux Enterprise Micro 5.5All versions6.7.0-150000.3.6.1
oniguruma SUSE:Linux Enterprise Module for Basesystem 15 SP5All versions6.7.0-150000.3.6.1
oniguruma SUSE:Linux Enterprise Module for Basesystem 15 SP6All versions6.7.0-150000.3.6.1
oniguruma openSUSE:Leap 15.5All versions6.7.0-150000.3.6.1
oniguruma openSUSE:Leap 15.6All versions6.7.0-150000.3.6.1

Products include Fedoraproject Fedora, Oniguruma Project Oniguruma.

How do I fix CVE-2019-13225?

Apply the vendor's patch.

Is CVE-2019-13225 being exploited?

There is no known exploitation of CVE-2019-13225 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALSA-2020:4827, DEBIAN-CVE-2019-13225, GHSA-cc6v-h3w4-jf38, RHSA-2020:4827, RLSA-2020:4827, SUSE-SU-2024:2401-1.

Is CVE-2019-13225 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free