Skip to content
OpenAdvisories
High · 8.1 Known exploited Public exploit CVE-2025-27363 EUVD-2025-6367GHSA-g8qj-jv5h-78cp

An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) when attempting to pars…

Published Mar 11, 2025 · Updated Apr 19, 2026 · Assigned by facebook

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 products

VendorProductAffectedFixed
FreeType FreeType 0.0.0 – ≤ 2.13.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 freetype 2.13.1+dfsg-1 —
Debian 13 freetype 2.13.1+dfsg-1 —
Debian 12 freetype 2.12.1+dfsg-5+deb12u4 DSA-5880-1
Debian 11 freetype 2.10.4+dfsg-1+deb11u2 DLA-4104-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS freetype 2.11.1+dfsg-1ubuntu0.3 USN-7352-1
Ubuntu 20.04 LTS freetype 2.10.1-2ubuntu0.4 USN-7352-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS freetype 2.8.1-2ubuntu2.2+esm1 USN-7352-2
Ubuntu Pro 16.04 LTS freetype 2.6.1-0.1ubuntu2.5+esm2 USN-7352-2
Ubuntu Pro 14.04 LTS freetype 2.5.2-1ubuntu2.8+esm3 USN-7352-2
ReleasePackageFixed inAdvisory
RHEL 9 freetype +1 2.10.4-10.el9_5 RHSA-2025:3407
RHEL 8 freetype +1 2.9.1-10.el8_10 RHSA-2025:3421
RHEL 8 mingw-freetype +4 2.8-3.el8_10.1 RHSA-2025:8292
RHEL 8 spice-client-win +2 8.10-1.el8_10 RHSA-2025:8292
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.4 EUS freetype +1 2.10.4-10.el9_4 RHSA-2025:3383
RHEL 9.2 EUS freetype +1 2.10.4-10.el9_2 RHSA-2025:3384
RHEL 9.0 E4S freetype +1 2.10.4-7.el9_0 RHSA-2025:3387
RHEL 8.8 EUS freetype +1 2.9.1-10.el8_8 RHSA-2025:3386
RHEL 8.8 EUS mingw-freetype +4 2.8-3.el8_8.1 RHSA-2025:8195
RHEL 8.8 EUS spice-client-win +2 8.8-5.el8_8 RHSA-2025:8195
RHEL 8.6 TUS freetype +1 2.9.1-6.el8_6.3 RHSA-2025:3385
RHEL 8.6 TUS spice-client-win +2 8.6-1.el8_6 RHSA-2025:8219
RHEL 8.6 E4S freetype +1 2.9.1-6.el8_6.3 RHSA-2025:3385
RHEL 8.6 E4S spice-client-win +2 8.6-1.el8_6 RHSA-2025:8219
RHEL 8.6 AUS freetype +1 2.9.1-6.el8_6.3 RHSA-2025:3385
RHEL 8.6 AUS spice-client-win +2 8.6-1.el8_6 RHSA-2025:8219
RHEL 8.4 TUS freetype +1 2.9.1-7.el8_4 RHSA-2025:3382
RHEL 8.4 TUS spice-client-win +2 8.4-2.el8_4 RHSA-2025:8253
RHEL 8.4 E4S freetype +1 2.9.1-7.el8_4 RHSA-2025:3382
RHEL 8.4 E4S spice-client-win +2 8.4-2.el8_4 RHSA-2025:8253
RHEL 8.4 AUS freetype +1 2.9.1-7.el8_4 RHSA-2025:3382
RHEL 8.4 AUS spice-client-win +2 8.4-2.el8_4 RHSA-2025:8253
RHEL 8.2 AUS freetype +1 2.9.1-5.el8_2.1 RHSA-2025:3393
RHEL 8.2 AUS spice-client-win +2 8.2-1.el8_2 RHSA-2025:9380
RHEL 7 ELS freetype +2 2.8-15.el7_9.1 RHSA-2025:3395

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 freetype +1 2.9.1-10.el8_10 ALSA-2025:3421
AlmaLinux 8 mingw32-freetype +3 2.8-3.el8_10.1 ALSA-2025:8292

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 9 freetype 2.10.4-10.el9_5 RLSA-2025:3407
Rocky Linux 8 freetype 2.9.1-10.el8_10 RLSA-2025:3421
Rocky Linux 8 mingw-freetype 2.8-3.el8_10.1 RLSA-2025:8292
Rocky Linux 8 spice-client-win 8.10-1.el8_10 RLSA-2025:8292
ReleasePackageFixed inAdvisory
SLES 15 SP6 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLES 15 SP5 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLES 15 SP4 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLES 15 SP3 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLES 12 SP5 ft2demos +1 2.6.3-7.21.1 SUSE-SU-2025:0960-1
Show 14 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP5 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLES for SAP 15 SP4 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLES for SAP 15 SP3 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE Micro 5.5 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE Micro 5.4 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE Micro 5.3 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE Micro 5.2 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE Micro 5.1 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE HPC 15 SP5 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE HPC 15 SP4 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SLE HPC 15 SP3 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SUSE Manager Server 4.3 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SUSE Manager Proxy 4.3 freetype2 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
SUSE Enterprise Storage 7.1 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 ft2demos +1 2.10.4-150000.4.18.1 SUSE-SU-2025:0998-1
ReleasePackageFixed inAdvisory
Alpine v3.24 freetype 2.13.1-r0 —
Alpine v3.23 freetype 2.13.1-r0 —
Alpine v3.22 freetype 2.13.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 freetype +2 2.13.2-5.amzn2023.0.1 ALAS2023-2025-925
Amazon Linux 2 freetype +2 2.8-14.amzn2.1.4 ALAS2-2025-2806

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) freetype 2.13.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 freetype +1 2.10.4-10.el9_5 ELSA-2025-3407
Oracle Linux 8 freetype +1 2.9.1-10.el8_10 ELSA-2025-3421
Oracle Linux 8 mingw32-freetype +3 2.8-3.el8_10.1 ELSA-2025-8292
Oracle Linux 7 freetype +2 2.8-14.0.1.el7_9.1 ELSA-2025-3395

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 3 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 48

References