An out of bounds write exists in FreeType versions 2.13.0 and below (newer versions of FreeType are not vulnerable) w…
FreeType
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on May 6, 2025. US federal agencies must patch by May 27, 2025.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| FreeType FreeType |
| No fix yet |
Original 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.
From the CVE record · facebook
References
- facebook.com/security/advisories/cve-2025-27363Advisory
- source.android.com/docs/security/bulletin/2025-05-01Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-27363
- openwall.com/lists/oss-security/2025/03/13/1
- openwall.com/lists/oss-security/2025/03/13/2
- openwall.com/lists/oss-security/2025/03/13/3
- openwall.com/lists/oss-security/2025/03/13/8
- openwall.com/lists/oss-security/2025/03/13/11
- openwall.com/lists/oss-security/2025/03/13/12
- openwall.com/lists/oss-security/2025/03/14/1
- openwall.com/lists/oss-security/2025/03/14/2
- openwall.com/lists/oss-security/2025/03/14/3
- Known Exploited Vulnerabilities entrycisa.govCISA KEV