CVE-2022-27404: Buffer Overflow

Published Apr 22, 2022
·
Updated

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

Affected Software

30 affected componentsFixes available
redhat/freetype<2.12.0
2.12.0
FreeType FreeType<2.12.0
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Fedoraproject Fedora=36
debian/freetype<2.11.1+dfsg-2
2.11.1+dfsg-2
debian/freetype<2.11.1+dfsg-2
2.11.1+dfsg-2
debian/freetype<2.11.1+dfsg-2
2.11.1+dfsg-2
debian/freetype
2.12.1+dfsg-5+deb12u42.13.3+dfsg-1+deb13u12.14.3+dfsg-3
alpine/freetype<2.10.4-r1
2.10.4-r1
alpine/freetype<2.10.4-r2
2.10.4-r2
alpine/freetype<2.10.4-r2
2.10.4-r2
alpine/freetype<2.11.1-r1
2.11.1-r1
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/freetype<2.12.1-r0
2.12.1-r0
alpine/qt5-qtwebengine<5.15.3_git20220505-r3
5.15.3_git20220505-r3
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2
alpine/qt5-qtwebengine<5.15.3_git20220601-r2
5.15.3_git20220601-r2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/freetype to a version that resolves this vulnerability.

    Fixed in 2.12.0
  2. Upgrade

    Upgrade debian/freetype to a version that resolves this vulnerability.

    Fixed in 2.12.1+dfsg-5+deb12u4Fixed in 2.13.3+dfsg-1+deb13u1Fixed in 2.14.3+dfsg-3
  3. Upgrade

    Upgrade alpine/freetype to a version that resolves this vulnerability.

    Fixed in 2.10.4-r1
  4. Upgrade

    Upgrade alpine/freetype to a version that resolves this vulnerability.

    Fixed in 2.10.4-r2
  5. Upgrade

    Upgrade alpine/freetype to a version that resolves this vulnerability.

    Fixed in 2.11.1-r1
  6. Upgrade

    Upgrade alpine/freetype to a version that resolves this vulnerability.

    Fixed in 2.12.1-r0
  7. Upgrade

    Upgrade alpine/qt5-qtwebengine to a version that resolves this vulnerability.

    Fixed in 5.15.3_git20220505-r3
  8. Upgrade

    Upgrade alpine/qt5-qtwebengine to a version that resolves this vulnerability.

    Fixed in 5.15.3_git20220601-r2
  9. Upgrade

    Upgrade debian/freetype to a version that resolves this vulnerability.

    Fixed in 2.11.1+dfsg-2

Event History

Apr 22, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·02:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·07:06 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2022-27404.

2

What is the severity of CVE-2022-27404?

The severity of CVE-2022-27404 is critical with a score of 9.8.

3

What software is affected by CVE-2022-27404?

The software affected by CVE-2022-27404 includes FreeType (up to version 2.12.0) and Fedora (versions 34, 35, 36).

4

What is the CWE ID associated with CVE-2022-27404?

The CWE ID associated with CVE-2022-27404 is CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE-787 (Out-of-bounds Write).

5

How can I fix the vulnerability CVE-2022-27404?

To fix the vulnerability CVE-2022-27404, it is recommended to update FreeType to a version above 2.12.0 and apply the necessary patches provided by the vendor.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203