Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-44960

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-44960
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:02 UTC · Revision 1

Source evidence

CVE-2021-44960

core-osv · Original source

Published 15 Feb 2022, 16:15 UTC

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.

osv:CVE-2021-44960
Complete source record
{
  "id": "6c46b2de4a44af66eb1d6ba6e7ac7f804ac485f37c93ce2f67fa8980ab59c479",
  "url": "https://osv.dev/vulnerability/CVE-2021-44960",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-44960",
    "summary": "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.",
    "evidence": "osv:CVE-2021-44960",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-44960",
      "aliases": [
        "CVE-2021-44960"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/svgpp/svgpp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "536233cbf232c26a5a2d532b63b2c9ab7338bdc0"
                },
                {
                  "last_affected": "536233cbf232c26a5a2d532b63b2c9ab7338bdc0"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:svgpp:svgpp:1.3.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.3.0"
                      },
                      {
                        "last_affected": "1.3.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.3.0",
            "v1.3.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-44960.json"
          }
        }
      ],
      "modified": "2026-10-20T10:55:07.210851373Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/04/msg00001.html",
        "https://lists.debian.org/debian-lts-announce/2025/10/msg00016.html",
        "https://github.com/svgpp/svgpp/issues/101",
        "https://github.com/svgpp/svgpp/issues/101.aa"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-44960",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386918,
  "published_at": "2022-02-15T16:15:08.46+00:00"
}