HexBrain

Internet Bug Bounty · Report #675580

Out of Bounds Memory Read in exif_process_user_comment

Validstatus
highseverity
$1,500bounty
3upvotes
9 Nov 2020disclosed

How it was found

I have found and reported an out of bounds memory read in PHP [exif_process_user_comment] When PHP EXIF extension is parsing EXIF information from an image, e.g. via exif_read_data() function, in PHP versions 7.1.x below 7.1.31, 7.2.x below 7.2.21 and 7.3.x below 7.3.8 it is possible to supply it with data what will cause it to read past the allocated buffer. This has been fixed and assigned CVE-2019-11042 The bug report is here: https://bugs.php.net/bug.php?id=78256 https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-11042 https://nvd.nist.gov/vuln/detail/CVE-2019-11042

Impact

This may lead to information disclosure or crash.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original