Out-of-bounds Write Affecting freetype-debuginfo package, versions <0:2.8-14.amzn2.1.4


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
5.37% (90th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-FREETYPEDEBUGINFO-9599524
  • published2 Apr 2025
  • disclosed11 Mar 2025

Introduced: 11 Mar 2025

NewCVE-2025-27363  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 freetype-debuginfo to version 0:2.8-14.amzn2.1.4 or higher.
This issue was patched in ALAS2-2025-2806.

NVD Description

Note: Versions mentioned in the description apply only to the upstream freetype-debuginfo package and not the freetype-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) when attempting to parse font subglyph structures related to TrueType GX and variable font files. The vulnerable code assigns a signed short value to an unsigned long and then adds a static value causing it to wrap around and allocate too small of a heap buffer. The code then writes up to 6 signed long integers out of bounds relative to this buffer. This may result in arbitrary code execution. This vulnerability may have been exploited in the wild.

CVSS Base Scores

version 3.1