Buffer overflow in Freetype

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 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.

Vulnerability class: Buffer Overflow

EPSS: 0.278 (98.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

CISA KEV (Known Exploited Vulnerabilities)

This CVE is on the CISA KEV catalog, added on . CISA KEV inclusion means CISA has confirmed in-the-wild exploitation; US federal agencies are required to remediate within a published due date.

BOD 22-01 due date: .

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.

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-27363?
CVE-2025-27363 is a high-severity vulnerability in Freetype, classified under Out-of-bounds Write. CVSS score: 8.1/10. Published 2025-03-11.
How severe is CVE-2025-27363?
High severity. CVSS v3 base score is 8.1 out of 10.
Is CVE-2025-27363 known to be exploited?
Yes. CVE-2025-27363 is listed in the CISA Known Exploited Vulnerabilities catalog (added 2025-05-06), indicating it is being actively exploited. 17 public proof-of-concept repositories are indexed.