CVE-2025-27363

Publication date 11 March 2025

Last updated 17 March 2025


Ubuntu priority

Cvss 3 Severity Score

8.1 · High

Score breakdown

An out of bounds write exists in FreeType versions 2.13.0 and below 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.

Read the notes from the security team

Status

Package Ubuntu Release Status
freetype 24.10 oracular
Not affected
24.04 LTS noble
Not affected
22.04 LTS jammy
Fixed 2.11.1+dfsg-1ubuntu0.3
20.04 LTS focal
Fixed 2.10.1-2ubuntu0.4
18.04 LTS bionic
Vulnerable
16.04 LTS xenial
Vulnerable

Notes


mdeslaur

per post on oss-security list: “This commit fixes most of the issue - except “limit” is still signed short - but needs to be redone if you’re backporting to 2.10.4″

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
freetype

Severity score breakdown

Parameter Value
Base score 8.1 · High
Attack vector Network
Attack complexity High
Privileges required None
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References

Related Ubuntu Security Notices (USN)

Other references