CVE Vulnerabilities

CVE-2021-44960

NULL Pointer Dereference

Published: Feb 15, 2022 | Modified: Nov 03, 2025
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
NEGLIGIBLE
root.io logo minimus.io logo echo.ai logo

In SVGPP SVG++ library 1.3.0, the XMLDocument::getRoot function in the renderDocument function handled the XMLDocument object improperly, returning a null pointer in advance at the second if, resulting in a null pointer reference behind the renderDocument function.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
SvgppSvgpp1.3.0 (including)1.3.0 (including)
SvgppUbuntubionic*
SvgppUbuntuesm-apps/bionic*
SvgppUbuntuesm-apps/focal*
SvgppUbuntuesm-apps/jammy*
SvgppUbuntufocal*
SvgppUbuntuimpish*
SvgppUbuntujammy*
SvgppUbuntukinetic*
SvgppUbuntutrusty*
SvgppUbuntuupstream*
SvgppUbuntuxenial*

Potential Mitigations

References