CVE-2019-16163 json
Oniguruma before 6.9.3 allows Stack Exhaustion in regcomp.c because of recursion in regparse.c.
published 7y ago modified 4mo ago also EUVD-2019-6983
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.8%
- EPSS 2.8% chance of exploitation in 30 days, percentile 86%
- public exploits
- 0
- none known
Summary
Oniguruma before 6.9.3 allows Stack Exhaustion in regcomp.c because of recursion in regparse.c.
Patch / fix
- oniguruma_project oniguruma 6.9.3
- libonig Debian 14, Debian 13, Debian 12 6.9.4-1
debian advisories DEBIAN-CVE-2019-16163
- libonig Ubuntu Pro 14.04 LTS 5.9.1-1ubuntu1.1+esm2
- libonig Ubuntu Pro 16.04 LTS 5.9.6-1ubuntu0.1+esm2
- libonig Ubuntu Pro 18.04 LTS 6.7.0-1ubuntu0.1~esm2
ubuntu advisories UBUNTU-CVE-2019-16163
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- oniguruma RHEL 8 6.8.2-2.1.el8_9
- 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
red hat advisories RHSA-2024:0889RHSA-2024:0572RHSA-2024:0409RHSA-2020:3662
- oniguruma SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +19 more 6.7.0-150000.3.3.1
suse advisories SUSE-SU-2022:3327-1
- oniguruma AlmaLinux 8 6.8.2-2.1.el8_9
- 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-2024:0889ALSA-2020:3662
- 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:3662
Is CVE-2019-16163 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor 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-16163 updated cvss 6.5
oniguruma: Stack exhaustion in regcomp.c because of recursion in regparse.c
-
Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +21 moreaffected: no fix planned “Out of support scope”
-
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 moreaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Container Platform 4 onigurumaaffected: no fix available
-
Red Hat Software Collections rh-php70-php, rh-php72-php, rh-ruby24-ruby, rh-ruby25-ruby, rh-ruby26-ruby, rh-php70-php-gd, +104 moreaffected: no fix planned “Out of support scope”
-
Red Hat CodeReady Linux Builder (v. 8) oniguruma-devel 6.8.2-2.1.el8_9, oniguruma-debuginfo 6.8.2-2.1.el8_9, oniguruma-debugsource 6.8.2-2.1.el8_9fixed: vendor fix RHSA-2024:0889
-
Red Hat CodeReady Linux Builder EUS (v.8.6) oniguruma-devel 6.8.2-2.1.el8_6, oniguruma-debuginfo 6.8.2-2.1.el8_6, oniguruma-debugsource 6.8.2-2.1.el8_6fixed: vendor fix RHSA-2024:0409
-
Red Hat CodeReady Linux Builder EUS (v.8.8) oniguruma-devel 6.8.2-2.1.el8_8, oniguruma-debuginfo 6.8.2-2.1.el8_8, oniguruma-debugsource 6.8.2-2.1.el8_8fixed: vendor fix RHSA-2024:0572
-
Red Hat Enterprise Linux AppStream (v. 8) oniguruma 6.8.2-2.1.el8_9, 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 morefixed: vendor fix RHSA-2020:3662
show 3 moreshow fewer
-
Red Hat Enterprise Linux AppStream EUS (v.8.6) oniguruma 6.8.2-2.1.el8_6fixed: vendor fix RHSA-2024:0409
-
Red Hat Enterprise Linux AppStream EUS (v.8.8) oniguruma 6.8.2-2.1.el8_8fixed: vendor fix RHSA-2024:0572
-
Red Hat Software Collections rh-php73-php, rh-php73-php-gd, rh-php73-php-cli, rh-php73-php-dba, rh-php73-php-dbg, rh-php73-php-fpm, +22 morenot 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.75% chance of exploitation in the next 30 days, higher than 86% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/kkos/oniguruma/issues/147 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-674 Uncontrolled Recursion
References
-
github.com
/kkos/oniguruma/commit/4097828d7cc87589864fecf452f2cd46c5f37180
patch
-
github.com
/kkos/oniguruma/issues/147
exploit, issue-tracking, patch, third-party-advisory
-
github.com
/kkos/oniguruma/compare/v6.9.2...v6.9.3
patch, release-notes
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/NWOWZZNFSAWM3BUTQNAE3PD44A6JU4KE/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/ZW47MSFZ6WYOAOFXHBDGU4LYACFRKC2Y/
vendor-advisory
-
usn.ubuntu.com
/4460-1/
vendor-advisory, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2019/09/msg00010.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2019-16163
- NVD CVE-2019-16163
Fencer Intel 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.