CVE-2025-27363
freetype - security update
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.
How to fix CVE-2025-27363
To remediate CVE-2025-27363, upgrade the affected package to a fixed version below.
- —upgrade to 2.13.1-r0 or later
- —upgrade to 2.10.4+dfsg-1+deb11u2 or later
- —upgrade to 2.10.4+dfsg-1+deb11u2 or later
- —upgrade to 2.12.1+dfsg-5+deb12u4 or later
Is CVE-2025-27363 being exploited?
Yes — CVE-2025-27363 is on the CISA Known Exploited Vulnerabilities (KEV) catalog. Patch immediately.
Affected packages (4)
- from 0, < 2.13.1-r0
- from 0, < 2.10.4+dfsg-1+deb11u2
- from 0, < 2.10.4+dfsg-1+deb11u2
- from 0, < 2.12.1+dfsg-5+deb12u4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |