{"api_version":"1","generated_at":"2026-07-06T16:34:29+00:00","cve":"CVE-2021-42521","urls":{"html":"https://cve.report/CVE-2021-42521","api":"https://cve.report/api/cve/CVE-2021-42521.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-42521","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-42521"},"summary":{"title":"CVE-2021-42521","description":"There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx. The vendor didn't check the return value of libxml2 API 'xmlDocGetRootElement', and try to dereference it. It is unsafe as the return value can be NULL and that NULL pointer dereference may crash the application.","state":"PUBLIC","assigner":"patrick@puiterwijk.org","published_at":"2022-08-25 18:15:00","updated_at":"2023-11-07 03:39:00"},"problem_types":["CWE-476"],"metrics":[],"references":[{"url":"https://gitlab.kitware.com/vtk/vtk/issues/17818","name":"https://gitlab.kitware.com/vtk/vtk/issues/17818","refsource":"MISC","tags":[],"title":"Potential NULL pointer dereference : forgetting to check the return value of libxml2 API xmlDocGetRootElement (#17818) · Issues · VTK / VTK · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/","name":"FEDORA-2023-2cf9dd7d52","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: vtk-9.1.0-18.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549","name":"https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549","refsource":"CONFIRM","tags":[],"title":"VTK 9.2.5 is out - Announcements - VTK","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/","name":"FEDORA-2023-2cf9dd7d52","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: vtk-9.1.0-18.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-42521","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42521","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"42521","vulnerable":"1","versionEndIncluding":"9.0.0","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"vtk","cpe5":"vtk","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-42521","qid":"283972","title":"Fedora Security Update for vtk (FEDORA-2023-2cf9dd7d52)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-42521","ASSIGNER":"patrick@puiterwijk.org","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"vtk","version":{"version_data":[{"version_value":"VTK - 9.0.0 and before"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-400"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://gitlab.kitware.com/vtk/vtk/issues/17818","url":"https://gitlab.kitware.com/vtk/vtk/issues/17818"},{"refsource":"CONFIRM","name":"https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549","url":"https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549"},{"refsource":"FEDORA","name":"FEDORA-2023-2cf9dd7d52","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/"}]},"description":{"description_data":[{"lang":"eng","value":"There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx. The vendor didn't check the return value of libxml2 API 'xmlDocGetRootElement', and try to dereference it. It is unsafe as the return value can be NULL and that NULL pointer dereference may crash the application."}]}},"nvd":{"publishedDate":"2022-08-25 18:15:00","lastModifiedDate":"2023-11-07 03:39:00","problem_types":["CWE-476"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:vtk:vtk:*:*:*:*:*:*:*:*","versionEndIncluding":"9.0.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"42521","Ordinal":"219002","Title":"CVE-2021-42521","CVE":"CVE-2021-42521","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"42521","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}