{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "be3c218c35845acb5ad88cca6352a85b0eaad00e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.5.0",
                "range": [
                  {
                    "fixed": "fb6c39961846dc008241080cc080967f604edc0e"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "be3c218c35845acb5ad88cca6352a85b0eaad00e"
            },
            {
              "fixed": "fb6c39961846dc008241080cc080967f604edc0e"
            }
          ],
          "repo": "https://github.com/deeplook/svglib",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-cmj4-5g24-pp37"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-674"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137952.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.5.0"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.5.0"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "fixed": "2.5.0"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders internal \u003cimage\u003e href fragment references without expansion limits or cycle detection. Attackers can supply crafted SVGs to svg2rlg() with nested groups referencing each other twice or self-referencing images to cause exponential resource consumption or RecursionError crashes.",
  "id": "CVE-2026-137952",
  "modified": "2026-11-27T16:45:38.268239809Z",
  "published": "2026-11-27T15:22:31.879Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137952.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/deeplook/svglib"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/deeplook/svglib/blob/f99f799e6ed5841e3a405d0536a0a79ed991331c/src/svglib/svglib.py#L1427-L1440"
    },
    {
      "type": "FIX",
      "url": "https://github.com/deeplook/svglib/commit/be3c218c35845acb5ad88cca6352a85b0eaad00e"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/deeplook/svglib/releases/tag/v2.5.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/deeplook/svglib/security/advisories/GHSA-cmj4-5g24-pp37"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-137952"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/svglib-before-2.5.0-denial-of-service-via-recursive-image-fragment-references"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "svglib before 2.5.0 Denial of Service via Recursive Image Fragment References"
}