Bug 130909 - CAN-2004-0817 heap overflow in BMP decoder
CAN-2004-0817 heap overflow in BMP decoder
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: imlib (Show other bugs)
3.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Matthias Clasen
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-08-25 14:36 EDT by Josh Bressers
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-09-15 11:12:57 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Current proposed patch (492 bytes, patch)
2004-08-25 14:37 EDT, Josh Bressers
no flags Details | Diff
New patch that takes care of the pervious issues plus a few more. (9.27 KB, patch)
2004-09-02 12:07 EDT, Josh Bressers
no flags Details | Diff

  None (edit)
Description Josh Bressers 2004-08-25 14:36:02 EDT
A heap overflow issue has been discovered in the imlib BMP decoder. 
This issue deals with overflowing the color palette.

It may be possible for this overflow to allow an attacker to execute
malicious code.

The demo image is attachment 102533 [details].

This issue is also documented in the gnome BTS
http://bugzilla.gnome.org/show_bug.cgi?id=151034

Fedora Core is handled by bug 130908

This issue also affects RHEL2.1
Comment 1 Josh Bressers 2004-08-25 14:37:32 EDT
Created attachment 103090 [details]
Current proposed patch

This is the current proposed patch.  It differs from the gnome patch since it
removed some unneeded checks.
Comment 3 Josh Bressers 2004-09-02 12:07:52 EDT
Created attachment 103392 [details]
New patch that takes care of the pervious issues plus a few more.
Comment 4 Matthias Clasen 2004-09-09 14:42:09 EDT
I have built

imlib-1.9.13-4.2 for RHEL 2.1
imlib-1.9.13-13.3 for RHEL 3
imlib-1.9.13-15.fc1 for FC1
imlib-1.9.13-19 for FC2
imlib-1.9.13-21 for FC3

hmm, I really messed up release numbering here...
Comment 5 Josh Bressers 2004-09-15 11:12:57 EDT
An errata 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.

http://rhn.redhat.com/errata/RHSA-2004-465.html

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