Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578810 - <media-libs/imlib2-1.4.8-r1: gif oob reads w/bad colormaps
Summary: <media-libs/imlib2-1.4.8-r1: gif oob reads w/bad colormaps
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
Whiteboard: B3 [glsa]
Depends on:
Reported: 2016-04-02 10:46 UTC by Agostino Sarubbo
Modified: 2016-11-20 22:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2016-04-02 10:46:30 UTC

A vulnerability was found in a way imlib2 processes GIF files. A specially crafted file could cause the 
imlib2 to crash, or even expose some of the host memory.

Original bug report (reproducer attached):


A vulnerability was found in imlib2. Attempting to draw a 2x1 radi ellipse with imlib_image_draw_ellipse() will result in a floating point exception.

Original bug report (reproducer attached):

@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 SpanKY gentoo-dev 2016-04-02 17:10:31 UTC
afaict, they never actually notified upstream for either issue.  i can push the gif fix, but have to talk to some of the e admins upstream.
Comment 2 SpanKY gentoo-dev 2016-04-05 17:29:13 UTC
i've pushed the gif oob read upstream:

let's make this bug only about the gif oob issue.  the ellipse div-by-zero looks like much less of an issue, and it'll be a bit longer yet before it's resolved.

should be fine to stabilize 1.4.8-r1:
Comment 3 GLSAMaker/CVETool Bot gentoo-dev 2016-11-20 22:08:54 UTC
This issue was resolved and addressed in
 GLSA 201611-12 at
by GLSA coordinator Aaron Bauman (b-man).