FreeType · FreeType · CWE-787 · published 2025-03-11
CVE-2025-27363FreeType Out-of-Bounds Write Vulnerability
This week Known exploited in the wild.
CVE-2025-27363 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2025-05-06. EPSS estimates a 27.8% chance of exploitation in the next 30 days, higher than 98% of all CVEs. This FreeType vulnerability: CVSS 8.1 (v3.1), a successful attack gives total control of the component. Patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux. US federal agencies must remediate by 2025-05-27. Patch this week.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA 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. (federal due date 2025-05-27)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | freetype | Fixed in 2.13.1+dfsg-1 |
| 12 bookworm | freetype | Fixed in 2.12.1+dfsg-5+deb12u4 | |
| Ubuntu | 22.04 LTS | freetype | Fixed in 2.11.1+dfsg-1ubuntu0.3 |
| 20.04 LTS | freetype | Fixed in 2.10.1-2ubuntu0.4 | |
| Red Hat Enterprise Linux (+10 more packages) | RHEL 10 | freetype | Not affected |
| RHEL 9 | freetype | Fixed in 2.10.4-10.el9_5 RHSA-2025:3407 | |
| RHEL 8 | freetype | Fixed in 2.9.1-10.el8_10 RHSA-2025:3421 | |
| RHEL 6 | freetype | Won’t fix |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Other softwareFreeType
Out-of-Bounds WriteCVE-2025-27363
Why: Known exploited in the wild.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2025-05-06 | CISA KEV |
| Ransomware use | Unknown | CISA KEV |
| EPSS (30-day exploitation probability) | 28% (98th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 8.1 (v3.1)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 | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | No | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-787: Out-of-bounds Write
More from this vendor: all FreeType vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- FreeType FreeType
0.0.0through2.13.0(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.