Skip to content
Fencer Vulns
medium 6.5

CVE-2019-13225 json

A NULL Pointer Dereference in match_at() in regexec.c in Oniguruma 6.9.2 allows attackers to potentially cause denial of service by providi…

published 2019-07-10 7 y ago modified 2026-06-17 4 mo ago also EUVD-2019-4738

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.1%
EPSS 2.1% chance of exploitation in 30 days, percentile 82%
public exploits
0
none known

Summary

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.

Patch / fix

  • libonig Debian 14, Debian 13, Debian 12 6.9.2-1

debian advisories DEBIAN-CVE-2019-13225

  • php RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
  • libzip RHEL 8 1.5.2-1.module+el8.1.0+3189+a1bff096
  • php-gd RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
  • php-cli RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
  • php-dba RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
  • php-dbg RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
  • php-fpm RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef
  • php-gmp RHEL 8 7.3.20-1.module+el8.2.0+7373+b272fdef

red hat advisories RHSA-2020:3662RHSA-2020:4827

  • oniguruma SLE Module for Basesystem 15 SP6, SLE Module for Basesystem 15 SP5, SLE Micro 5.5 +6 more 6.7.0-150000.3.6.1

suse advisories SUSE-SU-2024:2401-1

  • oniguruma openSUSE Tumbleweed 6.9.7.1-1.2

opensuse advisories openSUSE-SU-2024:11111-1

  • oniguruma AlmaLinux 8 6.8.2-2.el8
  • php AlmaLinux 8 7.3.20-1.module_el8.4.0+2229+b272fdef
  • php AlmaLinux 8 7.3.20-1.module_el8.5.0+152+112d3b8c
  • php AlmaLinux 8 7.3.20-1.module_el8.3.0+2009+b272fdef
  • libzip AlmaLinux 8 1.5.2-1.module_el8.5.0+152+112d3b8c
  • libzip AlmaLinux 8 1.5.2-1.module_el8.3.0+2009+b272fdef
  • libzip AlmaLinux 8 1.5.2-1.module_el8.4.0+2229+b272fdef
  • php-gd AlmaLinux 8 7.3.20-1.module_el8.4.0+2229+b272fdef

almalinux advisories ALSA-2020:4827ALSA-2020:3662

  • oniguruma Rocky Linux 8 6.8.2-2.el8
  • php Rocky Linux 8 7.3.20-1.module+el8.4.0+414+2e7afcdd
  • libzip Rocky Linux 8 1.5.2-1.module+el8.4.0+414+2e7afcdd
  • php-pear Rocky Linux 8 1:1.10.9-1.module+el8.4.0+414+2e7afcdd
  • php-pecl-rrd Rocky Linux 8 2.0.1-1.module+el8.4.0+414+2e7afcdd
  • php-pecl-zip Rocky Linux 8 1.15.4-1.module+el8.4.0+414+2e7afcdd
  • php-pecl-apcu Rocky Linux 8 5.1.17-1.module+el8.4.0+414+2e7afcdd
  • php-pecl-xdebug Rocky Linux 8 2.8.0-1.module+el8.4.0+414+2e7afcdd

rocky linux advisories RLSA-2020:4827RLSA-2020:3662

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-13225 updated cvss 5.3

oniguruma: NULL pointer dereference in match_at() in regexec.c

  • Red Hat CodeReady Linux Builder (v. 8) oniguruma-devel 6.8.2-2.el8, oniguruma-debuginfo 6.8.2-2.el8, oniguruma-debugsource 6.8.2-2.el8
    fixed: vendor fix RHSA-2020:4827
  • Red Hat Enterprise Linux AppStream (v. 8) oniguruma 6.8.2-2.el8, php 7.3.20-1.module+el8.2.0+7373+b272fdef, libzip 1.5.2-1.module+el8.1.0+3189+a1bff096, php-gd 7.3.20-1.module+el8.2.0+7373+b272fdef, php-cli 7.3.20-1.module+el8.2.0+7373+b272fdef, php-dba 7.3.20-1.module+el8.2.0+7373+b272fdef, +29 more
    fixed: vendor fix RHSA-2020:3662
  • Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +21 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more Red Hat Enterprise Linux 8 php, ruby, libzip, php-gd, php-cli, php-dba, +61 more Red Hat OpenShift Container Platform 4 oniguruma Red Hat Software Collections rh-php70-php, rh-php72-php, rh-php73-php, rh-ruby24-ruby, rh-ruby25-ruby, rh-ruby26-ruby, +132 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.