Vulnerabilities / CVE-2019-19012

critical

CVE-2019-19012

oniguruma: integer overflow in search_in_range function in regexec.c leads to out-of-bounds read

Published Modified CWE 125, 190
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), AlmaLinux (medium), Amazon (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (medium).

Description

An integer overflow in the search_in_range function in regexec.c in Oniguruma 6.x before 6.9.4_rc2 leads to an out-of-bounds read, in which the offset of this read is under the control of an attacker. (This only affects the 32-bit compiled version). Remote attackers can cause a denial-of-service or information disclosure, or possibly have unspecified other impact, via a crafted regular expression.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 2.0oniguruma6.9.3-1.ph2
Photon OS 3.0oniguruma6.9.3-2.ph3
alma 8oniguruma, oniguruma-devel, ruby:2.5::ruby and 31 more6.8.2-2.1.el8_9 and 22 more
amazon linux 2oniguruma, oniguruma-debuginfo, oniguruma-devel5.9.6-1.amzn2.0.3
debian 10libonigno fix listed
debian 11libonig6.9.4-1
debian 12libonig6.9.4-1
debian 13libonig6.9.4-1
debian 14libonig6.9.4-1
debian 8libonig5.9.5-3.2+deb8u4
debian 9libonig6.1.3-2+deb9u1
echolibonig6.9.4-1
Show all 185 entries from 18 sources
SourcePackageFixed in
Photon OS 2.0oniguruma6.9.3-1.ph2
Photon OS 3.0oniguruma6.9.3-2.ph3
alma 8oniguruma6.8.2-2.1.el8_9
alma 8oniguruma-devel6.8.2-2.1.el8_9
alma 8ruby:2.5::ruby2.5.9-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::ruby-devel2.5.9-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::ruby-doc2.5.9-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::ruby-irb2.5.9-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::ruby-libs2.5.9-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-abrt0.3.0-4.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-abrt-doc0.3.0-4.module_el8.10.0+3871+342e2c2f
alma 8ruby:2.5::rubygem-bigdecimal1.3.4-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-bson4.3.0-2.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-bundler1.16.1-5.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-bundler-doc1.16.1-5.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-did_you_mean1.2.0-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-io-console0.4.6-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-json2.1.0-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-minitest5.10.3-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-mongo2.5.1-2.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-mongo-doc2.5.1-2.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-mysql20.4.10-4.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-mysql2-doc0.4.10-4.module_el8.5.0+2625+ec418553
alma 8ruby:2.5::rubygem-net-telnet0.1.1-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-openssl2.1.2-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-pg1.0.0-3.module_el8.9.0+3635+c6f99506
alma 8ruby:2.5::rubygem-pg-doc1.0.0-3.module_el8.9.0+3635+c6f99506
alma 8ruby:2.5::rubygem-power_assert1.1.1-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-psych3.0.2-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-rake12.3.3-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-rdoc6.0.1.1-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-test-unit3.2.7-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygem-xmlrpc0.3.0-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygems2.7.6.3-114.module_el8.10.0+3991+5e651d4e
alma 8ruby:2.5::rubygems-devel2.7.6.3-114.module_el8.10.0+3991+5e651d4e
amazon linux 2oniguruma5.9.6-1.amzn2.0.3
amazon linux 2oniguruma-debuginfo5.9.6-1.amzn2.0.3
amazon linux 2oniguruma-devel5.9.6-1.amzn2.0.3
debian 10libonigno fix listed
debian 11libonig6.9.4-1
debian 12libonig6.9.4-1
debian 13libonig6.9.4-1
debian 14libonig6.9.4-1
debian 8libonig5.9.5-3.2+deb8u4
debian 9libonig6.1.3-2+deb9u1
echolibonig6.9.4-1
Oracle Linux 8oniguruma6.8.2-2.1.el8_9
Oracle Linux 8oniguruma-devel6.8.2-2.1.el8_9
Oracle Linux 8ruby2.5.9-114.module+el8.10.0+90580+29305b94
Oracle Linux 8ruby-devel2.5.9-114.module+el8.10.0+90580+29305b94
Oracle Linux 8ruby-doc2.5.9-114.module+el8.10.0+90580+29305b94
Oracle Linux 8ruby-irb2.5.9-114.module+el8.10.0+90580+29305b94
Oracle Linux 8ruby-libs2.5.9-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-abrt0.3.0-4.module+el8.10.0+90367+ae9e8511
Oracle Linux 8rubygem-abrt-doc0.3.0-4.module+el8.10.0+90367+ae9e8511
Oracle Linux 8rubygem-bigdecimal1.3.4-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-bson4.3.0-2.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-bson-doc4.3.0-2.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-bundler1.16.1-5.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-bundler-doc1.16.1-5.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-did_you_mean1.2.0-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-io-console0.4.6-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-json2.1.0-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-minitest5.10.3-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-mongo2.5.1-2.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-mongo-doc2.5.1-2.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-mysql20.4.10-4.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-mysql2-doc0.4.10-4.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-net-telnet0.1.1-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-openssl2.1.2-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-pg1.0.0-3.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-pg-doc1.0.0-3.module+el8.9.0+90042+a65659a6
Oracle Linux 8rubygem-power_assert1.1.1-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-psych3.0.2-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-rake12.3.3-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-rdoc6.0.1.1-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-test-unit3.2.7-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygem-xmlrpc0.3.0-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygems2.7.6.3-114.module+el8.10.0+90580+29305b94
Oracle Linux 8rubygems-devel2.7.6.3-114.module+el8.10.0+90580+29305b94
Red Hatonigurumano fix listed
Red Hatoniguruma-develno fix listed
Red Hatphpno fix listed
Red Hatphp-bcmathno fix listed
Red Hatphp-clino fix listed
Red Hatphp-commonno fix listed
Red Hatphp-dbano fix listed
Red Hatphp-develno fix listed
Red Hatphp-embeddedno fix listed
Red Hatphp-enchantno fix listed
Red Hatphp-fpmno fix listed
Red Hatphp-gdno fix listed
Red Hatphp-imapno fix listed
Red Hatphp-intlno fix listed
Red Hatphp-ldapno fix listed
Red Hatphp-mbstringno fix listed
Red Hatphp-mysqlno fix listed
Red Hatphp-odbcno fix listed
Red Hatphp-pdono fix listed
Red Hatphp-pgsqlno fix listed
Red Hatphp-processno fix listed
Red Hatphp-pspellno fix listed
Red Hatphp-recodeno fix listed
Red Hatphp-snmpno fix listed
Red Hatphp-soapno fix listed
Red Hatphp-tidyno fix listed
Red Hatphp-xmlno fix listed
Red Hatphp-xmlrpcno fix listed
Red Hatphp-ztsno fix listed
Red Hatruby:2.6::rubyno fix listed
Red Hatruby:2.6::ruby-bundled-gemsno fix listed
Red Hatruby:2.6::ruby-default-gemsno fix listed
Red Hatruby:2.6::ruby-develno fix listed
Red Hatruby:2.6::ruby-docno fix listed
Red Hatruby:2.6::ruby-irbno fix listed
Red Hatruby:2.6::ruby-libsno fix listed
Red Hatruby:2.6::rubygem-abrtno fix listed
Red Hatruby:2.6::rubygem-abrt-docno fix listed
Red Hatruby:2.6::rubygem-bigdecimalno fix listed
Red Hatruby:2.6::rubygem-bsonno fix listed
Red Hatruby:2.6::rubygem-bson-docno fix listed
Red Hatruby:2.6::rubygem-bundlerno fix listed
Red Hatruby:2.6::rubygem-bundler-docno fix listed
Red Hatruby:2.6::rubygem-did_you_meanno fix listed
Red Hatruby:2.6::rubygem-io-consoleno fix listed
Red Hatruby:2.6::rubygem-irbno fix listed
Red Hatruby:2.6::rubygem-jsonno fix listed
Red Hatruby:2.6::rubygem-minitestno fix listed
Red Hatruby:2.6::rubygem-mongono fix listed
Red Hatruby:2.6::rubygem-mongo-docno fix listed
Red Hatruby:2.6::rubygem-mysql2no fix listed
Red Hatruby:2.6::rubygem-mysql2-docno fix listed
Red Hatruby:2.6::rubygem-net-telnetno fix listed
Red Hatruby:2.6::rubygem-opensslno fix listed
Red Hatruby:2.6::rubygem-pgno fix listed
Red Hatruby:2.6::rubygem-pg-docno fix listed
Red Hatruby:2.6::rubygem-power_assertno fix listed
Red Hatruby:2.6::rubygem-psychno fix listed
Red Hatruby:2.6::rubygem-raccno fix listed
Red Hatruby:2.6::rubygem-rakeno fix listed
Red Hatruby:2.6::rubygem-rbsno fix listed
Red Hatruby:2.6::rubygem-rdocno fix listed
Red Hatruby:2.6::rubygem-rexmlno fix listed
Red Hatruby:2.6::rubygem-rssno fix listed
Red Hatruby:2.6::rubygem-test-unitno fix listed
Red Hatruby:2.6::rubygem-typeprofno fix listed
Red Hatruby:2.6::rubygem-xmlrpcno fix listed
Red Hatruby:2.6::rubygemsno fix listed
Red Hatruby:2.6::rubygems-develno fix listed
rocky 8ruby:2.5::ruby2.5.9-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::ruby-devel2.5.9-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::ruby-doc2.5.9-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::ruby-irb2.5.9-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::ruby-libs2.5.9-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-abrt0.3.0-4.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-abrt-doc0.3.0-4.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-bigdecimal1.3.4-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-bson4.3.0-2.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-bson-doc4.3.0-2.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-bundler1.16.1-5.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-bundler-doc1.16.1-5.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-did_you_mean1.2.0-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-io-console0.4.6-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-json2.1.0-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-minitest5.10.3-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-mongo2.5.1-2.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-mongo-doc2.5.1-2.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-mysql20.4.10-4.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-mysql2-doc0.4.10-4.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-net-telnet0.1.1-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-openssl2.1.2-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-pg1.0.0-3.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-pg-doc1.0.0-3.module+el8.9.0+1536+5f79634e
rocky 8ruby:2.5::rubygem-power_assert1.1.1-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-psych3.0.2-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-rake12.3.3-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-rdoc6.0.1.1-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-test-unit3.2.7-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygem-xmlrpc0.3.0-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygems2.7.6.3-114.module+el8.10.0+1979+815637df
rocky 8ruby:2.5::rubygems-devel2.7.6.3-114.module+el8.10.0+1979+815637df
ubuntu 14.04-ESMlibonig5.9.1-1ubuntu1.1+esm2
ubuntu 16.04-ESMlibonig5.9.6-1ubuntu0.1+esm2
ubuntu 18.04-ESMlibonig6.7.0-1ubuntu0.1~esm2

References

All 24 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.