T1Lib: Buffer overflow — GLSA 200710-12

T1Lib is vulnerable to a buffer overflow allowing for the user-assisted execution of arbitrary code.

Affected Packages

media-libs/t1lib on all architectures
Affected versions < 5.0.2-r1
Unaffected versions >= 5.0.2-r1

Background

T1Lib is a library for rasterizing bitmaps from Adobe Type 1 fonts.

Description

Hamid Ebadi discovered a boundary error in the intT1_EnvGetCompletePath() function which can lead to a buffer overflow when processing an overly long filename.

Impact

A remote attacker could entice a user to open a font file with a specially crafted filename, possibly leading to the execution of arbitrary code with the privileges of the user running the application using T1Lib.

Workaround

There is no known workaround at this time.

Resolution

All T1Lib users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=media-libs/t1lib-5.0.2-r1"

References

Release Date
October 12, 2007

Latest Revision
October 12, 2007: 01

Severity
normal

Exploitable
remote

Bugzilla entries