jbig2dec: User-assisted execution of arbitrary code — GLSA 201708-10

Multiple integer overflow flaws have been discovered in jbig2dec, possibly resulting in execution of arbitrary code or Denial of Service.

Affected packages

media-libs/jbig2dec on all architectures
Affected versions < 0.13-r4
Unaffected versions >= 0.13-r4

Background

jbig2dec is a decoder implementation of the JBIG2 image compression format.

Description

Integer overflow errors have been discovered in the jbig2_decode_symbol_dict, jbig2_build_huffman_table, and jbig2_image_compose functions of jbig2dec.

Impact

A remote attacker, by enticing a user to open a specially crafted JBIG2 file using an application linked against jbig2dec, could possibly execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All jbig2dec users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/jbig2dec-0.13-r4"
 

References

Release date
August 26, 2017

Latest revision
August 26, 2017: 1

Severity
normal

Exploitable
remote

Bugzilla entries