libjpeg-turbo: User-assisted execution of arbitrary code — GLSA 202003-23

Several integer overflows in libjpeg-turbo might allow an attacker to execute arbitrary code.

Affected packages

media-libs/libjpeg-turbo on all architectures
Affected versions < 2.0.3
Unaffected versions >= 2.0.3

Background

libjpeg-turbo is a MMX, SSE, and SSE2 SIMD accelerated JPEG library.

Description

It was discovered that libjpeg-turbo incorrectly handled certain JPEG images.

Impact

A remote attacker could entice a user to open a specially crafted JPEG file in an application linked against libjpeg-turbo, possibly resulting in execution of arbitrary code with the privileges of the process or a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All libjpeg-turbo users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/libjpeg-turbo-2.0.3"
 

References

Release date
March 15, 2020

Latest revision
March 15, 2020: 1

Severity
normal

Exploitable
local, remote

Bugzilla entries