CVEfocus › CVE database › CVE-2019-19012

CVE-2019-19012

EPSS 10.6% (higher than 96% of CVEs)Published 2019-11-16Updated 2024-08-05Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

78Fixed
3Fix pending
39Will not fix
81Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libonigNot affected
vulnerable_code_not_present
Ubuntu 20.04libonigNot affected
vulnerable_code_not_present
Ubuntu 18.04libonigFix pending6.7.0-1ubuntu0.1~esm2 (Ubuntu Pro)UBUNTU-CVE-2019-19012
Ubuntu 16.04libonigFix pending5.9.6-1ubuntu0.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-19012
Ubuntu 14.04libonigFix pending5.9.1-1ubuntu1.1+esm2 (Ubuntu Pro)UBUNTU-CVE-2019-19012
Debian 14libonigFixed6.9.4-1DEBIAN-CVE-2019-19012
Debian 13libonigFixed6.9.4-1DEBIAN-CVE-2019-19012
Debian 12libonigFixed6.9.4-1DEBIAN-CVE-2019-19012
Red Hat Enterprise Linux 8apcu-panelNot affected
Red Hat Enterprise Linux 8libzipNot affected
Red Hat Enterprise Linux 8libzip-develNot affected
Red Hat Enterprise Linux 8libzip-toolsNot affected
Red Hat Enterprise Linux 8onigurumaFixed0:6.8.2-2.1.el8_9RHSA-2024:0889
Red Hat Enterprise Linux 8oniguruma-develFixed0:6.8.2-2.1.el8_9RHSA-2024:0889
Red Hat Enterprise Linux 8phpNot affected
Red Hat Enterprise Linux 8php-bcmathNot affected
Red Hat Enterprise Linux 8php-cliNot affected
Red Hat Enterprise Linux 8php-commonNot affected
Red Hat Enterprise Linux 8php-dbaNot affected
Red Hat Enterprise Linux 8php-dbgNot affected
Red Hat Enterprise Linux 8php-develNot affected
Red Hat Enterprise Linux 8php-embeddedNot affected
Red Hat Enterprise Linux 8php-enchantNot affected
Red Hat Enterprise Linux 8php-ffiNot affected
Red Hat Enterprise Linux 8php-fpmNot affected
Red Hat Enterprise Linux 8php-gdNot affected
Red Hat Enterprise Linux 8php-gmpNot affected
Red Hat Enterprise Linux 8php-intlNot affected
Red Hat Enterprise Linux 8php-jsonNot affected
Red Hat Enterprise Linux 8php-ldapNot affected
Red Hat Enterprise Linux 8php-mbstringNot affected
Red Hat Enterprise Linux 8php-mysqlndNot affected
Red Hat Enterprise Linux 8php-odbcNot affected
Red Hat Enterprise Linux 8php-opcacheNot affected
Red Hat Enterprise Linux 8php-pdoNot affected
Red Hat Enterprise Linux 8php-pearNot affected
Red Hat Enterprise Linux 8php-pecl-apcuNot affected
Red Hat Enterprise Linux 8php-pecl-apcu-develNot affected
Red Hat Enterprise Linux 8php-pecl-rrdNot affected
Red Hat Enterprise Linux 8php-pecl-xdebugNot affected
Red Hat Enterprise Linux 8php-pecl-xdebug3Not affected
Red Hat Enterprise Linux 8php-pecl-zipNot affected
Red Hat Enterprise Linux 8php-pgsqlNot affected
Red Hat Enterprise Linux 8php-processNot affected
Red Hat Enterprise Linux 8php-recodeNot affected
Red Hat Enterprise Linux 8php-snmpNot affected
Red Hat Enterprise Linux 8php-soapNot affected
Red Hat Enterprise Linux 8php-xmlNot affected
Red Hat Enterprise Linux 8php-xmlrpcNot affected
Red Hat Enterprise Linux 8rubyFixed
Will not fix
0:2.5.9-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8ruby-bundled-gemsWill not fix
Will not fix
Red Hat Enterprise Linux 8ruby-default-gemsWill not fix
Will not fix
Red Hat Enterprise Linux 8ruby-develFixed
Will not fix
0:2.5.9-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8ruby-docFixed
Will not fix
0:2.5.9-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8ruby-irbFixed
Will not fix
0:2.5.9-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8ruby-libsFixed
Will not fix
0:2.5.9-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-abrtFixed
Will not fix
0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-abrt-docFixed
Will not fix
0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-bigdecimalFixed
Will not fix
0:1.3.4-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-bsonFixed
Will not fix
0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-bson-docFixed
Will not fix
0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-bundlerFixed
Will not fix
0:1.16.1-5.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-bundler-docFixed
Will not fix
0:1.16.1-5.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-did_you_meanFixed
Will not fix
0:1.2.0-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-io-consoleFixed
Will not fix
0:0.4.6-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-irbWill not fix
Will not fix
Red Hat Enterprise Linux 8rubygem-jsonFixed
Will not fix
0:2.1.0-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-minitestFixed
Will not fix
0:5.10.3-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-mongoFixed
Will not fix
0:2.5.1-2.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-mongo-docFixed
Will not fix
0:2.5.1-2.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-mysql2Fixed
Will not fix
0:0.4.10-4.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-mysql2-docFixed
Will not fix
0:0.4.10-4.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-net-telnetFixed
Will not fix
0:0.1.1-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-opensslFixed
Will not fix
0:2.1.2-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-pgFixed
Will not fix
0:1.0.0-3.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-pg-docFixed
Will not fix
0:1.0.0-3.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-power_assertFixed
Will not fix
0:1.1.1-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-psychFixed
Will not fix
0:3.0.2-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-raccWill not fix
Will not fix
Red Hat Enterprise Linux 8rubygem-rakeFixed
Will not fix
0:12.3.3-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-rbsWill not fix
Will not fix
Red Hat Enterprise Linux 8rubygem-rdocFixed
Will not fix
0:6.0.1.1-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-rexmlWill not fix
Will not fix
Red Hat Enterprise Linux 8rubygem-rssWill not fix
Will not fix
Red Hat Enterprise Linux 8rubygem-test-unitFixed
Will not fix
0:3.2.7-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygem-typeprofWill not fix
Will not fix
Red Hat Enterprise Linux 8rubygem-xmlrpcFixed
Will not fix
0:0.3.0-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygemsFixed
Will not fix
0:2.7.6.3-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 8rubygems-develFixed
Will not fix
0:2.7.6.3-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 7php-bcmathNot affected
Red Hat Enterprise Linux 7php-cliNot affected
Red Hat Enterprise Linux 7php-commonNot affected
Red Hat Enterprise Linux 7php-dbaNot affected
Red Hat Enterprise Linux 7php-develNot affected
Red Hat Enterprise Linux 7php-embeddedNot affected
Red Hat Enterprise Linux 7php-enchantNot affected
Red Hat Enterprise Linux 7php-fpmNot affected
Red Hat Enterprise Linux 7php-gdNot affected
Red Hat Enterprise Linux 7php-intlNot affected
Red Hat Enterprise Linux 7php-ldapNot affected
Red Hat Enterprise Linux 7php-mbstringNot affected
Red Hat Enterprise Linux 7php-mysqlNot affected
Red Hat Enterprise Linux 7php-mysqlndNot affected
Red Hat Enterprise Linux 7php-odbcNot affected
Red Hat Enterprise Linux 7php-pdoNot affected
Red Hat Enterprise Linux 7php-pgsqlNot affected
Red Hat Enterprise Linux 7php-processNot affected
Red Hat Enterprise Linux 7php-pspellNot affected
Red Hat Enterprise Linux 7php-recodeNot affected
Red Hat Enterprise Linux 7php-snmpNot affected
Red Hat Enterprise Linux 7php-soapNot affected
Red Hat Enterprise Linux 7php-xmlNot affected
Red Hat Enterprise Linux 7php-xmlrpcNot affected
Red Hat Enterprise Linux 7rubyNot affected
Red Hat Enterprise Linux 7ruby-develNot affected
Red Hat Enterprise Linux 7ruby-docNot affected
Red Hat Enterprise Linux 7ruby-irbNot affected
Red Hat Enterprise Linux 7ruby-libsNot affected
Red Hat Enterprise Linux 7ruby-tcltkNot affected
Red Hat Enterprise Linux 7rubygem-bigdecimalNot affected
Red Hat Enterprise Linux 7rubygem-io-consoleNot affected
Red Hat Enterprise Linux 7rubygem-jsonNot affected
Red Hat Enterprise Linux 7rubygem-minitestNot affected
Red Hat Enterprise Linux 7rubygem-psychNot affected
Red Hat Enterprise Linux 7rubygem-rakeNot affected
Red Hat Enterprise Linux 7rubygem-rdocNot affected
Red Hat Enterprise Linux 7rubygemsNot affected
Red Hat Enterprise Linux 7rubygems-develNot affected
Red Hat Enterprise Linux 6onigurumaWill not fix
Out of support scope
Red Hat Enterprise Linux 6oniguruma-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6phpWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-bcmathWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-cliWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-commonWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-dbaWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-enchantWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-fpmWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-gdWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-imapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-intlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-mbstringWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-odbcWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pdoWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pgsqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-processWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-pspellWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-recodeWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-snmpWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-soapWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-tidyWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-xmlWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-xmlrpcWill not fix
Out of support scope
Red Hat Enterprise Linux 6php-ztsWill not fix
Out of support scope
Red Hat Enterprise Linux 5phpWill not fix
Out of support scope
Red Hat Enterprise Linux 5php53Will not fix
Out of support scope
AlmaLinux 8onigurumaFixed6.8.2-2.1.el8_9ALSA-2024:0889
AlmaLinux 8oniguruma-develFixed6.8.2-2.1.el8_9ALSA-2024:0889
AlmaLinux 8rubyFixed2.5.9-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8ruby-develFixed2.5.9-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8ruby-docFixed2.5.9-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8ruby-irbFixed2.5.9-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8ruby-libsFixed2.5.9-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-abrtFixed0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux 8rubygem-abrt-docFixed0.3.0-4.module_el8.10.0+3871+342e2c2fALSA-2025:7539
AlmaLinux 8rubygem-bigdecimalFixed1.3.4-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-bsonFixed4.3.0-2.module_el8.6.0+3170+4b08f9d4ALSA-2025:7539
AlmaLinux 8rubygem-bson-docFixed4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux 8rubygem-bundlerFixed1.16.1-5.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-bundler-docFixed1.16.1-5.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-did_you_meanFixed1.2.0-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-io-consoleFixed0.4.6-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-jsonFixed2.1.0-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-minitestFixed5.10.3-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-mongoFixed2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux 8rubygem-mongo-docFixed2.5.1-2.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux 8rubygem-mysql2Fixed0.4.10-4.module_el8.5.0+259+8cec6917ALSA-2025:7539
AlmaLinux 8rubygem-mysql2-docFixed0.4.10-4.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux 8rubygem-net-telnetFixed0.1.1-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-opensslFixed2.1.2-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-pgFixed1.0.0-3.module_el8.9.0+3635+c6f99506ALSA-2025:7539
AlmaLinux 8rubygem-pg-docFixed1.0.0-3.module_el8.9.0+3635+c6f99506ALSA-2025:7539
AlmaLinux 8rubygem-power_assertFixed1.1.1-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-psychFixed3.0.2-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-rakeFixed12.3.3-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-rdocFixed6.0.1.1-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-test-unitFixed3.2.7-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygem-xmlrpcFixed0.3.0-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygemsFixed2.7.6.3-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux 8rubygems-develFixed2.7.6.3-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
Rocky Linux 8rubyFixed0:2.5.9-114.module+el8.10.0+1979+815637dfRLSA-2025:7539
Rocky Linux 8rubygem-abrtFixed0:0.3.0-4.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux 8rubygem-bsonFixed0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux 8rubygem-bundlerFixed0:1.16.1-5.module+el8.10.0+1979+815637dfRLSA-2025:7539
Rocky Linux 8rubygem-mongoFixed0:2.5.1-2.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux 8rubygem-mysql2Fixed0:0.4.10-4.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux 8rubygem-pgFixed0:1.0.0-3.module+el8.9.0+1536+5f79634eRLSA-2025:7539

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.