Bug 1305518 - php: Integer overflow in iptcembed()
Summary: php: Integer overflow in iptcembed()
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1305565
Blocks: 1305564
TreeView+ depends on / blocked
Reported: 2016-02-08 13:34 UTC by Adam Mariš
Modified: 2019-09-29 13:44 UTC (History)
13 users (show)

Fixed In Version: php 5.6.18, php 5.5.32
Doc Type: Bug Fix
Doc Text:
Clone Of:
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:


Upstream patch:


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.