Bug 130806 - CAN-2004-0827 heap overflow in BMP decoder
Summary: CAN-2004-0827 heap overflow in BMP decoder
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ImageMagick
Version: 2
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Mike McLean
URL:
Whiteboard: impact=moderate,public=20040824
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-24 20:16 UTC by Josh Bressers
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-01 14:35:36 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
This will add the checks needed to prevent this overflow. (812 bytes, patch)
2004-08-24 20:18 UTC, Josh Bressers
no flags Details | Diff

Description Josh Bressers 2004-08-24 20:16:25 UTC
A heap overflow has been discovered in the ImageMagick BMP decoder. 
The demo BMP file is the same one which affected QT.


The demo image is attachment 102533 [details].

This issue also affects FC1.

Comment 1 Josh Bressers 2004-08-24 20:18:30 UTC
Created attachment 103039 [details]
This will add the checks needed to prevent this overflow.

Comment 2 David Eisenstein 2004-11-10 07:04:42 UTC
You may wish to have a look at 
   https://bugzilla.fedora.us/show_bug.cgi?id=2052#c10

because the patch in comment #1 may not have caught all of
the vulnerabilities.
      -David

Comment 3 David Eisenstein 2004-11-16 08:00:46 UTC
Please see attachment 106788 [details] for a more comprehensive patch than
103039.  This attachment also covers DIB and AVI buffer overflows
as well as BMP.  Parallel entry in #7 of Bugzilla issue 130807,
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130807#c7 .

Comment 4 Matthias Clasen 2005-04-01 14:35:36 UTC
This should be fixed in 6.0.7, according to comments in #130807. 
FC2 has 6.2.0.7 now --> resolving


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