CWE
119
Advisory Published
CVE Published
Updated

CVE-2012-1140: Buffer Overflow

First published: Tue Mar 06 2012(Updated: )

An out-of heap-based buffer read flaw was found in the way auxiliary PostScript driver of the FreeType font rendering engine performed conversion of certain PostScript font objects. A remote attacker could provide a specially-crafted PostScript font file, which once opened in an application linked against FreeType would lead to that application crash. Upstream bug report: [1] <a href="https://savannah.nongnu.org/bugs/?35657">https://savannah.nongnu.org/bugs/?35657</a> Upstream patch: [2] <a href="http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=292144b44a15c1a72f2ef76475d65b7a3a3fba67">http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=292144b44a15c1a72f2ef76475d65b7a3a3fba67</a> Acknowledgements: Red Hat would like to thank Mateusz Jurczyk of the Google Security Team for reporting this issue.

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
FreeType<=2.4.8
FreeType=1.3.1
FreeType=2.0.0
FreeType=2.0.1
FreeType=2.0.2
FreeType=2.0.3
FreeType=2.0.4
FreeType=2.0.5
FreeType=2.0.6
FreeType=2.0.7
FreeType=2.0.8
FreeType=2.0.9
FreeType=2.1
FreeType=2.1.3
FreeType=2.1.4
FreeType=2.1.5
FreeType=2.1.6
FreeType=2.1.7
FreeType=2.1.8
FreeType=2.1.8-rc1
FreeType=2.1.9
FreeType=2.1.10
FreeType=2.2.0
FreeType=2.2.1
FreeType=2.3.0
FreeType=2.3.1
FreeType=2.3.2
FreeType=2.3.3
FreeType=2.3.4
FreeType=2.3.5
FreeType=2.3.6
FreeType=2.3.7
FreeType=2.3.8
FreeType=2.3.9
FreeType=2.3.10
FreeType=2.3.11
FreeType=2.3.12
FreeType=2.4.0
FreeType=2.4.1
FreeType=2.4.2
FreeType=2.4.3
FreeType=2.4.4
FreeType=2.4.5
FreeType=2.4.6
FreeType=2.4.7
Mozilla Firefox<=10.0.3
Mozilla Firefox=1.0
Mozilla Firefox=4.0
Mozilla Firefox=4.0-beta1
Mozilla Firefox=4.0-beta2
Mozilla Firefox=4.0-beta3
Mozilla Firefox=4.0-beta4
Mozilla Firefox=5.0
Mozilla Firefox=6.0
Mozilla Firefox=6.0.1
Mozilla Firefox=6.0.2
Mozilla Firefox=7.0
Mozilla Firefox=8.0
Mozilla Firefox=9.0
Mozilla Firefox=10.0
Mozilla Firefox=10.0.1
Mozilla Firefox=10.0.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-1140?

    The severity of CVE-2012-1140 is classified as moderate due to the potential for an attacker to exploit a buffer read flaw.

  • How do I fix CVE-2012-1140?

    To fix CVE-2012-1140, it is recommended to update FreeType to version 2.4.9 or later.

  • Which versions of FreeType are affected by CVE-2012-1140?

    CVE-2012-1140 affects FreeType versions up to 2.4.8, as well as specific versions 1.3.1 through 2.3.12.

  • Are mobile browsers also affected by CVE-2012-1140?

    Yes, certain versions of Mozilla Firefox Mobile up to 10.0.3 are affected by CVE-2012-1140.

  • What type of attack does CVE-2012-1140 enable?

    CVE-2012-1140 enables remote attackers to execute arbitrary code via specially-crafted PostScript font files.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203