Global buffer-overflow in mbfl_filt_conv_big5_wchar function

Publication Date2020-01-23
SeverityModerate
TypeInformation Disclosure
Affected PHP Versions
  • 5.6.0 - 5.6.40
  • 7.0.0 - 7.0.33
  • 7.1.0 - 7.1.33
  • 7.2.0 - 7.2.27
  • 7.3.0 - 7.3.13
  • 7.4.0 - 7.4.1
Fixed Product Versions
  • ZendPHP 5.6
  • ZendPHP 7.1
  • ZendPHP 7.2
  • ZendPHP 7.3
  • ZendPHP 7.4
  • ZendServer 2019.0.4

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.