Skip to main content
ExploitedIn CISA KEVFix available

CVE-2025-27363

Exploitation confirmed. First attested on 2025-05-06 by CISA-ADP, CISA KEV, GCVE · kevintel.

  • Published2025-03-11
  • WeaknessCWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-03-1114:15CVE publishedNVD
  2. 2025-05-06Added to the CISA KEV catalogCISA KEV
  3. 2025-05-06Listed as exploited by GCVEGCVE
  4. 2025-05-06Exploitation first reportedCISA KEV
  5. 2025-05-0703:55SSVC exploitation set to activeCISA-ADP

Versions per branch

NVD
Freetype
BranchAffectedFixed in
2.13≤ 2.13.0no fix published
Debian debian linux
BranchAffectedFixed in
11.0= 11.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As facebook, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • FreeTypeother versions: not affected
    Affected
    • ≥ 0.0.0, ≤ 2.13.0no fix statedsemver

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-03-13

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • freetypeUbuntu:Pro:18.04:LTSall versions · fixed in 2.8.1-2ubuntu2.2+esm1
  • freetypeUbuntu:Pro:16.04:LTSall versions · fixed in 2.6.1-0.1ubuntu2.5+esm2
  • freetypeUbuntu:Pro:14.04:LTSall versions · fixed in 2.5.2-1ubuntu2.8+esm3
  • freetypeUbuntu:22.04:LTSall versions · fixed in 2.11.1+dfsg-1ubuntu0.3
  • freetypeUbuntu:20.04:LTSall versions · fixed in 2.10.1-2ubuntu0.4
  • freetypeTuxCare:RHEL:7all versions · fixed in 2.8-14.el7_9.1.tuxcare.els2and 2 other packages
  • freetypeTuxCare:OracleLinux:7all versions · fixed in 2.8-14.el7_9.1.tuxcare.els2and 2 other packages
  • freetypeTuxCare:CentOS:7all versions · fixed in 2.8-14.el7_9.1.tuxcare.els2and 2 other packages

83 more package ranges on OSV.dev

Vendor advisories

  • CVE-2025-27363 Red Hat Product Security379 products fixed · 4 known affected

    freetype: OOB write when attempting to parse font subglyph structures related to TrueType GX and variable font files

    freetype as a component of Red Hat Enterprise Linux 6 · freetype-demos as a component of Red Hat Enterprise Linux 6 · freetype-devel as a component of Red Hat Enterprise Linux 6 · +1 more

  • RHSA-2025:9380 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: spice-client-win security update

  • RHSA-2025:8292 Red Hat Product Security10 products fixed

    Red Hat Security Advisory: mingw-freetype and spice-client-win security update

  • RHSA-2025:8253 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: spice-client-win security update

  • RHSA-2025:8219 Red Hat Product Security9 products fixed

    Red Hat Security Advisory: spice-client-win security update

  • RHSA-2025:8195 Red Hat Product Security10 products fixed

    Red Hat Security Advisory: mingw-freetype and spice-client-win security update

12 more advisories

Full record on NVD

Fix

  1. CISA’s 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.due 2025-05-27
  2. Vendor fix Red Hat Product Security RHSA-2025:9380 · 3 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2025:4409 · 1 productFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platform/4.…
  4. Vendor fix Red Hat Product Security RHSA-2025:3573 · 6 productsFor OpenShift Container Platform 4.12 see the following documentation, which will be updated shortly for this release, for important instructions on how to upgrade your cluster and fully apply this asynchronous errata update: https://docs.redhat.com/en/documentation/openshift_container_platfo…
  5. Workaround from the vendor Red Hat Product Security RHSA-2025:9380 · 3 productsBy restricting the sources from which font files can be loaded allowing only fonts from trusted sources, as well as validating the input for font files to avoid malformed font structures or any data which could trigger the vulnerability would reduce the risk and mitigate this vulnerability until th…

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

CISA Known Exploited Vulnerability

Date Added
2025-05-06
Patch Due Date
2025-05-27
Ransomware Use
Unknown
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.

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2025-03-11
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-g8qj-jv5h-78cp

Frequently asked questions

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

Is CVE-2025-27363 actively exploited?

Yes. CVE-2025-27363 is on the CISA Known Exploited Vulnerabilities (KEV) catalog, meaning it has been confirmed as actively exploited in the wild. CISA requires federal agencies to patch by 2025-05-27.

What is the CVSS score for CVE-2025-27363?

CVE-2025-27363 has a CVSS v3 base score of 8.1 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running freetype? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record