Bug 487364 (CVE-2009-0749) - CVE-2009-0749 optipng: memory re-allocation flaw in GIF reader
Summary: CVE-2009-0749 optipng: memory re-allocation flaw in GIF reader
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2009-0749
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-25 16:44 UTC by Tomas Hoger
Modified: 2009-03-02 19:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-02 19:49:17 UTC


Attachments (Terms of Use)
Local copy of the upstream patch (1.94 KB, patch)
2009-02-25 16:45 UTC, Tomas Hoger
no flags Details | Diff

Description Tomas Hoger 2009-02-25 16:44:19 UTC
Quoting security updates section of the upstream page:
  All current OptiPNG versions are known to be vulnerable to memory
  reallocation attacks, due to a bug in the GIF image reader. (Many
  thanks to Roy Tam for the report, as well as the fix.) 

  http://optipng.sourceforge.net/

Upstream patch to be included in future upstream versions:
http://prdownloads.sourceforge.net/optipng/optipng-0.6.2.1.diff?download

Comment 1 Tomas Hoger 2009-02-25 16:45:15 UTC
Created attachment 333177 [details]
Local copy of the upstream patch

Taken from:
http://prdownloads.sourceforge.net/optipng/optipng-0.6.2.1.diff?download

Comment 2 Fedora Update System 2009-02-25 18:06:26 UTC
optipng-0.6.2.1-1.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/optipng-0.6.2.1-1.fc10

Comment 3 Fedora Update System 2009-02-25 18:06:31 UTC
optipng-0.6.2.1-1.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/optipng-0.6.2.1-1.fc9

Comment 4 Fedora Update System 2009-02-26 15:31:54 UTC
optipng-0.6.2.1-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2009-02-26 15:32:05 UTC
optipng-0.6.2.1-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Tomas Hoger 2009-03-02 19:49:17 UTC
CVE-2009-0749:

Use-after-free vulnerability in the GIFReadNextExtension function in
lib/pngxtern/gif/gifread.c in OptiPNG 0.6.2 and earlier allows
context-dependent attackers to cause a denial of service (application
crash) via a crafted GIF image that causes the realloc function to
return a new pointer, which triggers memory corruption when the old
pointer is accessed.


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