Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1595502 - (CVE-2018-12882) CVE-2018-12882 php: Use-after-free reachable via the exif.c:exif_read_from_impl() function
CVE-2018-12882 php: Use-after-free reachable via the exif.c:exif_read_from_im...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180603,repor...
: Security
Depends On: 1595503 1595504
Blocks: 1595510
  Show dependency treegraph
 
Reported: 2018-06-26 23:03 EDT by Sam Fowler
Modified: 2018-07-18 00:39 EDT (History)
10 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Sam Fowler 2018-06-26 23:03:18 EDT
PHP versions 7.2.x through 7.2.7 are vulnerable to a heap-use-after-free in streams.c:_php_stream_free() that is reachable via the exif.c:exif_read_from_impl() function. An attacker could exploit this via a crafted file to potentially execute arbitrary code.

The vulnerable PHP exif_read_data() function was modified in version 7.2.0 to support local files and stream resources.


Upstream Bug:

https://bugs.php.net/bug.php?id=76409


Upstream Patch:

http://git.php.net/?p=php-src.git;a=commit;h=3fdde65617e9f954e2c964768aac8831005497e5


Reference:

http://php.net/manual/en/function.exif-read-data.php
Comment 1 Sam Fowler 2018-06-26 23:03:47 EDT
Created php tracking bugs for this issue:

Affects: fedora-28 [bug 1595503]

Note You need to log in before you can comment on or make changes to this bug.