GLSA 200705-22: FreeType: Buffer overflow

Severity:normal
Title:FreeType: Buffer overflow
Date:05/30/2007
Bugs: #179161
ID:200705-22

Synopsis

A vulnerability has been discovered in FreeType allowing for the execution of arbitrary code.

Background

FreeType is a True Type Font rendering library.

Affected packages

Package Vulnerable Unaffected Architecture(s)
media-libs/freetype < 2.3.4-r2 >= 2.3.4-r2 All supported architectures

Description

Victor Stinner discovered a heap-based buffer overflow in the function Get_VMetrics() in src/truetype/ttgload.c when processing TTF files with a negative n_points attribute.

Impact

A remote attacker could entice a user to open a specially crafted TTF file, possibly resulting in the execution of arbitrary code with the privileges of the user running FreeType.

Workaround

There is no known workaround at this time.

Resolution

All FreeType users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=media-libs/freetype-2.3.4-r2"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200705-22.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!