giflib: Multiple vulnerabilities — GLSA 200511-03

giflib may dereference NULL or write out of bounds when processing malformed images, potentially resulting in Denial of Service or arbitrary code execution.

Affected packages

media-libs/giflib on all architectures
Affected versions < 4.1.4
Unaffected versions >= 4.1.4

Background

giflib is a library for reading and writing GIF images.

Description

Chris Evans and Daniel Eisenbud independently discovered two out-of-bounds memory write operations and a NULL pointer dereference in giflib.

Impact

An attacker could craft a malicious GIF image and entice users to load it using an application making use of the giflib library, resulting in an application crash or potentially the execution of arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All giflib users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/giflib-4.1.4"

References

Release date
November 04, 2005

Latest revision
November 04, 2005: 01

Severity
normal

Exploitable
remote

Bugzilla entries