CVE-2021-38593

Source
https://cve.org/CVERecord?id=CVE-2021-38593
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38593.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-38593
Downstream
AZL (2)
MGASA (1)
OESA (2)
RHSA (1)
RLSA (1)
UBUNTU (1)
Related
Published
2021-08-12T02:15:06Z
Modified
2026-07-08T22:14:01Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

Qt 5.x before 5.15.6 and 6.x through 6.1.2 has an out-of-bounds write in QOutlineMapper::convertPath (called from QRasterPaintEngine::fill and QPaintEngineEx::stroke).

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "35"
                },
                {
                    "last_affected":  "35"
                },
                {
                    "introduced":  "36"
                },
                {
                    "last_affected":  "36"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/qt/qt5

Affected ranges

Type
GIT
Repo
https://github.com/qt/qt5
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
Last Affected
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:qt:qt:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "5.0.0"
        },
        {
            "fixed":  "5.15.6"
        },
        {
            "introduced":  "6.0.0"
        },
        {
            "last_affected":  "6.1.2"
        }
    ],
    "source":  "CPE_RANGE"
}

Affected versions

v5.*
v5.0.0-beta1
v5.15.0-alpha1
v5.15.0-beta1
v5.15.0-beta2
v5.15.0-beta3
v5.15.0-beta4
v5.15.3-lts-lgpl
v5.15.4-lts-lgpl
v5.15.5-lts-lgpl
v6.*
v6.0.0-alpha1
v6.0.0-beta1
v6.0.0-beta2
v6.0.0-beta3
v6.0.0-beta4
v6.0.0-beta5
v6.1.0-alpha1
v6.1.0-beta1
v6.1.0-beta2
v6.1.0-beta3
v6.1.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38593.json"

Git / github.com/qt/qtbase

Affected ranges

Type
GIT
Repo
https://github.com/qt/qtbase
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:qt:qt:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "5.0.0"
        },
        {
            "fixed":  "5.15.6"
        },
        {
            "introduced":  "6.0.0"
        },
        {
            "last_affected":  "6.1.2"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-38593.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "271928562808682822601995538577538974780",
                "72176071764742851516072444134726106676",
                "163469072021631174261305783525076176707",
                "213547461056257825045409429829012753748"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-38593-10bb0601",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/qt/qtbase/commit/6b400e3147dcfd8cc3a393ace1bd118c93762e0c",
        "target":  {
            "file":  "src/gui/painting/qpaintengineex.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "271928562808682822601995538577538974780",
                "72176071764742851516072444134726106676",
                "163469072021631174261305783525076176707",
                "213547461056257825045409429829012753748"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-38593-22346b8a",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/qt/qtbase/commit/202143ba41f6ac574f1858214ed8bf4a38b73ccd",
        "target":  {
            "file":  "src/gui/painting/qpaintengineex.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "271928562808682822601995538577538974780",
                "72176071764742851516072444134726106676",
                "163469072021631174261305783525076176707",
                "213547461056257825045409429829012753748"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2021-38593-2f99537b",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/qt/qtbase/commit/1ca02cf2879a5e1511a2f2109f0925cf4c892862",
        "target":  {
            "file":  "src/gui/painting/qpaintengineex.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "66084939280504979425354887214909155133",
            "length":  6445
        },
        "id":  "CVE-2021-38593-527772bf",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/qt/qtbase/commit/1ca02cf2879a5e1511a2f2109f0925cf4c892862",
        "target":  {
            "file":  "src/gui/painting/qpaintengineex.cpp",
            "function":  "QPaintEngineEx::stroke"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "66084939280504979425354887214909155133",
            "length":  6445
        },
        "id":  "CVE-2021-38593-bbbd8d65",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/qt/qtbase/commit/202143ba41f6ac574f1858214ed8bf4a38b73ccd",
        "target":  {
            "file":  "src/gui/painting/qpaintengineex.cpp",
            "function":  "QPaintEngineEx::stroke"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "66084939280504979425354887214909155133",
            "length":  6445
        },
        "id":  "CVE-2021-38593-dabe698e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/qt/qtbase/commit/6b400e3147dcfd8cc3a393ace1bd118c93762e0c",
        "target":  {
            "file":  "src/gui/painting/qpaintengineex.cpp",
            "function":  "QPaintEngineEx::stroke"
        }
    }
]
vanir_signatures_modified
"2026-07-08T22:14:01Z"