Bug 231694 - CVE-2007-1667 XGetPixel() integer overflow
CVE-2007-1667 XGetPixel() integer overflow
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: libX11 (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Søren Sandmann Pedersen
: Security
Depends On:
  Show dependency treegraph
Reported: 2007-03-09 19:58 EST by Josh Bressers
Modified: 2014-06-18 05:09 EDT (History)
2 users (show)

See Also:
Fixed In Version: RHSA-2007-0157
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-04-16 11:42:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
First patch attached to the Debian bug (434 bytes, patch)
2007-03-12 19:33 EDT, Matěj Cepl
no flags Details | Diff
The second patch attached to the Debian bug (846 bytes, patch)
2007-03-12 19:34 EDT, Matěj Cepl
no flags Details | Diff

  None (edit)
Description Josh Bressers 2007-03-09 19:58:49 EST
+++ This bug was initially created as a clone of Bug #231693 +++

A bug recently showed up in the Debian BTS that describes an integer overflow in
X's XGetPixel() function


The report incorrectly states it is a buffer overflow.  The bug also has a
proposed patch and reproducer for this flaw.

The issue is that the XInitImage() function allows the caller to supply silly
values, which can cause several integer overflow.  A call to XGetPixel() can
also result in integer overflows.  While one would expect the calling
application to sanitize the data passed to XInitImage(), the library should also
be smart enough to prevent the caller from giving it bad data.
Comment 1 Matěj Cepl 2007-03-12 19:33:06 EDT
Created attachment 149881 [details]
First patch attached to the Debian bug
Comment 2 Matěj Cepl 2007-03-12 19:34:29 EDT
Created attachment 149882 [details]
The second patch attached to the Debian bug
Comment 6 Red Hat Bugzilla 2007-04-16 11:42:38 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.


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