Bug 198290 - CVE-2006-3376 libwmf integer overflow
CVE-2006-3376 libwmf integer overflow
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: libwmf (Show other bugs)
4.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Caolan McNamara
source=cve,reported=20060706,impact=m...
: Security
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-07-10 16:50 EDT by Josh Bressers
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RHSA-2006-0597
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-18 06:31:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
maybe this will suffice (1.39 KB, patch)
2006-07-11 05:40 EDT, Caolan McNamara
no flags Details | Diff
testcase (2.19 KB, application/octet-stream)
2006-07-12 11:36 EDT, Caolan McNamara
no flags Details
maybe a better testcase (2.19 KB, application/octet-stream)
2006-07-14 07:06 EDT, Caolan McNamara
no flags Details

  None (edit)
Description Josh Bressers 2006-07-10 16:50:23 EDT
libwmf integer overflow

infamous41md discovered an integer overflow bug in libwmf.

There is more information here:
http://www.securityfocus.com/archive/1/archive/1/438803/100/0/threaded
Comment 2 Caolan McNamara 2006-07-11 05:40:26 EDT
Created attachment 132225 [details]
maybe this will suffice
Comment 3 Caolan McNamara 2006-07-12 11:36:51 EDT
Created attachment 132312 [details]
testcase

I don't have a proper test case, but here's a wmf which has a size field which
will overflow as reported above on a box where size_t is 32. With the fix in
place it shouldn't open on such a system.
Comment 4 Caolan McNamara 2006-07-12 11:52:39 EDT
built and mkerrata-wrapper dist-4E-errata-candidate libwmf-0.2.8.3-5.2 has been run.

The attached .wmf shouldn't open on 32bit platforms after this change, but
normal .wmf's should
Comment 5 Mark J. Cox (Product Security) 2006-07-13 04:54:55 EDT
RHSA-2006:0597 in progress.
Comment 7 Caolan McNamara 2006-07-14 07:06:46 EDT
Created attachment 132425 [details]
maybe a better testcase

Maybe this testcase will trigger better on RHEL-4 ?
Comment 8 Caolan McNamara 2006-07-14 09:01:46 EDT
Seems to work better, but shows I need another fix for casting on 64bit.
built and mkerrata-wrapper dist-4E-errata-candidate libwmf-0.2.8.3-5.3 has been run.

Comment 11 Red Hat Bugzilla 2006-07-18 06:31:17 EDT
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.

http://rhn.redhat.com/errata/RHSA-2006-0597.html

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