Bug 1305518 - php: Integer overflow in iptcembed()
Summary: php: Integer overflow in iptcembed()
Status: CLOSED WONTFIX
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard: impact=low,public=20160127,reported=2...
Keywords: Security
Depends On: 1305565
Blocks: 1305564
TreeView+ depends on / blocked
 
Reported: 2016-02-08 13:34 UTC by Adam Mariš
Modified: 2016-07-28 13:43 UTC (History)
13 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2016-07-28 13:43:07 UTC


Attachments (Terms of Use)

Description Adam Mariš 2016-02-08 13:34:54 UTC
An integer overflow vulnerability causing heap overflow in ext/standard/iptc.c module was found. This issue can be used to trigger memory corruption on 32-bit versions of PHP.

Upstream bug:

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

Upstream patch:

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

Comment 1 Adam Mariš 2016-02-08 15:13:30 UTC
Created php tracking bugs for this issue:

Affects: fedora-all [bug 1305565]

Comment 2 Tomas Hoger 2016-07-28 13:43:07 UTC
This issue is triggered when iptcembed() function is called with long $iptcdata argument (not possible under default or typical PHP configurations that use much lower limit for memory that can be used by a script), or specified $jpeg_file_name must be a very large file.  Hence, this would be hard to trigger for remote attacker.


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