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 1318977 - (CVE-2016-3190) CVE-2016-3190 cairo: out of bounds read in fill_xrgb32_lerp_opaque_spans
CVE-2016-3190 cairo: out of bounds read in fill_xrgb32_lerp_opaque_spans
Status: CLOSED ERRATA
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=20160310,repor...
: Security
Depends On: 1318978
Blocks: 1318980
  Show dependency treegraph
 
Reported: 2016-03-18 06:10 EDT by Andrej Nemec
Modified: 2016-09-23 00:34 EDT (History)
8 users (show)

See Also:
Fixed In Version: cairo 1.14.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-23 00:34:55 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-03-18 06:10:32 EDT
A vulnerability was found in cairo. A maliciously crafted file can cause out of bounds read in fill_xrgb32_lerp_opaque_spans function in cairo, thus crashing the software.

Upstream fix:

https://cgit.freedesktop.org/cairo/patch/src/cairo-image-compositor.c?id=5c82d91a5e15d29b1489dcb413b24ee7fdf59934

References:

http://seclists.org/oss-sec/2016/q1/675

External references:

https://mail.gnome.org/archives/gnome-announce-list/2015-March/msg00047.html
Comment 1 Andrej Nemec 2016-03-18 06:11:00 EDT
Created mingw-cairo tracking bugs for this issue:

Affects: epel-7 [bug 1318978]
Comment 3 Doran Moppert 2016-06-05 23:02:06 EDT
Upstream bug:

https://bugs.freedesktop.org/show_bug.cgi?id=89521

Reproducer is available there.

Note last update in comment #2:

> However, the original author of that patch (ilia.softway@gmail.com) has
> expressed doubts that this change fully fixes the problem and he is now using
> an additional patch to cell_list_add_subspan() in cairo-tor_scan-converter.c.
>
> Therefore, I think it is best to leave this bug open until the root cause is
> fully understood.
Comment 5 Doran Moppert 2016-07-19 03:39:39 EDT
The window of affected versions is somewhere after 1.11.2 until the fix was included in 1.14.2.  This leaves epel-7/mingw-cairo and rhel-7.1/cairo affected;  all other versions are either prior to the vulnerable code's introduction or (rhel-7.2, fedora, epel/cairo) include the fix.
Comment 8 Doran Moppert 2016-09-23 00:34:55 EDT
This CVE was previously addressed in Red Hat Enterprise Linux 7 in the rebase to 1.14.2:

https://rhn.redhat.com/errata/RHBA-2015-2116.html

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