cve.bz

CVE-2021-45930 Out-of-bounds Write

5.5 mediumExploit referenceEPSS 1.4%Fix available

Medium (5.5). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
Qt SVG in Qt 5.0.0 through 5.15.2 and 6.0.0 through 6.2.1 has an out-of-bounds write in QtPrivate::QCommonArrayOps<QPainterPath::Element>::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 74th 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-2021-45930 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-45930?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-45930?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-2021-45930 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
qt:qtsvgfrom 5.0.0 through 5.15.2
qt:qtsvgfrom 6.0.0 through 6.2.1
fedoraproject:fedora34
fedoraproject:fedora35
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9qt4-x114:4.8.7+dfsg-11+deb9u3DLA-2895-1
Debian9qtsvg-opensource-src5.7.1~20161021-2.1+deb9u1DLA-2885-1
Debian10qt4-x114:4.8.7+dfsg-18+deb10u2DLA-3539-1
Debian12, 13, 14qtsvg-opensource-src5.15.2-4DEBIAN-CVE-2021-45930
Ubuntu18.04:LTSqtsvg-opensource-src5.9.5-0ubuntu1.1UBUNTU-CVE-2021-45930 USN-5241-1
UbuntuPro:16.04:LTSqtsvg-opensource-src5.5.1-2ubuntu0.1~esm1UBUNTU-CVE-2021-45930 USN-8337-1
UbuntuPro:18.04:LTSqtsvg-opensource-src5.9.5-0ubuntu1.1+esm1USN-8337-1
UbuntuPro:20.04:LTSqtsvg-opensource-src5.12.8-0ubuntu1+esm1UBUNTU-CVE-2021-45930 USN-8337-1
UbuntuPro:22.04:LTSqtsvg-opensource-src5.15.3-1ubuntu0.1~esm1USN-8337-1
Red Hatenterprise_linux:8::appstreamqt5-qtsvg, qt5-qtsvg-devel, qt5-qtsvg-examples and 4 more0:5.15.2-4.el8RHSA-2022:1920
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Desktop Applications 15 SP4libqt5-qtsvg5.15.2+kde16-150400.3.3.1SUSE-SU-2023:2981-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Desktop Applications 15 SP5libqt5-qtsvg5.15.8+kde8-150500.3.3.1SUSE-SU-2023:2969-1
SUSELinux Enterprise Real Time 15 SP3, Manager Proxy 4.2, Manager Server 4.2libqt5-qtsvg5.12.7-150200.3.8.1SUSE-SU-2023:3209-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libqt4, libqt4-devel-doc, libqt4-sql-plugins4.8.7-8.19.1SUSE-SU-2023:4622-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5libqt5-qtsvg5.6.2-3.11.1SUSE-SU-2023:2967-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5libqt4, libqt4-devel-doc, libqt4-sql-plugins4.8.7-8.22.1SUSE-SU-2025:02968-1
SUSELinux Enterprise Workstation Extension 12 SP5libqt4, libqt4-sql-plugins4.8.7-8.19.1SUSE-SU-2023:4622-1
openSUSELeap 15.4libqt5-qtsvg5.15.2+kde16-150400.3.3.1SUSE-SU-2023:2981-1
openSUSELeap 15.5libqt5-qtsvg5.15.8+kde8-150500.3.3.1SUSE-SU-2023:2969-1
AlmaLinux8qt5-qtsvg, qt5-qtsvg-devel, qt5-qtsvg-examples5.15.2-4.el8ALSA-2022:1920

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This flaw is out of support scope for versions of qt shipped with Red Hat Enterprise Linux 6 and 7 as it does not affect qt3, which does not have the qsvghandler.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8qt5-qtsvg-0:5.15.2-4.el8Fixed 2022-05-10RHSA-2022:1920
Red Hat Enterprise Linux 6qtOut of support scope
Red Hat Enterprise Linux 6qt3Not affected
Red Hat Enterprise Linux 7qtOut of support scope
Red Hat Enterprise Linux 7qt3Not affected
Red Hat Enterprise Linux 7qt5-qtsvgOut of support scope
Red Hat Enterprise Linux 9qt5-qtsvgNot affected

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-2021-45930.

References

Check your stackJSON