HIGH

CVE-2025-27363

Debian Debian Linux 2025-03-11 CVSS v3.1
CVSS
8.1
KEV

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.

Summary dbcve.org

FreeType versions 2.13.0 and below contain an out-of-bounds write vulnerability when parsing TrueType GX and variable font subglyph structures. The vulnerability stems from a signed short value being assigned to an unsigned long and then added with a static value, causing integer wraparound that results in an undersized heap buffer allocation. The code then writes up to 6 signed long integers out of bounds, potentially allowing arbitrary code execution.

Mitigation

Upgrade FreeType to a version newer than 2.13.0. Since this vulnerability may have been exploited in the wild and has high severity, priority should be given to patching vulnerable systems immediately.

Weakness (CWE)

CWE-787 Out-of-bounds Write

EPSS Score

27.78%
Probability of exploitation in next 30 days
98th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE