CVE-2025-27363
freetype: OOB write when attempting to parse font subglyph structures related to TrueType GX and variable font files
Overview
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.
Source: OX vulnerability database
Severity
8.1 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-787
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | FreeType2_jll | <2.13.1+0 | 2.13.1+0 |
Open a package to see all its vulnerabilities.
Operating systems · 56 fixes
Oracle Linux 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | freetype +2 | 2.8-14.0.1.el7_9.1 |
| 8 | mingw32-freetype +3 | 2.8-3.el8_10.1 |
| 8 | freetype +1 | 2.9.1-10.el8_10 |
| 9 | freetype +1 | 2.10.4-10.el9_5 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | freetype2 +1 | 2.13.3-1.ph4 |
| 5.0 | freetype2 +1 | 2.13.3-1.ph5 |
Red Hat 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 | affected | — |
| 7 | freetype +2 | 0:2.8-15.el7_9.1 | RHSA-2025:3395 |
| 8 | openshift-ose-rhel-coreos-8 | affected | — |
| 8 | mingw32-freetype +3 | 0:2.8-3.el8_10.1 | RHSA-2025:8292 |
| 8 | mingw32-freetype +3 | 0:2.8-3.el8_8.1 | RHSA-2025:8195 |
| 8 | freetype +1 | 0:2.9.1-10.el8_10 | RHSA-2025:3421 |
14 more rows
SUSE Linux Enterprise 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | freetype2-devel +3 | 2.6.3-7.21.1 | SUSE-SU-2025:0960-1 |
| 15.4 | freetype2-devel +3 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
| 15.5 | freetype2-devel +3 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
| 15.6 | freetype2-devel +3 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
SUSE Linux Enterprise Micro 5 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libfreetype6 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
| 5.2 | libfreetype6 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
| 5.3 | libfreetype6 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
| 5.4 | libfreetype6 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
| 5.5 | libfreetype6 | 2.10.4-150000.4.18.1 | SUSE-SU-2025:0998-1 |
alma 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | mingw32-freetype +3 | 2.8-3.el8_10.1 |
| 8 | freetype +1 | 2.9.1-10.el8_10 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | freetype | 2.13.1-r0 |
| 3.23 | freetype | 2.13.1-r0 |
| 3.24 | freetype | 2.13.1-r0 |
| edge | freetype | 2.13.1-r0 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | freetype +5 | 2.13.2-5.amzn2023.0.1 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | freetype | 2.10.4+dfsg-1+deb11u2 |
| 12 | freetype | 2.12.1+dfsg-5+deb12u4 |
| 13 | freetype | 2.13.1+dfsg-1 |
| 14 | freetype | 2.13.1+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| freetype | 2.12.1+dfsg-5+deb12u4 |
rocky 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | freetype +1 | 2.9.1-10.el8_10 |
| 8 | spice-client-win-x64 +1 | 8.10-1.el8_10 |
| 9 | freetype +1 | 2.10.4-10.el9_5 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-freetype | 2.12.1+dfsg-5+deb12u4 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | freetype +1 | 2.8-14.el7_9.1+sp2 |
ubuntu 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | freetype | 2.8.1-2ubuntu2.2+esm1 |
| 20.04 | freetype | 2.10.1-2ubuntu0.4 |
| 20.04-ESM | freetype | 2.10.1-2ubuntu0.4 |
| 22.04 | freetype | 2.11.1+dfsg-1ubuntu0.3 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/13/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/13/11
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/13/12
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/13/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/13/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/13/8
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/14/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/14/2
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/14/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/03/14/4
Show all 43 references
- www.openwall.com http://www.openwall.com/lists/oss-security/2025/05/06/3
- www.openwall.com http://www.openwall.com/lists/oss-security/2026/04/16/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2026/04/19/3
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:3421
- access.redhat.com https://access.redhat.com/errata/RHSA-2025:8292
- access.redhat.com https://access.redhat.com/security/cve/CVE-2025-27363
- bugzilla.redhat.com https://bugzilla.redhat.com/2351357
- bugzilla.redhat.com https://bugzilla.redhat.com/2357067
- bugzilla.redhat.com https://bugzilla.redhat.com/2357069
- bugzilla.redhat.com https://bugzilla.redhat.com/2357070
- bugzilla.redhat.com https://bugzilla.redhat.com/2359341
- bugzilla.redhat.com https://bugzilla.redhat.com/2359342
- bugzilla.redhat.com https://bugzilla.redhat.com/2359353
- bugzilla.redhat.com https://bugzilla.redhat.com/2359354
- bugzilla.redhat.com https://bugzilla.redhat.com/2359355
- bugzilla.redhat.com https://bugzilla.redhat.com/2359357
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2351357
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-27363
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2025-8292.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2025:3421
- github.com https://github.com/advisories/GHSA-g8qj-jv5h-78cp
- linux.oracle.com https://linux.oracle.com/cve/CVE-2025-27363.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2025-8292.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2025/03/msg00030.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-27363
- source.android.com https://source.android.com/docs/security/bulletin/2025-05-01
- ubuntu.com https://ubuntu.com/security/notices/USN-7352-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7352-2
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-27363
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2025-27363
- www.facebook.com https://www.facebook.com/security/advisories/cve-2025-27363
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.