{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3481 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-3481 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-3481 in the wild and no public exploit code.\n\nAffected product: Qt Qt. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-3481/ (Markdown: https://insights.sbomify.com/CVE-2021-3481/index.md)","id":"CVE-2021-3481","markdown":"https://insights.sbomify.com/CVE-2021-3481/index.md","name":"CVE-2021-3481","record":{"aliases":["ALSA-2021:4172","DEBIAN-CVE-2021-3481","GHSA-jgc8-vf4g-2f67","MGASA-2021-0262","RHSA-2021:4172","RLSA-2021:4172","SUSE-SU-2021:3333-1","SUSE-SU-2021:3354-1","UBUNTU-CVE-2021-3481","openSUSE-SU-2021:1371-1","openSUSE-SU-2021:3354-1","openSUSE-SU-2024:10976-1"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["data_read","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Qt GUI library","requires_auth":"none","summary":"An out-of-bounds read in Qt's SVG rendering allows attackers to access unauthorized memory or crash the application via crafted files.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"qt","vendor":"qt"}],"cvss":{"score":7.1,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"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.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Linux Enterprise Module for Basesystem 15 SP2","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Desktop Applications 15 SP2","SUSE:Linux Enterprise Module for Desktop Applications 15 SP3","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Software Development Kit 12 SP5","openSUSE:Leap 15.2","openSUSE:Leap 15.3"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in qt","id":"CVE-2021-3481","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qt:qt","products":["qt:qt"],"type":"memory_corruption","year":"2021"},"n_packages":369,"n_references":5,"next":{"headline":"Memory corruption in exiv2","id":"CVE-2021-3482"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["1.2.1-3.el8"],"introduced":["0"],"last_affected":[],"package":"adwaita-qt5","purl":"pkg:rpm/almalinux/adwaita-qt5","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.1-3.el8"],"introduced":["0"],"last_affected":[],"package":"libadwaita-qt5","purl":"pkg:rpm/almalinux/libadwaita-qt5","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.0-2.el8"],"introduced":["0"],"last_affected":[],"package":"python-qt5-rpm-macros","purl":"pkg:rpm/almalinux/python-qt5-rpm-macros","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["4.19.24-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-pyqt5-sip","purl":"pkg:rpm/almalinux/python3-pyqt5-sip","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.0-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-qt5","purl":"pkg:rpm/almalinux/python3-qt5","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.0-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-qt5-base","purl":"pkg:rpm/almalinux/python3-qt5-base","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.0-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-qt5-devel","purl":"pkg:rpm/almalinux/python3-qt5-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["4.19.24-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-sip-devel","purl":"pkg:rpm/almalinux/python3-sip-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["4.19.24-2.el8"],"introduced":["0"],"last_affected":[],"package":"python3-wx-siplib","purl":"pkg:rpm/almalinux/python3-wx-siplib","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["0.7.1-2.el8"],"introduced":["0"],"last_affected":[],"package":"qgnomeplatform","purl":"pkg:rpm/almalinux/qgnomeplatform","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-assistant","purl":"pkg:rpm/almalinux/qt5-assistant","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-designer","purl":"pkg:rpm/almalinux/qt5-designer","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-devel","purl":"pkg:rpm/almalinux/qt5-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-doctools","purl":"pkg:rpm/almalinux/qt5-doctools","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-linguist","purl":"pkg:rpm/almalinux/qt5-linguist","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qdbusviewer","purl":"pkg:rpm/almalinux/qt5-qdbusviewer","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qt3d","purl":"pkg:rpm/almalinux/qt5-qt3d","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qt3d-devel","purl":"pkg:rpm/almalinux/qt5-qt3d-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qt3d-examples","purl":"pkg:rpm/almalinux/qt5-qt3d-examples","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase","purl":"pkg:rpm/almalinux/qt5-qtbase","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-common","purl":"pkg:rpm/almalinux/qt5-qtbase-common","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-devel","purl":"pkg:rpm/almalinux/qt5-qtbase-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-examples","purl":"pkg:rpm/almalinux/qt5-qtbase-examples","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-gui","purl":"pkg:rpm/almalinux/qt5-qtbase-gui","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-mysql","purl":"pkg:rpm/almalinux/qt5-qtbase-mysql","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-odbc","purl":"pkg:rpm/almalinux/qt5-qtbase-odbc","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-postgresql","purl":"pkg:rpm/almalinux/qt5-qtbase-postgresql","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-private-devel","purl":"pkg:rpm/almalinux/qt5-qtbase-private-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtbase-static","purl":"pkg:rpm/almalinux/qt5-qtbase-static","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.12.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtcanvas3d","purl":"pkg:rpm/almalinux/qt5-qtcanvas3d","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.12.5-3.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtcanvas3d-examples","purl":"pkg:rpm/almalinux/qt5-qtcanvas3d-examples","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtconnectivity","purl":"pkg:rpm/almalinux/qt5-qtconnectivity","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtconnectivity-devel","purl":"pkg:rpm/almalinux/qt5-qtconnectivity-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtconnectivity-examples","purl":"pkg:rpm/almalinux/qt5-qtconnectivity-examples","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtdeclarative","purl":"pkg:rpm/almalinux/qt5-qtdeclarative","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtdeclarative-devel","purl":"pkg:rpm/almalinux/qt5-qtdeclarative-devel","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtdeclarative-examples","purl":"pkg:rpm/almalinux/qt5-qtdeclarative-examples","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtdeclarative-static","purl":"pkg:rpm/almalinux/qt5-qtdeclarative-static","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-1.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtdoc","purl":"pkg:rpm/almalinux/qt5-qtdoc","source":"ALSA-2021:4172"},{"ecosystem":"AlmaLinux:8","fixed":["5.15.2-2.el8"],"introduced":["0"],"last_affected":[],"package":"qt5-qtgraphicaleffects","purl":"pkg:rpm/almalinux/qt5-qtgraphicaleffects","source":"ALSA-2021:4172"}],"prev":{"headline":"Null dereference in slapi-nis","id":"CVE-2021-3480"},"products":["qt"],"published":"2022-08-22","related":[{"cvss_score":9.8,"headline":"Use after free in n/a","id":"CVE-2020-12267","kev_date_added":null,"published":"2020-04-27"},{"cvss_score":9.8,"headline":"Command injection in Qt for Android","id":"CVE-2017-10904","kev_date_added":null,"published":"2017-12-15"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2011-3194","kev_date_added":null,"published":"2012-06-16"},{"cvss_score":8.8,"headline":"Integer overflow in Qt","id":"CVE-2022-40983","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":8.8,"headline":"Memory corruption in Qt","id":"CVE-2022-43591","kev_date_added":null,"published":"2023-01-12"},{"cvss_score":8.6,"headline":"Race condition in n/a","id":"CVE-2024-39936","kev_date_added":null,"published":"2024-07-04"},{"cvss_score":8.6,"headline":"Denial of service in n/a","id":"CVE-2018-21035","kev_date_added":null,"published":"2020-02-28"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"An out-of-bounds read in Qt's SVG rendering allows attackers to access unauthorized memory or crash the application via crafted files.","url":"https://insights.sbomify.com/CVE-2021-3481/"}