Every CVE Search/ Get API key

CVE-2021-45930

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

5.5 MediumFix available

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.44%Unchanged since Jan 1, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
CVE-2021-45930
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
CVE-2021-45930
Updated
2026-11-02
EUVDEUVD-2021-32639 No score

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
EUVD-2021-32639
Updated
2026-11-03
GitHub AdvisoriesGHSA-66fw-grvj-p2h2 5.5

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

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
GHSA-66fw-grvj-p2h2
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 5.5

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
CVE-2021-45930
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-45930 5.5

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
DEBIAN-CVE-2021-45930
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
Show 14 moreShow less
OSVOESA-2022-1493 5.5

qt5-qtsvg security update

The Qt SVG module provides functionality for displaying SVG images in widget, and to create SVG files using drawing commands.

Security Fix(es):

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).(CVE-2021-45930)

Record
OESA-2022-1493
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2022:1920 7.5

Red Hat Security Advisory: qt5-qtsvg security update

Record
RHSA-2022:1920
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-45930 5.5

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::QCommonArrayOpsQPainterPath::Element::growAppend (called from QPainterPath::addPath and QPathClipper::intersect).

Record
UBUNTU-CVE-2021-45930
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVALSA-2022:1920 No score

Moderate: qt5-qtsvg security update

Scalable Vector Graphics (SVG) is an XML-based language for describing two-dimensional vector graphics. Qt provides classes for rendering and displaying SVG drawings in widgets and on other paint devices.

Security Fix(es):

  • qt: out-of-bounds write may lead to DoS (CVE-2021-45930)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Record
ALSA-2022:1920
Updated
2026-11-02
OSVMGASA-2023-0231 No score

Updated qt4/qtsvg5 packages fix security vulnerability

Out-of-bounds write in QtPrivate::QCommonArrayOpsQPainterPath::Element::growAppend (CVE-2021-45930) QtSvg QSvgFont m_unitsPerEm initialization is mishandled. (CVE-2023-32573)

Record
MGASA-2023-0231
Updated
2026-11-02
OSVopenSUSE-SU-2024:13378-1 No score

libQt5Svg5-32bit-5.15.11+kde6-2.1 on GA media

These are all security issues fixed in the libQt5Svg5-32bit-5.15.11+kde6-2.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:13378-1
Updated
2026-11-02
OSVSUSE-SU-2023:2967-1 No score

Security update for libqt5-qtsvg

This update for libqt5-qtsvg fixes the following issues:

  • CVE-2021-45930: Fixed an out-of-bounds write that may have let to a denial-of-service (bsc#1196654).
  • CVE-2023-32573: Fixed missing initialization of QtSvg QSvgFont m_unitsPerEm variable (bsc#1211298).
Record
SUSE-SU-2023:2967-1
Updated
2026-11-02
OSVSUSE-SU-2023:2969-1 No score

Security update for libqt5-qtsvg

This update for libqt5-qtsvg fixes the following issues:

  • CVE-2021-45930: Fixed an out-of-bounds write that may have lead to a denial-of-service (bsc#1196654).
  • CVE-2023-32573: Fixed missing initialization of QtSvg QSvgFont m_unitsPerEm variable (bsc#1211298).
Record
SUSE-SU-2023:2969-1
Updated
2026-11-02
OSVSUSE-SU-2023:2981-1 No score

Security update for libqt5-qtsvg

This update for libqt5-qtsvg fixes the following issues:

  • CVE-2021-45930: Fixed an out-of-bounds write that may have lead to a denial-of-service (bsc#1196654).
  • CVE-2023-32573: Fixed missing initialization of QtSvg QSvgFont m_unitsPerEm variable (bsc#1211298).
Record
SUSE-SU-2023:2981-1
Updated
2026-11-02
OSVSUSE-SU-2023:3209-1 No score

Security update for libqt5-qtsvg

This update for libqt5-qtsvg fixes the following issues:

  • CVE-2021-45930: Fixed an out-of-bounds write that may have lead to a denial-of-service (bsc#1196654).
  • CVE-2023-32573: Fixed missing initialization of QtSvg QSvgFont m_unitsPerEm variable (bsc#1211298).
Record
SUSE-SU-2023:3209-1
Updated
2026-11-02
OSVSUSE-SU-2023:4622-1 No score

Security update for libqt4

This update for libqt4 fixes the following issues:

  • CVE-2021-45930: Fix out of-bounds write when parsing path nodes (bsc#1196654).
  • CVE-2023-32573: Fix missing initialization of QSvgFont unitsPerEm (bsc#1211298).
  • CVE-2023-32763: Fix potential buffer when rendering a SVG file with an image inside (bsc#1211798).
  • CVE-2023-34410: Fix missing sync of disablement of loading root certificates in qsslsocketprivate (bsc#1211994).
  • CVE-2023-37369: Fix buffer overflow in QXmlStreamReader (bsc#1214327).
  • CVE-2023-38197: Fix infinite loops in QXmlStreamReader (bsc#1213326).
Record
SUSE-SU-2023:4622-1
Updated
2026-11-02
OSVSUSE-SU-2025:02968-1 No score

Security update for libqt4

This update for libqt4 fixes the following issues:

  • CVE-2021-45930: Fixed out-of-bounds write leading to DoS (bsc#1196654)
  • CVE-2023-32573: Fixed missing initialization of QtSvg QSvgFont m_unitsPerEm (bsc#1211298)
  • CVE-2023-32763: Fixed buffer overflow on QTextLayout during rendering of an SVG file with an image inside (bsc#1211798)
  • CVE-2023-34410: Fixed certificate validation not always considering whether the root of a chain is a configured CA certificate (bsc#1211994)
  • CVE-2023-37369: Fixed buffer overflow in QXmlStreamReader (bsc#1214327)
  • CVE-2023-38197: Fixed infinite loops in QXmlStreamReader (bsc#1213326)
  • CVE-2025-5455: Fixed denial of service when qDecodeDataUrl() is called with malformed data and assertions are enabled (bsc#1245609)
Record
SUSE-SU-2025:02968-1
Updated
2026-11-02
OSVUSN-5241-1 No score

qtsvg-opensource-src vulnerabilities

It was discovered that QtSvg incorrectly handled certain malformed SVG images. If a user or automated system were tricked into opening a specially crafted image file, a remote attacker could use this issue to cause QtSvg to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-5241-1
Updated
2026-11-02
OSVUSN-8337-1 No score

qtsvg-opensource-src vulnerabilities

It was discovered that QtSvg incorrectly handled certain SVG images. An attacker could possibly use this issue to cause QtSvg to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2018-19869)

It was discovered that QtSvg incorrectly handled certain SVG images. An attacker could use this issue to cause QtSvg to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only affected Ubuntu 16.04 LTS and Ubuntu 20.04 LTS. (CVE-2021-3481, CVE-2021-28025, CVE-2021-45930)

It was discovered that QtSvg incorrectly handled certain SVG images. An attacker could use this issue to cause QtSvg to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2023-32573)

Record
USN-8337-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
qt5-qtsvg
AlmaLinux:8
before 5.15.2-4.el8
5.15.2-4.el8
qt5-qtsvg-devel
AlmaLinux:8
before 5.15.2-4.el8
5.15.2-4.el8
qt5-qtsvg-examples
AlmaLinux:8
before 5.15.2-4.el8
5.15.2-4.el8
qtsvg-opensource-src
Debian:12
before 5.15.2-4
5.15.2-4
qtsvg-opensource-src
Debian:13
before 5.15.2-4
5.15.2-4
qtsvg-opensource-src
Debian:14
before 5.15.2-4
5.15.2-4
qtsvg-opensource-src
Debian:9
From an advisory covering 2 CVEs
before 5.7.1~20161021-2.1+deb9u1, plus listed versions
5.7.1~20161021-25.7.1~20161021-2.1
5.7.1~20161021-2.1+deb9u1
qt4-x11
Debian:9
From an advisory covering 2 CVEs
before 4:4.8.7+dfsg-11+deb9u3, plus listed versions
4:4.8.7+dfsg-114:4.8.7+dfsg-11+deb9u14:4.8.7+dfsg-11+deb9u2
4:4.8.7+dfsg-11+deb9u3
qt4-x11
Debian:10
From an advisory covering 7 CVEs
before 4:4.8.7+dfsg-18+deb10u2, plus listed versions
4:4.8.7+dfsg-184:4.8.7+dfsg-18+deb10u1
4:4.8.7+dfsg-18+deb10u2
qtsvg5
Mageia:8
From an advisory covering 2 CVEs
before 5.15.2-1.3.mga8
5.15.2-1.3.mga8
Show 45 moreShow less
Affected packages
PackageAffectedFixed
qt4
Mageia:8
From an advisory covering 2 CVEs
before 4.8.7-35.3.mga8
4.8.7-35.3.mga8
qt5-qtsvg
openEuler:20.03-LTS-SP1
before 5.11.1-6.oe1
5.11.1-6.oe1
qt5-qtsvg
openEuler:20.03-LTS-SP2
before 5.11.1-6.oe1
5.11.1-6.oe1
qt5-qtsvg
openEuler:20.03-LTS-SP3
before 5.11.1-7.oe1
5.11.1-7.oe1
qt5-qtsvg
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
qt5-qtsvg-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
qt5-qtsvg-debugsource
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
qt5-qtsvg-devel
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
qt5-qtsvg-examples
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
qt5-qtsvg-examples-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
qt5-qtsvg-tests-debuginfo
Red Hat:enterprise_linux:8::appstream
before 0:5.15.2-4.el8
0:5.15.2-4.el8
libqt5-qtsvg
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 2 CVEs
before 5.6.2-3.11.1
5.6.2-3.11.1
libqt5-qtsvg
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 2 CVEs
before 5.6.2-3.11.1
5.6.2-3.11.1
libqt5-qtsvg
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 2 CVEs
before 5.6.2-3.11.1
5.6.2-3.11.1
libqt5-qtsvg
SUSE:Linux Enterprise Module for Basesystem 15 SP5
From an advisory covering 2 CVEs
before 5.15.8+kde8-150500.3.3.1
5.15.8+kde8-150500.3.3.1
libqt5-qtsvg
SUSE:Linux Enterprise Module for Desktop Applications 15 SP5
From an advisory covering 2 CVEs
before 5.15.8+kde8-150500.3.3.1
5.15.8+kde8-150500.3.3.1
libqt5-qtsvg
openSUSE:Leap 15.5
From an advisory covering 2 CVEs
before 5.15.8+kde8-150500.3.3.1
5.15.8+kde8-150500.3.3.1
libqt5-qtsvg
SUSE:Linux Enterprise Module for Basesystem 15 SP4
From an advisory covering 2 CVEs
before 5.15.2+kde16-150400.3.3.1
5.15.2+kde16-150400.3.3.1
libqt5-qtsvg
SUSE:Linux Enterprise Module for Desktop Applications 15 SP4
From an advisory covering 2 CVEs
before 5.15.2+kde16-150400.3.3.1
5.15.2+kde16-150400.3.3.1
libqt5-qtsvg
openSUSE:Leap 15.4
From an advisory covering 2 CVEs
before 5.15.2+kde16-150400.3.3.1
5.15.2+kde16-150400.3.3.1
libqt5-qtsvg
SUSE:Linux Enterprise Real Time 15 SP3
From an advisory covering 2 CVEs
before 5.12.7-150200.3.8.1
5.12.7-150200.3.8.1
libqt5-qtsvg
SUSE:Manager Proxy 4.2
From an advisory covering 2 CVEs
before 5.12.7-150200.3.8.1
5.12.7-150200.3.8.1
libqt5-qtsvg
SUSE:Manager Server 4.2
From an advisory covering 2 CVEs
before 5.12.7-150200.3.8.1
5.12.7-150200.3.8.1
libqt4
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-devel-doc
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-sql-plugins
SUSE:Linux Enterprise Software Development Kit 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-devel-doc
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-sql-plugins
SUSE:Linux Enterprise Server 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-devel-doc
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-sql-plugins
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4
SUSE:Linux Enterprise Workstation Extension 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4-sql-plugins
SUSE:Linux Enterprise Workstation Extension 12 SP5
From an advisory covering 6 CVEs
before 4.8.7-8.19.1
4.8.7-8.19.1
libqt4
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
From an advisory covering 7 CVEs
before 4.8.7-8.22.1
4.8.7-8.22.1
libqt4-devel-doc
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
From an advisory covering 7 CVEs
before 4.8.7-8.22.1
4.8.7-8.22.1
libqt4-sql-plugins
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
From an advisory covering 7 CVEs
before 4.8.7-8.22.1
4.8.7-8.22.1
qtsvg-opensource-src
Ubuntu:Pro:16.04:LTS
before 5.5.1-2ubuntu0.1~esm1, plus listed versions
5.4.2-2build15.5.1-2build1
5.5.1-2ubuntu0.1~esm1
qtsvg-opensource-src
Ubuntu:18.04:LTS
before 5.9.5-0ubuntu1.1, plus listed versions
5.9.1-25.9.2-25.9.2-35.9.3-0ubuntu15.9.4-0ubuntu15.9.5-0ubuntu1
5.9.5-0ubuntu1.1
qtsvg-opensource-src
Ubuntu:Pro:20.04:LTS
before 5.12.8-0ubuntu1+esm1, plus listed versions
5.12.4-15.12.5-25.12.5-2build15.12.8-0ubuntu1
5.12.8-0ubuntu1+esm1
qtsvg-opensource-src
Ubuntu:18.04:LTS
From an advisory covering 3 CVEs
before 5.9.5-0ubuntu1.1, plus listed versions
5.9.1-25.9.2-25.9.2-35.9.3-0ubuntu15.9.4-0ubuntu15.9.5-0ubuntu1
5.9.5-0ubuntu1.1
qtsvg-opensource-src
Ubuntu:Pro:16.04:LTS
From an advisory covering 5 CVEs
before 5.5.1-2ubuntu0.1~esm1, plus listed versions
5.4.2-2build15.5.1-2build1
5.5.1-2ubuntu0.1~esm1
qtsvg-opensource-src
Ubuntu:Pro:18.04:LTS
From an advisory covering 5 CVEs
before 5.9.5-0ubuntu1.1+esm1, plus listed versions
5.9.1-25.9.2-25.9.2-35.9.3-0ubuntu15.9.4-0ubuntu15.9.5-0ubuntu15.9.5-0ubuntu1.1
5.9.5-0ubuntu1.1+esm1
qtsvg-opensource-src
Ubuntu:Pro:20.04:LTS
From an advisory covering 5 CVEs
before 5.12.8-0ubuntu1+esm1, plus listed versions
5.12.4-15.12.5-25.12.5-2build15.12.8-0ubuntu1
5.12.8-0ubuntu1+esm1
qtsvg-opensource-src
Ubuntu:Pro:22.04:LTS
From an advisory covering 5 CVEs
before 5.15.3-1ubuntu0.1~esm1, plus listed versions
5.15.2-35.15.2-45.15.3-1
5.15.3-1ubuntu0.1~esm1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-45930 is a medium vulnerability (CVSS 5.5) in Debian Linux, published December 31, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.44%, the 73rd percentile. Fixed in qt5-qtsvg 5.15.2-4.el8.

References

Show 58 moreShow less
MoveEnter Open