8.1High KEV

CVE-2025-27363FreeType Out-of-Bounds Write Vulnerability

FreeType FreeType Published: (1 year ago)

Known exploited — FreeType Out-of-Bounds Write Vulnerability

CISA confirmed this vulnerability is used in real attacks on 06.05.2025. Remediation deadline for US federal agencies: 27.05.2025.

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. 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

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.

Weakness (CWE): CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
debian debian linux 11.0
FreeType FreeType 0.0.0 – ≤ 2.13.0

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:freetype:freetype:*:*:*:*:*:*:*:* ≤ 2.13.0
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*