Skip to main content

information disclosure in exif_read_data() function

Publication Date 2020-04-01
Severity Moderate
Type Remote Code Execution
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.8
  • 7.3.0 - 7.3.15
  • 7.4.0 - 7.4.3
Fixed Product Versions
  • ZendPHP 5.6
  • ZendPHP 7.1
  • ZendPHP 7.2
  • ZendPHP 7.3
  • ZendPHP 7.4
  • ZendServer 2019.0.5

CVE Details

In PHP versions 7.2.x below 7.2.9, 7.3.x below 7.3.16, and 7.4.x below 7.4.4, while parsing EXIF data using the exif_read_data() function, it is possible for malicious data to cause PHP to read one byte of uninitialized memory. This could potentially lead to information disclosure or crash.

Recommendations

Upgrade to PHP 7.2.9 or above, 7.3.16 or above, or 7.4.4 or above.