Skip to content

Known exploited

CVE-2025-27363 on Ubuntu 22.04 LTS: affected packages and fixed versions

2 packages on Ubuntu 22.04 LTS are affected by CVE-2025-27363 (FreeType Out-of-Bounds Write Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on May 6, 2025, with a remediation date of May 27, 2025 for US federal agencies.

Affected packages

PackageFixed inSeverityAdvisory
freetype2-demos 2.11.1+dfsg-1ubuntu0.3 Medium USN-7352-1
libfreetype6 2.11.1+dfsg-1ubuntu0.3 Medium USN-7352-1

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' freetype2-demos libfreetype6

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade freetype2-demos libfreetype6

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 22.04 LTS carries the fix in the version it already ships.

What it is

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.

CVE-2025-27363 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup