exif_read_from_impl in ext/exif/exif.c in PHP 7.2.x through 7.2.7 allows attackers to trigger a use-after-free (in exif_read_from_file) because it closes a stream that it is not responsible for closing. The vulnerable code is reachable through the PHP exif_read_data function.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
http://www.securityfocus.com/bid/104551 | vdb entry third party advisory |
https://usn.ubuntu.com/3702-2/ | third party advisory vendor advisory |
https://bugs.php.net/bug.php?id=76409 | issue tracking patch vendor advisory |
https://usn.ubuntu.com/3702-1/ | third party advisory vendor advisory |
https://security.netapp.com/advisory/ntap-20181109-0001/ | third party advisory |