Skip to content

CVE-2025-27363 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 variabl...

HighCVSS 8.1 EPSS 27.8% CISA KEV added 2025-05-06 · due 2025-05-27 Exploited in the wild PoC
Published
Updated
Exploit status
Exploited in the wild (confirmed)
CISA SSVC
Actively exploited · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

CISA Known Exploited Vulnerability

Date added
2025-05-06
Due date (FCEB)
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.

Upgrade path

10 packages: 9 fixed.

PackageAffectedFixed inStatus
alpine/freetype(Alpine v3.22) < 2.13.1-r0 2.13.1-r0 Fixed
alpine/freetype(Alpine v3.23) < 2.13.1-r0 2.13.1-r0 Fixed
alpine/freetype(Alpine v3.24) < 2.13.1-r0 2.13.1-r0 Fixed
cbl-mariner freetype(CBL-Mariner 2.0) < 2.13.1-1 2.13.1-1 Fixed
debian/freetype(Debian 12) < 2.12.1+dfsg-5+deb12u4; = 2.12.1+dfsg-5; = 2.12.1+dfsg-5+deb12u1; = 2.12.1+dfsg-5+deb12u2 +1 more 2.12.1+dfsg-5+deb12u4 Fixed
debian/freetype(Debian 13) < 2.13.1+dfsg-1 2.13.1+dfsg-1 Fixed
debian/freetype(Debian 14) < 2.13.1+dfsg-1 2.13.1+dfsg-1 Fixed
freetype <= 2.13.0; >= 0.0.0, <= 2.13.0 after 2.13.0 Fixed
ubuntu/freetype(Ubuntu 22.04) < 2.11.1+dfsg-1ubuntu0.3 2.11.1+dfsg-1ubuntu0.3 Fixed
debian linux = 11.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cbl-mariner freetype(CBL-Mariner:2.0) < 2.13.1-1 2.13.1-1
debian/freetype(Debian:12) < 2.12.1+dfsg-5+deb12u4 2.12.1+dfsg-5+deb12u4
debian/freetype(Debian:12) = 2.12.1+dfsg-5 No fix listed
debian/freetype(Debian:12) = 2.12.1+dfsg-5+deb12u1 No fix listed
debian/freetype(Debian:12) = 2.12.1+dfsg-5+deb12u2 No fix listed
debian/freetype(Debian:12) = 2.12.1+dfsg-5+deb12u3 No fix listed
debian/freetype(Debian:13) < 2.13.1+dfsg-1 2.13.1+dfsg-1
debian/freetype(Debian:14) < 2.13.1+dfsg-1 2.13.1+dfsg-1
freetype >= 0.0.0, <= 2.13.0 No fix listed
ubuntu/freetype(Ubuntu:22.04) < 2.11.1+dfsg-1ubuntu0.3 2.11.1+dfsg-1ubuntu0.3
alpine/freetype(Alpine:v3.22) < 2.13.1-r0 2.13.1-r0
alpine/freetype(Alpine:v3.23) < 2.13.1-r0 2.13.1-r0
alpine/freetype(Alpine:v3.24) < 2.13.1-r0 2.13.1-r0
freetype <= 2.13.0 No fix listed
debian linux = 11.0 No fix listed

References