GLSA 200710-12: T1Lib: Buffer overflow

Severity:normal
Title:T1Lib: Buffer overflow
Date:10/12/2007
Bugs: #193437
ID:200710-12

Synopsis

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

Background

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

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/t1lib < 5.0.2-r1 >= 5.0.2-r1 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200710-12.xml

Concerns?

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

License

Copyright 2010 Gentoo Foundation, Inc; referenced text belongs to its owner(s). The contents of this document are licensed under the Creative Commons - Attribution / Share Alike license.

Thank you!