Skip to content
Fencer Vulns
medium 5.5

CVE-2021-45930 json

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>::…

published 2021-12-31 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-32639

cvss
5.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.4%
EPSS 1.4% chance of exploitation in 30 days, percentile 73%
public exploits
0
none known

Summary

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

Patch / fix

  • qtsvg-opensource-src Debian 14, Debian 13, Debian 12 5.15.2-4

debian advisories DEBIAN-CVE-2021-45930

  • qtsvg-opensource-src Ubuntu 18.04 LTS 5.9.5-0ubuntu1.1
  • qtsvg-opensource-src Ubuntu Pro 16.04 LTS 5.5.1-2ubuntu0.1~esm1
  • qtsvg-opensource-src Ubuntu Pro 20.04 LTS 5.12.8-0ubuntu1+esm1

ubuntu advisories UBUNTU-CVE-2021-45930

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • qt5-qtsvg RHEL 8 5.15.2-4.el8
  • qt5-qtsvg-examples RHEL 8 5.15.2-4.el8

red hat advisories RHSA-2022:1920

  • libqt4 SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 4.8.7-8.19.1
  • libqt4-sql-plugins SLES for SAP 12 SP5, SLES 12 SP5, SLE Workstation Extension 12 SP5 +1 more 4.8.7-8.19.1
  • libqt5-qtsvg SLE Real Time 15 SP3, Manager Server 4.2, Manager Proxy 4.2 5.12.7-150200.3.8.1
  • libqt5-qtsvg SLE Module for Desktop Applications 15 SP4, SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 5.15.2+kde16-150400.3.3.1
  • libqt5-qtsvg SLE Module for Desktop Applications 15 SP5, SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 5.15.8+kde8-150500.3.3.1
  • libqt5-qtsvg SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 5.6.2-3.11.1
  • libqt4 SLES LTSS Extended Security 12 SP5 4.8.7-8.22.1
  • libqt4-sql-plugins SLES LTSS Extended Security 12 SP5 4.8.7-8.22.1

suse advisories SUSE-SU-2025:02968-1SUSE-SU-2023:4622-1SUSE-SU-2023:3209-1SUSE-SU-2023:2981-1SUSE-SU-2023:2969-1SUSE-SU-2023:2967-1

  • qt5-qtsvg AlmaLinux 8 5.15.2-4.el8
  • qt5-qtsvg-examples AlmaLinux 8 5.15.2-4.el8

almalinux advisories ALSA-2022:1920

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-45930 updated cvss 7.5

qt: out-of-bounds write may lead to DoS

  • Red Hat Enterprise Linux 6 qt, qt-x11, qt-odbc, qt-demos, qt-mysql, qt-sqlite, +3 more Red Hat Enterprise Linux 7 qt, qt-x11, qt-odbc, qt-qvfb, qt-demos, qt-mysql, +8 more
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) qt5-qtsvg 5.15.2-4.el8, qt5-qtsvg-examples 5.15.2-4.el8
    fixed: vendor fix RHSA-2022:1920
  • Red Hat Enterprise Linux 6 qt3, qt3-ODBC, qt3-MySQL, qt3-config, qt3-sqlite, qt3-designer, +1 more Red Hat Enterprise Linux 7 qt3, qt3-ODBC, qt3-MySQL, qt3-config, qt3-designer, qt3-PostgreSQL Red Hat Enterprise Linux 9 qt5-qtsvg, qt5-qtsvg-examples
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.44% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qt/OSV-2021-1121.yaml referenced PoC, tagged "exploit" by a source, unverified
  • bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37025 referenced PoC, tagged "exploit" by a source, unverified
  • bugs.chromium.org https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37306 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 5.5 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.