cve.bz

CVE-2019-19012 Out-of-bounds Read

9.8 criticalExploit referenceEPSS 11%Fix available

Critical (9.8). EPSS 11% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
11% (unchanged from 11% a week ago; 11% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-125 Out-of-bounds Read
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-19012 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19012?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19012?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-19012 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oniguruma_project:onigurumafrom 6.0.0 through 6.9.3
oniguruma_project:oniguruma6.9.4:rc1
debian:debian_linux8.0
fedoraproject:fedora30
fedoraproject:fedora31
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libonig5.9.5-3.2+deb8u4DLA-2020-1
Debian9libonig6.1.3-2+deb9u1DLA-2431-1
Debian12, 13, 14libonig6.9.4-1DEBIAN-CVE-2019-19012
UbuntuPro:14.04:LTSlibonig5.9.1-1ubuntu1.1+esm2UBUNTU-CVE-2019-19012 USN-4460-1 USN-5662-1
UbuntuPro:16.04:LTSlibonig5.9.6-1ubuntu0.1+esm2UBUNTU-CVE-2019-19012 USN-5662-1
UbuntuPro:18.04:LTSlibonig6.7.0-1ubuntu0.1~esm2UBUNTU-CVE-2019-19012 USN-5662-1
Red Hatenterprise_linux:8::appstreamoniguruma, oniguruma-debuginfo, oniguruma-debugsource0:6.8.2-2.1.el8_9RHSA-2024:0889
Red Hatenterprise_linux:8::appstreamruby, ruby-doc, ruby-irb and 5 more0:2.5.9-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-abrt, rubygem-abrt-doc0:0.3.0-4.module+el8.10.0+22021+135c76a8RHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-bigdecimal, rubygem-bigdecimal-debuginfo0:1.3.4-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-bson, rubygem-bson-doc, rubygem-bson-debuginfo and 1 more0:4.3.0-2.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-bundler, rubygem-bundler-doc0:1.16.1-5.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-did_you_mean0:1.2.0-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-io-console, rubygem-io-console-debuginfo0:0.4.6-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-json, rubygem-json-debuginfo0:2.1.0-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-minitest0:5.10.3-114.module+el8.10.0+23088+750dc6caRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-mongo, rubygem-mongo-doc0:2.5.1-2.module+el8.9.0+19193+435404aeRHSA-2025:7539
Red Hatenterprise_linux:8::appstreamrubygem-mysql2, rubygem-mysql2-doc, rubygem-mysql2-debuginfo and 1 more0:0.4.10-4.module+el8.9.0+19193+435404aeRHSA-2025:7539
15 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedoniguruma6.9.7.1-1.2openSUSE-SU-2024:11111-1
AlmaLinux8oniguruma, oniguruma-devel6.8.2-2.1.el8_9ALSA-2024:0889
AlmaLinux8ruby, ruby-doc, ruby-irb and 2 more2.5.9-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux8rubygem-abrt0.3.0-4.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux8rubygem-abrt-doc0.3.0-4.module_el8.10.0+3871+342e2c2fALSA-2025:7539
AlmaLinux8rubygem-bigdecimal1.3.4-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux8rubygem-bson4.3.0-2.module_el8.5.0+259+8cec6917ALSA-2025:7539
AlmaLinux8rubygem-bson4.3.0-2.module_el8.6.0+3170+4b08f9d4ALSA-2025:7539
AlmaLinux8rubygem-bson, rubygem-bson-doc4.3.0-2.module_el8.5.0+2625+ec418553ALSA-2025:7539
AlmaLinux8rubygem-bundler, rubygem-bundler-doc1.16.1-5.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux8rubygem-did_you_mean1.2.0-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux8rubygem-io-console0.4.6-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
AlmaLinux8rubygem-json2.1.0-114.module_el8.10.0+3991+5e651d4eALSA-2025:7539
15 more for AlmaLinux in the JSON.
Rocky Linux8ruby0:2.5.9-114.module+el8.10.0+1979+815637dfRLSA-2025:7539
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.5.0+738+032c9c02RLSA-2025:7539
Rocky Linux8rubygem-abrt0:0.3.0-4.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux8rubygem-bson0:4.3.0-2.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux8rubygem-bundler0:1.16.1-5.module+el8.10.0+1979+815637dfRLSA-2025:7539
Rocky Linux8rubygem-mongo0:2.5.1-2.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux8rubygem-mysql20:0.4.10-4.module+el8.9.0+1536+5f79634eRLSA-2025:7539
Rocky Linux8rubygem-pg0:1.0.0-3.module+el8.9.0+1536+5f79634eRLSA-2025:7539

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw only affected 32-bit compiled versions of Oniguruma. Therefore it did not affect the following 64-bit versions:

* PHP and Ruby as shipped with Red Hat Enterprise Linux 7.

* PHP and Ruby as shipped with Red Hat Software Collections 3.

* PHP as shipped with Red Hat Enterprise Linux 8.

* OpenShift containers: openshift4/ose-metering-hadoop, openshift4/ose-metering-hive, openshift4/ose-metering-presto.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8oniguruma-0:6.8.2-2.1.el8_9Fixed 2024-02-20RHSA-2024:0889
Red Hat Enterprise Linux 8ruby:2.5-8100020250506105643.489197e6Fixed 2025-05-14RHSA-2025:7539
Red Hat Enterprise Linux 8.6 Extended Update Supportoniguruma-0:6.8.2-2.1.el8_6Fixed 2024-01-25RHSA-2024:0409
Red Hat Enterprise Linux 8.8 Extended Update Supportoniguruma-0:6.8.2-2.1.el8_8Fixed 2024-01-30RHSA-2024:0572
Red Hat Enterprise Linux 5phpOut of support scope
Red Hat Enterprise Linux 5php53Out of support scope
Red Hat Enterprise Linux 6onigurumaOut of support scope
Red Hat Enterprise Linux 6phpOut of support scope
Red Hat Enterprise Linux 7phpNot affected
Red Hat Enterprise Linux 7rubyNot affected
Red Hat Enterprise Linux 8php:7.2/phpNot affected
Red Hat Enterprise Linux 8php:7.3/phpNot affected
Red Hat Enterprise Linux 8ruby:2.6/rubyWill not fix
Red Hat OpenShift Container Platform 4onigurumaNot affected
Red Hat Software Collectionsrh-php72-phpNot affected
Red Hat Software Collectionsrh-php73-phpNot affected
Red Hat Software Collectionsrh-ruby24-rubyNot affected
Red Hat Software Collectionsrh-ruby25-rubyNot affected
Red Hat Software Collectionsrh-ruby26-rubyNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-19012.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High
  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON