Skip to main content
No exploitation reportedFix available

CVE-2022-27404

No exploitation reported by the sources we read.

  • Published2022-04-22
  • Fixed in2.12.0
  • 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

FreeType commit 1e2eb65048f75c64b68708efed6ce904c31f3b2f was discovered to contain a heap buffer overflow via the function sfnt_init_face.

Timeline

dates in UTC
  1. 2022-04-2214:15CVE publishedNVD

Versions per branch

NVD
Freetype
BranchAffectedFixed in
2.12< 2.12.02.12.0
Fedoraproject fedora
BranchAffectedFixed in
34.x= 34no fix published
35.x= 35no fix published
36.x= 36no fix published

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

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

  • freetypeWolfiall versions · fixed in 0
  • freetypeUbuntu:22.04:LTSall versions · fixed in 2.11.1+dfsg-1ubuntu0.1
  • freetypeUbuntu:20.04:LTSall versions · fixed in 2.10.1-2ubuntu0.2
  • freetypeUbuntu:18.04:LTSall versions · fixed in 2.8.1-2ubuntu2.2
  • freetypeTuxCare:CentOS:7all versions · fixed in 2.8-14.el7_9.1.tuxcare.els1and 2 other packages
  • freetypeRocky Linux:9all versions · fixed in 0:2.10.4-9.el9
  • freetypeRocky Linux:8all versions · fixed in 0:2.9.1-9.el8
  • freetypeRed Hat:rhel_eus:8.6::baseosall versions · fixed in 0:2.9.1-5.el8_6.3and 4 other packages

70 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-27404 Red Hat Product Security90 products fixed · 4 known affected

    FreeType: Buffer overflow in sfnt_init_face

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

  • RHSA-2024:0420 Red Hat Product Security26 products fixed

    Red Hat Security Advisory: freetype security update

  • RHSA-2022:8340 Red Hat Product Security38 products fixed

    Red Hat Security Advisory: freetype security update

  • RHSA-2022:7745 Red Hat Product Security26 products fixed

    Red Hat Security Advisory: freetype security update

Full record on NVD

Fix

  1. Update Freetype to 2.12.0
  2. Vendor fix Red Hat Product Security RHSA-2024:0420 · 26 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 The X server must be restarted (log out, then log back in) for this update to take effect.
  3. No fix planned, says the vendor Red Hat Product Security CVE-2022-27404 · 4 productsOut of support scope

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2022-04-22
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-22wv-f9f6-xwwm

Frequently asked questions

What is CVE-2022-27404?

FreeType commit 1e2eb65048f75c64b68708efed6ce904c31f3b2f was discovered to contain a heap buffer overflow via the function sfnt_init_face.

Is CVE-2022-27404 actively exploited?

Active exploitation of CVE-2022-27404 has not been confirmed. Its EPSS score was 2.7% on 2026-11-08, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-27404?

CVE-2022-27404 has a CVSS v3 base score of 9.8 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/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