Actively exploited · Published Mar 11, 2025 · Assigned by facebook

CVE-2025-27363

High 8.1 Exploited

In plain English

A high-severity out-of-bounds write in FreeType from FreeType. Attackers are actively exploiting it in the wild (listed by CISA on May 6, 2025). The chance it is exploited in the next 30 days is estimated at 27.8% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)27.8%top 1.9% of all CVEs
Exploited in the wildYesCISA KEV since May 6, 2025
Attack tooling1Public PoC

CISA guidance

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Federal agencies must remediate by May 27, 2025.

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8freetype2.9.1-10.el8_10ALSA-2025:3421
AlmaLinux:8freetype-devel2.9.1-10.el8_10ALSA-2025:3421
AlmaLinux:8mingw32-freetype2.8-3.el8_10.1ALSA-2025:8292
AlmaLinux:8mingw32-freetype-static2.8-3.el8_10.1ALSA-2025:8292
AlmaLinux:8mingw64-freetype2.8-3.el8_10.1ALSA-2025:8292
AlmaLinux:8mingw64-freetype-static2.8-3.el8_10.1ALSA-2025:8292
Alpine:v3.22freetype2.13.1-r0ALPINE-CVE-2025-27363
Alpine:v3.23freetype2.13.1-r0ALPINE-CVE-2025-27363
Alpine:v3.24freetype2.13.1-r0ALPINE-CVE-2025-27363
Debian:12freetype2.12.1+dfsg-5+deb12u4DEBIAN-CVE-2025-27363
Debian:12freetype2.12.1+dfsg-5+deb12u4DSA-5880-1
Debian:13freetype2.13.1+dfsg-1DEBIAN-CVE-2025-27363
Debian:14freetype2.13.1+dfsg-1DEBIAN-CVE-2025-27363
Rocky Linux:8freetype0:2.9.1-10.el8_10RLSA-2025:3421
Rocky Linux:9freetype0:2.10.4-10.el9_5RLSA-2025:3407
Rocky Linux:8mingw-freetype0:2.8-3.el8_10.1RLSA-2025:8292
Rocky Linux:8spice-client-win0:8.10-1.el8_10RLSA-2025:8292
Ubuntu:22.04:LTSfreetype2.11.1+dfsg-1ubuntu0.3USN-7352-1
Ubuntu:22.04:LTSfreetype2.11.1+dfsg-1ubuntu0.3UBUNTU-CVE-2025-27363

Affected products (as reported)

VendorProductVersions
FreeType FreeType 0.0.0 – through 2.13.0

Weakness: CWE-787 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:F/RL:O/RC:C/CR:H/IR:H/AR:H/MAV:N/MAC:L/MPR:N/MUI:N/MS:U/MC:H/MI:H/MA:H

References