CVE-2025-27363: FreeType Out-of-Bounds Write Vulnerability

Published Mar 11, 2025
·
Updated

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.

Other sources

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.

— Red Hat

FreeType contains an out-of-bounds write vulnerability when attempting to parse font subglyph structures related to TrueType GX and variable font files that may allow for arbitrary code execution.

— CISA

In loadtruetypeglyph of ttgload.c, there is a possible out of bounds write due to an integer overflow. This could lead to local code execution with no additional execution privileges needed. User interaction is not needed for exploitation.

— OSV

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

— Launchpad

Affected Software

24 affected componentsFixes available
FreeType FreeType<2.13.0
IBM Security Verify Governance<=ISVG 10.0.2
IBM Security Verify Governance -Identity Manager software component<=ISVG 10.0.2
IBM Security Verify Governance -Identity Manager virtual appliance component<=ISVG 10.0.2
FreeType FreeType<=2.13.0
Debian Debian Linux=11.0
Google Android
FreeType FreeType
All of the following
azurelinux/freetype<2.13.1-1
2.13.1-1
Microsoft CBL-Mariner=2.0
ubuntu/freetype<2.6.1-0.1ubuntu2.5+esm2
2.6.1-0.1ubuntu2.5+esm2
ubuntu/freetype<2.8.1-2ubuntu2.2+esm1
2.8.1-2ubuntu2.2+esm1
ubuntu/freetype<2.10.1-2ubuntu0.4
2.10.1-2ubuntu0.4
ubuntu/freetype<2.11.1+dfsg-1ubuntu0.3
2.11.1+dfsg-1ubuntu0.3
android/platform/external/freetype>=13:0<13:2025-05-01
13:2025-05-01
android/platform/external/freetype>=14:0<14:2025-05-01
14:2025-05-01
debian/freetype<2.12.1+dfsg-5+deb12u4
2.12.1+dfsg-5+deb12u4
debian/freetype<2.13.1+dfsg-1
2.13.1+dfsg-1
debian/freetype<2.13.1+dfsg-1
2.13.1+dfsg-1
debian/freetype
2.10.4+dfsg-1+deb11u22.12.1+dfsg-5+deb12u42.13.1+dfsg-1
alpine/freetype<2.13.1-r0
2.13.1-r0
alpine/freetype<2.13.1-r0
2.13.1-r0
alpine/freetype<2.13.1-r0
2.13.1-r0
alpine/freetype<2.13.1-r0
2.13.1-r0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade azurelinux/freetype to a version that resolves this vulnerability.

    Fixed in 2.13.1-1
  2. Upgrade

    Upgrade ubuntu/freetype to a version that resolves this vulnerability.

    Fixed in 2.6.1-0.1ubuntu2.5+esm2
  3. Upgrade

    Upgrade ubuntu/freetype to a version that resolves this vulnerability.

    Fixed in 2.8.1-2ubuntu2.2+esm1
  4. Upgrade

    Upgrade ubuntu/freetype to a version that resolves this vulnerability.

    Fixed in 2.10.1-2ubuntu0.4
  5. Upgrade

    Upgrade ubuntu/freetype to a version that resolves this vulnerability.

    Fixed in 2.11.1+dfsg-1ubuntu0.3
  6. Upgrade

    Upgrade android/platform/external/freetype to a version that resolves this vulnerability.

    Fixed in 13:2025-05-01
  7. Upgrade

    Upgrade android/platform/external/freetype to a version that resolves this vulnerability.

    Fixed in 14:2025-05-01
  8. Upgrade

    Upgrade alpine/freetype to a version that resolves this vulnerability.

    Fixed in 2.13.1-r0
  9. Upgrade

    Upgrade debian/freetype to a version that resolves this vulnerability.

    Fixed in 2.12.1+dfsg-5+deb12u4
  10. Upgrade

    Upgrade debian/freetype to a version that resolves this vulnerability.

    Fixed in 2.13.1+dfsg-1
  11. Upgrade

    Upgrade debian/freetype to a version that resolves this vulnerability.

    Fixed in 2.10.4+dfsg-1+deb11u2Fixed in 2.12.1+dfsg-5+deb12u4Fixed in 2.13.1+dfsg-1
  12. Compensating control

    Discontinue use of FreeType if mitigations are unavailable.

Event History

Mar 11, 2025
CVE Published
via MITRE·01:28 PM
Data Sourced
via MITRE·01:28 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·02:01 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Mar 12, 2025
News Published
via BleepingComputer·09:04 PM
Mar 13, 2025
News Published
via The Hacker News·07:13 AM
Known Exploited
via The Hackers News·07:13 AM
Updated
via NVD·01:15 PM
Description
Mar 14, 2025
Updated
via MITRE·05:02 PM
Description
Updated
via NVD·05:15 PM
Description
Mar 15, 2025
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
SeverityAffected Software
Mar 17, 2025
News Published
via The Hacker News·11:25 AM
Mar 23, 2025
Exploit Published
via GitHub·11:30 PM
Mar 30, 2025
Event
via FIRST·12:00 AM
May 1, 2025
Advisory Published
via OSV·12:00 AM
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
May 5, 2025
Data Sourced
via Android·12:00 AM
SeverityWeaknessAffected Software
May 6, 2025
Kev Listed
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
RemedyDescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
News Published
via The Hacker News·05:46 AM
News Published
via BleepingComputer·01:33 PM
May 7, 2025
Data Sourced
via NVD·04:00 PM
Affected Software
Updated
via NVD·04:00 PM
Severity
Jun 23, 2025
News Published
via The Hacker News·09:30 AM
Aug 27, 2025
Updated
via IBM·12:00 AM
Affected Software
Oct 21, 2025
Updated
via NVD·07:21 PM
Affected Software
Updated
via NVD·11:16 PM
Affected Software
Nov 21, 2026
Updated
via Microsoft·09:10 AM
Severity
Dec 3, 2026
Updated
via OSV·11:32 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-27363?

CVE-2025-27363 is rated as a high severity vulnerability due to the potential for remote code execution or crashes.

2

How do I fix CVE-2025-27363?

To fix CVE-2025-27363, upgrade FreeType to version 2.13.1 or later to mitigate the out of bounds write issue.

3

What versions of FreeType are affected by CVE-2025-27363?

CVE-2025-27363 affects FreeType versions 2.13.0 and below.

4

What type of vulnerability is CVE-2025-27363?

CVE-2025-27363 is an out of bounds write vulnerability that occurs when parsing certain font structures.

5

What are the potential impacts of CVE-2025-27363?

If exploited, CVE-2025-27363 could lead to application crashes or execution of arbitrary code on affected systems.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203