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...
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2025-27363 vendor-advisory
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.facebook.com third-party-advisory
- source.android.com third-party-advisory vendor-advisory
- www.cisa.gov government-resource us-government-resource
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- lists.debian.org mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- www.openwall.com mailing-list
- Ubuntu CVE tracker vendor-advisory
- USN-7352-1 vendor-advisory
- USN-7352-2 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- ENISA EUVD EUVD-2025-6367 third-party-advisory