cve.bz

CVE-2022-27404 Out-of-bounds Write

9.8 criticalExploit referenceEPSS 2.8%Fix available

Critical (9.8). EPSS 2.8% estimated probability of exploitation activity in the next 30 days.

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

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.8% (unchanged from 2.7% a week ago; 2.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-27404 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-27404?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-27404?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-27404 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
freetype:freetypebefore 2.12.0
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14freetype2.11.1+dfsg-2DEBIAN-CVE-2022-27404
Ubuntu18.04:LTSfreetype2.8.1-2ubuntu2.2UBUNTU-CVE-2022-27404 USN-5528-1
Ubuntu20.04:LTSfreetype2.10.1-2ubuntu0.2UBUNTU-CVE-2022-27404 USN-5528-1
Ubuntu22.04:LTSfreetype2.11.1+dfsg-1ubuntu0.1UBUNTU-CVE-2022-27404 USN-5528-1
Red Hatenterprise_linux:8::baseosfreetype, freetype-devel, freetype-debuginfo and 2 more0:2.9.1-9.el8RHSA-2022:7745
Red Hatenterprise_linux:9::appstreamfreetype, freetype-devel, freetype-debuginfo and 2 more0:2.10.4-9.el9RHSA-2022:8340
Red Hatenterprise_linux:9::baseosfreetype, freetype-debuginfo, freetype-debugsource and 1 more0:2.10.4-9.el9RHSA-2022:8340
Red Hatrhel_eus:8.6::baseosfreetype, freetype-devel, freetype-debuginfo and 2 more0:2.9.1-5.el8_6.3RHSA-2024:0420
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 7 morefreetype22.10.4-150000.4.12.1SUSE-SU-2022:3252-2
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 6 moreft2demos, freetype22.10.4-150000.4.12.1SUSE-SU-2022:3252-2
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Module for Basesystem 15 SP3 and 1 morefreetype22.10.4-150000.4.12.1SUSE-SU-2022:3252-1
SUSELinux Enterprise Module for Desktop Applications 15 SP3, Linux Enterprise Module for Desktop Applications 15 SP4ft2demos2.10.4-150000.4.12.1SUSE-SU-2022:3252-1
SUSELinux Micro 6.0freetype22.13.3-1.1SUSE-SU-2025:20204-1
openSUSELeap 15.3, Leap 15.4ft2demos, freetype22.10.4-150000.4.12.1SUSE-SU-2022:3252-1
openSUSELeap Micro 5.2freetype22.10.4-150000.4.12.1SUSE-SU-2022:3252-1
openSUSETumbleweedfreetype22.12.1-3.1openSUSE-SU-2024:12279-1
openSUSETumbleweedlibqt5-qtbase5.15.6+kde177-1.1openSUSE-SU-2024:12367-1
AlmaLinux8freetype, freetype-devel2.9.1-9.el8ALSA-2022:7745
AlmaLinux9freetype, freetype-devel2.10.4-9.el9ALSA-2022:8340
Rocky Linux8freetype0:2.9.1-9.el8RLSA-2022:7745
Rocky Linux9freetype0:2.10.4-9.el9RLSA-2022:8340
Alpinev3.12freetype2.10.4-r1ALPINE-CVE-2022-27404
Alpinev3.13, v3.14freetype2.10.4-r2ALPINE-CVE-2022-27404
Alpinev3.15freetype2.11.1-r1ALPINE-CVE-2022-27404
Alpinev3.16qt5-qtwebengine5.15.3_git20220505-r3ALPINE-CVE-2022-27404
Alpinev3.16, v3.17, v3.18 and 6 morefreetype2.12.1-r0ALPINE-CVE-2022-27404
Alpinev3.17, v3.18, v3.19 and 4 moreqt5-qtwebengine5.15.3_git20220601-r2ALPINE-CVE-2022-27404
Azure Linux2freetype2.11.1-2AZL-9573
Azure Linux2qt5-qtbase5.15.9-1AZL-26757

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8freetype-0:2.9.1-9.el8Fixed 2022-11-08RHSA-2022:7745
Red Hat Enterprise Linux 8.6 Extended Update Supportfreetype-0:2.9.1-5.el8_6.3Fixed 2024-01-25RHSA-2024:0420
Red Hat Enterprise Linux 9freetype-0:2.10.4-9.el9Fixed 2022-11-15RHSA-2022:8340
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/multicluster-observability-rhel9-operatorNot affected
Red Hat Enterprise Linux 6freetypeNot affected
Red Hat Enterprise Linux 7freetypeOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-27404.

References

Check your stackJSON