Skip to main content

CVE tracker

CVE-2019-19246

Oniguruma heap over-read in str_lower_case_match

Severity: High CVSS 7.5. Status in our packages: Fixed.

About CVE-2019-19246

Oniguruma through 6.9.3, as used in PHP 7.3.x and other products, has a heap-based buffer over-read in str_lower_case_match in regexec.c.

Description quoted from the CVE record at cve.org.

Published2019-11-25

Status in GetPageSpeed packages

ProductStatusFixed inDetails
PHP 5.3Fixed5.3.3-61Backported as php-cve-2019-19246.patch. Everpatch PHP
PHP 5.4Fixed5.4.45-34Backported as php-cve-2019-19246.patch. Everpatch PHP
PHP 5.6Fixed5.6.40-60Backported as php-cve-2019-19246.patch. Everpatch PHP
PHP 7.0Fixed7.0.33-61Backported as php-cve-2019-19246.patch. Everpatch PHP
PHP 7.1Fixed7.1.33-54Backported as php-cve-2019-19246.patch. Everpatch PHP
PHP 7.2Not affectedlinks system oniguruma5php 6.9.9 (fixed in 6.9.4) Everpatch PHP

Check a server for CVE-2019-19246

Everpatch PHP on Enterprise Linux: PHP 5.3 5.3.3-61 or later, PHP 5.4 5.4.45-34 or later, PHP 5.6 5.6.40-60 or later, PHP 7.0 7.0.33-61 or later, PHP 7.1 7.1.33-54 or later. The package changelog names every CVE a build fixes.

rpm -q php-common
rpm -q --changelog php-common | grep -F CVE-2019-19246

After a PHP update, restart PHP-FPM (and Apache httpd if it runs mod_php): the old processes keep the vulnerable code until then.

Fixed in the same build

  • CVE-2025-1220: Null byte termination in hostnames
  • CVE-2025-1217: Header parser of http stream wrapper does not handle folded headers
  • CVE-2024-11236: Integer overflow in the firebird and dblib quoters causing OOB writes
  • CVE-2019-11038: Uninitialized read in gdImageCreateFromXbm
  • CVE-2017-9120: Integer overflow in mysqli_real_escape_string
  • CVE-2017-9119: Crash in i_zval_ptr_dtor after a memory limit error

Scanner feeds (OVAL, CSAF, OpenVEX), fix-time targets and answers to common questions: the CVE tracker.