Vulnerabilities / CVE-2022-27404

critical

CVE-2022-27404

FreeType: Buffer overflow in sfnt_init_face

Published Modified CWE 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:H
Julia9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, CBL-Mariner, Julia, Photon OS. Rated lower by Amazon (high), Red Hat (medium), AlmaLinux (medium), Oracle (medium), Rocky Linux (medium), Ubuntu (medium).

Description

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

Affected packages and fixed versions

SourcePackageFixed in
CBL-Mariner 1.0freetype0:2.11.1-2.cm1
CBL-Mariner 2.0freetype, qt5-qtbase0:2.11.1-2.cm2 and 1 more
julia::Julia Ecosystem Security AdvisoriesFreeType2_jll2.13.1+0
Photon OS 2.0freetype22.7.1-7.ph2
Photon OS 3.0freetype22.9.1-3.ph3
Photon OS 4.0freetype2, freetype2-devel2.10.2-4.ph4
alma 8freetype, freetype-devel2.9.1-9.el8
alma 9freetype, freetype-devel2.10.4-9.el9
alpine 3.12freetype2.10.4-r1
alpine 3.13freetype2.10.4-r2
alpine 3.14freetype2.10.4-r2
alpine 3.15freetype2.11.1-r1
Show all 82 entries from 48 sources
SourcePackageFixed in
CBL-Mariner 1.0freetype0:2.11.1-2.cm1
CBL-Mariner 2.0freetype0:2.11.1-2.cm2
CBL-Mariner 2.0qt5-qtbase0:5.15.9-1.cm2
julia::Julia Ecosystem Security AdvisoriesFreeType2_jll2.13.1+0
Photon OS 2.0freetype22.7.1-7.ph2
Photon OS 3.0freetype22.9.1-3.ph3
Photon OS 4.0freetype22.10.2-4.ph4
Photon OS 4.0freetype2-devel2.10.2-4.ph4
alma 8freetype2.9.1-9.el8
alma 8freetype-devel2.9.1-9.el8
alma 9freetype2.10.4-9.el9
alma 9freetype-devel2.10.4-9.el9
alpine 3.12freetype2.10.4-r1
alpine 3.13freetype2.10.4-r2
alpine 3.14freetype2.10.4-r2
alpine 3.15freetype2.11.1-r1
alpine 3.16freetype2.12.1-r0
alpine 3.16qt5-qtwebengine5.15.3_git20220505-r3
alpine 3.17freetype2.12.1-r0
alpine 3.17qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.18freetype2.12.1-r0
alpine 3.18qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.19freetype2.12.1-r0
alpine 3.19qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.20freetype2.12.1-r0
alpine 3.20qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.21freetype2.12.1-r0
alpine 3.21qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.22freetype2.12.1-r0
alpine 3.22qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.23freetype2.12.1-r0
alpine 3.23qt5-qtwebengine5.15.3_git20220601-r2
alpine 3.24freetype2.12.1-r0
alpine edgefreetype2.12.1-r0
amazon linux 2freetype2.8-14.amzn2.1.1
amazon linux 2freetype-debuginfo2.8-14.amzn2.1.1
amazon linux 2freetype-demos2.8-14.amzn2.1.1
amazon linux 2freetype-devel2.8-14.amzn2.1.1
amazon linux 2022freetype2.12.1-3.amzn2022
amazon linux 2022freetype-debuginfo2.12.1-3.amzn2022
amazon linux 2022freetype-debugsource2.12.1-3.amzn2022
amazon linux 2022freetype-demos2.12.1-3.amzn2022
amazon linux 2022freetype-demos-debuginfo2.12.1-3.amzn2022
amazon linux 2022freetype-devel2.12.1-3.amzn2022
amazon linux 2023freetype2.12.1-3.amzn2023.0.1
amazon linux 2023freetype-debuginfo2.12.1-3.amzn2023.0.1
amazon linux 2023freetype-debugsource2.12.1-3.amzn2023.0.1
amazon linux 2023freetype-demos2.12.1-3.amzn2023.0.1
amazon linux 2023freetype-demos-debuginfo2.12.1-3.amzn2023.0.1
amazon linux 2023freetype-devel2.12.1-3.amzn2023.0.1
chainguardfreetype0
debian 10freetype2.9.1-3+deb10u3
debian 11freetype2.10.4+dfsg-1+deb11u1
debian 12freetype2.11.1+dfsg-2
debian 13freetype2.11.1+dfsg-2
debian 14freetype2.11.1+dfsg-2
debian 9freetypeno fix listed
echofreetype2.11.1+dfsg-2
Oracle Linux 8freetype2.9.1-9.el8
Oracle Linux 8freetype-devel2.9.1-9.el8
Oracle Linux 9freetype2.10.4-9.el9
Oracle Linux 9freetype-devel2.10.4-9.el9
rapidfort Oracle Linux 9freetype0:2.10.4-9.el9
rapidfort Oracle Linux 9freetype-devel0:2.10.4-9.el9
Red Hatfreetypeno fix listed
Red Hatfreetype-demosno fix listed
Red Hatfreetype-develno fix listed
rocky 8freetype2.9.1-9.el8
rocky 8freetype-devel2.9.1-9.el8
rocky 9freetype2.10.4-9.el9
rocky 9freetype-devel2.10.4-9.el9
root.io debian 12rootio-freetype2.11.1+dfsg-2
seal Red Hat 6freetype2.3.11-19.el6_10+sp999
seal Red Hat 6seal-freetype2.3.11-19.el6_10+sp999
seal Red Hat 8freetype2.9.1-9.el8+sp999
seal Red Hat 8seal-freetype2.9.1-9.el8+sp999
ubuntu 18.04freetype2.8.1-2ubuntu2.2
ubuntu 18.04-ESMfreetype2.8.1-2ubuntu2.2
ubuntu 20.04freetype2.10.1-2ubuntu0.2
ubuntu 20.04-ESMfreetype2.10.1-2ubuntu0.2
ubuntu 22.04freetype2.11.1+dfsg-1ubuntu0.1
wolfifreetype0

References

All 26 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.