Bug 172589 - CVE-2005-3353 PHP exif data DoS
Summary: CVE-2005-3353 PHP exif data DoS
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: php
Version: 4.0
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Joe Orton
QA Contact: David Lawrence
Whiteboard: impact=moderate,public=20051002,repor...
Keywords: Security
Depends On:
TreeView+ depends on / blocked
Reported: 2005-11-07 17:48 UTC by Josh Bressers
Modified: 2007-11-30 22:07 UTC (History)
0 users

Clone Of:
Last Closed: 2005-11-10 19:07:27 UTC

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2005:831 normal SHIPPED_LIVE Moderate: php security update 2005-11-10 05:00:00 UTC

Description Josh Bressers 2005-11-07 17:48:36 UTC
PHP exif data DoS

An error in the way php processes exif image data has been found.
This flaw will cause PHP to enter an infinite loop when
exif_read_data() against the malicious image.  The PHP process will
continue to consume computing resources until the PHP process is

When run through httpd, the PHP process will eventually timeout and be
killed.  This is only a temporary DoS when PHP is run from httpd..

This issue also affects RHEL3
This issue also affects RHEL2.1

Comment 1 Joe Orton 2005-11-07 18:52:05 UTC
Note this is not actually an infinite loop but an infinite function recursion,
so it causes an immediate process crash rather than a loop-then-timeout.

Comment 2 Mark J. Cox 2005-11-10 09:47:05 UTC
This issue doesn't affect RHEL2.1 as exif_read_data is undefined and as per php
docs this function is available in PHP 4 >= 4.2.0, PHP 5 while RHEL-2.1 contains

Comment 3 Red Hat Bugzilla 2005-11-10 19:07:28 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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