CVEvulnerability

CVE-2025-27363

8.1 HIGH Known exploited Published 2025-03-11 Modified 2026-06-17 Official page ↗

CISA Known Exploited Vulnerability

FreeType Out-of-Bounds Write Vulnerability — FreeType FreeType

FreeType contains an out-of-bounds write vulnerability when attempting to parse font subglyph structures related to TrueType GX and variable font files that may allow for arbitrary code execution.

Added to KEV
2025-05-06
Remediation due
2025-05-27
Ransomware use
Unknown
Required action
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Notes
This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://source.android.com/docs/security/bulletin/2025-05-01 ; https://nvd.nist.gov/vuln/detail/CVE-2025-27363
Status
Analyzed
Published
2025-03-11
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weaknesses
CWE-787

Description

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.

Affected configurations

• freetype freetype (<= 2.13.0) • debian debian linux 11.0

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

Referenced by CWE · observed example (4)

  • CWE-131 Incorrect Calculation of Buffer Size weakness
  • CWE-190 Integer Overflow or Wraparound weakness
  • CWE-195 Signed to Unsigned Conversion Error weakness
  • CWE-787 Out-of-bounds Write weakness

References