CVE-2021-4062: Heap buffer overflow in BFCache

Published Nov 22, 2021
·
Updated

Heap buffer overflow in BFCache in Google Chrome prior to 96.0.4664.93 allowed a remote attacker who had compromised the renderer process to potentially exploit heap corruption via a crafted HTML page.

Credit

Leecraso(360 Alpha Lab), Guang Gong(360 Alpha Lab)

Affected Software

16 affected componentsFixes available
Google Chrome<96.0.4664.93
96.0.4664.93
Google Chrome<96.0.4664.93
Fedoraproject Fedora=34
Debian Debian Linux=10.0
Debian Debian Linux=11.0
alpine/qt5-qtwebengine<5.15.3_git20211112-r1
5.15.3_git20211112-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
alpine/qt5-qtwebengine<5.15.3_git20211127-r1
5.15.3_git20211127-r1
debian/chromium
150.0.7871.100-1~deb12u1156.0.8078.79-1~deb12u1150.0.7871.181-1~deb13u1156.0.8078.79-1~deb13u1156.0.8078.79-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Google Chrome (Trace Event) to a version that resolves this vulnerability.

    Fixed in 96.0.4664.93
  2. Upgrade

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

    Fixed in 5.15.3_git20211112-r1
  3. Upgrade

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

    Fixed in 5.15.3_git20211127-r1
  4. Upgrade

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

    Fixed in 150.0.7871.100-1~deb12u1Fixed in 156.0.8078.79-1~deb12u1Fixed in 150.0.7871.181-1~deb13u1Fixed in 156.0.8078.79-1~deb13u1Fixed in 156.0.8078.79-1

Event History

Nov 22, 2021
CVE Published
12:00 AM
Dec 23, 2021
CVE Published
via MITRE·12:45 AM
Data Sourced
via MITRE·12:45 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·01:15 AM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2021-4062?

CVE-2021-4062 has a severity rating of high due to the potential for heap corruption that could be exploited by attackers.

2

How do I fix CVE-2021-4062?

To fix CVE-2021-4062, update Google Chrome to version 96.0.4664.93 or later.

3

What applications are affected by CVE-2021-4062?

CVE-2021-4062 affects Google Chrome versions prior to 96.0.4664.93 and certain versions of Chromium on Debian.

4

Can CVE-2021-4062 lead to remote code execution?

Yes, CVE-2021-4062 can potentially allow remote code execution due to heap buffer overflow.

5

Is there a workaround for CVE-2021-4062?

There are no known workarounds for CVE-2021-4062, so updating to the latest version is recommended.

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