CVE-2019-19012

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…

published November 16, 2019

CVSS
—
EPSS
11%
Percentile
95.8
In the wild
Unconfirmed
What it is

⚠️ An integer overflow in a seemingly innocent function opens a door to trouble! With just a crafted regular expression, attackers can trigger an out-of-bounds read. 🔥 Think of this like a librarian who accepts any book request without checking the catalog. If the request is off the charts, they might end up handing out books that aren't even in the library! An attacker can exploit this vulnerability to cause a denial-of-service, potentially crashing the system, or even worse, leak sensitive information. It's like leaving the library door wide open, inviting the wrong guests to stroll in and cause chaos!

Put simply

Think of this like a librarian who accepts any book request without checking the catalog. If the request is off the charts, they might end up handing out books that aren't even in the library! The integer overflow in the search_in_range function of Oniguruma 6.x before version 6.9.4_rc2 allows attackers to manipulate the offset for an out-of-bounds read, mainly affecting 32-bit compiled versions.

What to do

An attacker can exploit this vulnerability to cause a denial-of-service, potentially crashing the system, or even worse, leak sensitive information. It's like leaving the library door wide open, inviting the wrong guests to stroll in and cause chaos! Upgrade Oniguruma to version 6.9.4_rc2 or later to patch this vulnerability. Additionally, review your code for any regular expressions that could be exploited and consider implementing strict input validation. 🛡️ You've got this! With these steps, you'll not only secure your system but also level up your security hero status! 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.10628 · 95.8th percentile
Published
2019-11-16T15:30Z
EPSS history
Timeline
  • 16 NOV 15:30Z
    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…
    cvelistv5