out-of-bounds read when using a malformed url-encoded string

Publication Date2020-04-10
SeverityLow
TypeInformation Disclosure
Affected PHP Versions
  • 7.2.0 - 7.2.29
  • 7.3.0 - 7.3.16
  • 7.4.0 - 7.4.4

CVE Details

In PHP versions 7.2.x below 7.2.30, 7.3.x below 7.3.17, and 7.4.x below 7.4.5, if PHP is compiled with EBCDIC support (uncommon), the urldecode() function can be made to access locations past the allocated memory, due to erroneously using signed numbers as array indexes.

Recommendations

Upgrade to PHP 7.2.30 or above, 7.3.17 or above, or 7.4.5 or above.