{"id":"UBUNTU-CVE-2021-44960","details":"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.","modified":"2026-02-04T02:50:48.976353Z","published":"2022-02-15T16:15:00Z","related":["USN-6178-1"],"upstream":["CVE-2021-44960"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-44960"},{"type":"REPORT","url":"https://github.com/svgpp/svgpp/issues/101.aa"},{"type":"REPORT","url":"https://github.com/svgpp/svgpp/issues/101"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6178-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-44960"}],"affected":[{"package":{"name":"svgpp","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/svgpp@1.2.3+dfsg1-3ubuntu1+esm1?arch=source&distro=esm-apps/bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.3+dfsg1-3ubuntu1+esm1"}]}],"versions":["1.2.3+dfsg1-3","1.2.3+dfsg1-3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libsvgpp-dev","binary_version":"1.2.3+dfsg1-3ubuntu1+esm1"}],"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44960.json"}},{"package":{"name":"svgpp","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/svgpp@1.2.3+dfsg1-6?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.3+dfsg1-6"],"ecosystem_specific":{"binaries":[{"binary_name":"libsvgpp-dev","binary_version":"1.2.3+dfsg1-6"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44960.json"}},{"package":{"name":"svgpp","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/svgpp@1.3.0+dfsg1-3ubuntu2.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.0+dfsg1-3ubuntu2.22.04.1"}]}],"versions":["1.3.0+dfsg1-3ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_name":"libsvgpp-dev","binary_version":"1.3.0+dfsg1-3ubuntu2.22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-44960.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"negligible"}]}