GLSA 202010-07: FreeType: Arbitrary code execution

Severity:normal
Title:FreeType: Arbitrary code execution
Date:10/23/2020
Bugs: #750275
ID:202010-07

Synopsis

A buffer overflow in FreeType might allow remote attacker(s) to execute arbitrary code.

Background

FreeType is a high-quality and portable font engine.

Affected packages

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

Description

A flaw in FreeType’s handling of embedded PNG bitmaps was discovered where the image height and width was not checked to be within bounds.

Impact

A remote attacker could entice a user to open a specially crafted font file using FreeType possibly resulting in the 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 FreeType users should upgrade to the latest version:

      # emerge --sync
      # emerge --ask --oneshot --verbose ">=media-libs/freetype-2.10.3-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-202010-07.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!