Global buffer-overflow in mbfl_filt_conv_big5_wchar function

Publication Date2020-01-23
SeverityModerate
TypeInformation Disclosure
Affected PHP Versions
  • 7.2.0 - 7.2.26
  • 7.3.0 - 7.3.13
  • 7.4.0 - 7.4.1

CVE Details

When using certain mbstring functions to convert multibyte encodings, in PHP versions 7.2.x below 7.2.27, 7.3.x below 7.3.14, and 7.4.x below 7.4.2, it is possible to supply data that will cause the underlying C function mbfl_filt_conv_big5_wchar to read past the allocated buffer. This may lead to information disclosure or crash.

Recommendations

Upgrade to PHP &.2.27 or higher, 7.3.14 or higher, or 7.4.2 or higher.