Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1349751 - (CVE-2016-6352) CVE-2016-6352 gdk-pixbuf: Out-of-bounds write in OneLine32() function
CVE-2016-6352 gdk-pixbuf: Out-of-bounds write in OneLine32() function
Status: CLOSED WONTFIX
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160713,repor...
: Security
Depends On:
Blocks: 1349752
  Show dependency treegraph
 
Reported: 2016-06-24 03:30 EDT by Andrej Nemec
Modified: 2016-11-08 11:21 EST (History)
16 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-07-04 01:38:15 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)

  None (edit)
Description Andrej Nemec 2016-06-24 03:30:41 EDT
A write out-of-bounds parsing an ico file was found in gdk-pixbuf 2.30.7. A maliciously crafted file can cause the application to crash.

Vulnerable code:

static void OneLine32 (struct ico_progressive_state *context)
{
gint X;
guchar *Pixels;

X = 0;
if (context->Header.Negative == 0)
Pixels = (context->pixbuf->pixels +
context->pixbuf->rowstride *
(context->Header.height - context->Lines - 1));
else
Pixels = (context->pixbuf->pixels +
context->pixbuf->rowstride *
context->Lines);
while (X < context->Header.width) {
Pixels[X * 4 + 0] = context->LineBuf[X * 4 + 2];
Pixels[X * 4 + 1] = context->LineBuf[X * 4 + 1];
Pixels[X * 4 + 2] = context->LineBuf[X * 4 + 0];
Pixels[X * 4 + 3] = context->LineBuf[X * 4 + 3];
X++;
}
}
Comment 1 Andrej Nemec 2016-06-24 03:30:53 EDT
Acknowledgments:

Name: Franco Constantini
Comment 5 Andrej Nemec 2016-07-14 04:15:09 EDT
Public via:

http://seclists.org/oss-sec/2016/q3/61
Comment 6 Adam Mariš 2016-07-27 04:52:08 EDT
CVE assignment:

http://seclists.org/oss-sec/2016/q3/162
Comment 7 Adam Mariš 2016-07-28 03:32:33 EDT
Upstream bug:

https://bugzilla.gnome.org/show_bug.cgi?id=769170

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