JPEG library: Denial of service — GLSA 200606-11

The JPEG library is vulnerable to a Denial of Service.

Affected packages

media-libs/jpeg on all architectures
Affected versions < 6b-r7
Unaffected versions >= 6b-r7

Background

The JPEG library is able to load, handle and manipulate images in the JPEG format.

Description

Tavis Ormandy of the Gentoo Linux Auditing Team discovered that the vulnerable JPEG library ebuilds compile JPEG without the --maxmem feature which is not recommended.

Impact

By enticing a user to load a specially crafted JPEG image file an attacker could cause a Denial of Service, due to memory exhaustion.

Workaround

There is no known workaround at this time.

Resolution

JPEG users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/jpeg-6b-r7"

References

Release date
June 11, 2006

Latest revision
July 29, 2006: 02

Severity
normal

Exploitable
remote

Bugzilla entries