Null pointer dereference vulnerability was found in exif_process_user_comment when trying to encode JIS string. Upstream bug: https://bugs.php.net/bug.php?id=72618 Upstream patch: http://git.php.net/?p=php-src.git;a=commit;h=41131cd41d2fd2e0c2f332a27988df75659c42e4 CVE assignment: http://seclists.org/oss-sec/2016/q3/137
Created php tracking bugs for this issue: Affects: fedora-all [bug 1359837]
Analysis: mbfl_buffer_converter_new2() is passed null strings, due to a specially-crafted JPG image. Later when the string is processed, it results in null pointer deref and a crash. Similar to CVE-2016-6291, exploitation requires a specially-crafted JPEG image, being processed by the PHP script.
This issue has been addressed in the following products: Red Hat Software Collections for Red Hat Enterprise Linux 6 Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7 Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS Red Hat Software Collections for Red Hat Enterprise Linux 7.3 EUS Via RHSA-2016:2750 https://rhn.redhat.com/errata/RHSA-2016-2750.html