CVE-2021-3481 Memory corruption in qt

High 7.1 Published Updated

An out-of-bounds read in Qt's SVG rendering allows attackers to access unauthorized memory or crash the application via crafted files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3481?

CVE-2021-3481 is a high-severity memory corruption vulnerability in Qt Qt, published on 22 Aug 2022. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

A flaw was found in Qt. An out-of-bounds read vulnerability was found in QRadialFetchSimd in qt/qtbase/src/gui/painting/qdrawhelper_p.h in Qt/Qtbase. While rendering and displaying a crafted Scalable Vector Graphics (SVG) file this flaw may lead to an unauthorized memory access. The highest threat from this vulnerability is to data confidentiality and the application availability.

Weakness: CWE-125

Which versions are affected by CVE-2021-3481?

It affects 1 product.

Linux distribution packages (40)
adwaita-qt5 AlmaLinux:8All versions1.2.1-3.el8
libadwaita-qt5 AlmaLinux:8All versions1.2.1-3.el8
python-qt5-rpm-macros AlmaLinux:8All versions5.15.0-2.el8
python3-pyqt5-sip AlmaLinux:8All versions4.19.24-2.el8
python3-qt5 AlmaLinux:8All versions5.15.0-2.el8
python3-qt5-base AlmaLinux:8All versions5.15.0-2.el8
python3-qt5-devel AlmaLinux:8All versions5.15.0-2.el8
python3-sip-devel AlmaLinux:8All versions4.19.24-2.el8
python3-wx-siplib AlmaLinux:8All versions4.19.24-2.el8
qgnomeplatform AlmaLinux:8All versions0.7.1-2.el8
qt5-assistant AlmaLinux:8All versions5.15.2-3.el8
qt5-designer AlmaLinux:8All versions5.15.2-3.el8
qt5-devel AlmaLinux:8All versions5.15.2-1.el8
qt5-doctools AlmaLinux:8All versions5.15.2-3.el8
qt5-linguist AlmaLinux:8All versions5.15.2-3.el8
qt5-qdbusviewer AlmaLinux:8All versions5.15.2-3.el8
qt5-qt3d AlmaLinux:8All versions5.15.2-2.el8
qt5-qt3d-devel AlmaLinux:8All versions5.15.2-2.el8
qt5-qt3d-examples AlmaLinux:8All versions5.15.2-2.el8
qt5-qtbase AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-common AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-devel AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-examples AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-gui AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-mysql AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-odbc AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-postgresql AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-private-devel AlmaLinux:8All versions5.15.2-3.el8
qt5-qtbase-static AlmaLinux:8All versions5.15.2-3.el8
qt5-qtcanvas3d AlmaLinux:8All versions5.12.5-3.el8
qt5-qtcanvas3d-examples AlmaLinux:8All versions5.12.5-3.el8
qt5-qtconnectivity AlmaLinux:8All versions5.15.2-2.el8
qt5-qtconnectivity-devel AlmaLinux:8All versions5.15.2-2.el8
qt5-qtconnectivity-examples AlmaLinux:8All versions5.15.2-2.el8
qt5-qtdeclarative AlmaLinux:8All versions5.15.2-2.el8
qt5-qtdeclarative-devel AlmaLinux:8All versions5.15.2-2.el8
qt5-qtdeclarative-examples AlmaLinux:8All versions5.15.2-2.el8
qt5-qtdeclarative-static AlmaLinux:8All versions5.15.2-2.el8
qt5-qtdoc AlmaLinux:8All versions5.15.2-1.el8
qt5-qtgraphicaleffects AlmaLinux:8All versions5.15.2-2.el8

Products include Qt Qt.

How do I fix CVE-2021-3481?

Apply the vendor's patch.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-3481 being exploited?

There is no known exploitation of CVE-2021-3481 in the wild and no public exploit code.

All Qt Qt vulnerabilities

Sources

Also known as ALSA-2021:4172, DEBIAN-CVE-2021-3481, GHSA-jgc8-vf4g-2f67, MGASA-2021-0262, RHSA-2021:4172, RLSA-2021:4172 and 6 more.

Is CVE-2021-3481 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free