Uncontrolled Recursion Affecting python-svglib package, versions *


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.75% (52nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PYTHONSVGLIB-23024649
  • published28 Nov 2026
  • disclosed27 Nov 2026

Introduced: 27 Nov 2026

NewCVE-2026-137952  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

There is no fixed version for Echo:latest python-svglib.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-svglib package and not the python-svglib package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

svglib before 2.5.0 contains a denial of service vulnerability in SvgRenderer.renderNode() that recursively renders internal <image> 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.

CVSS Base Scores

version 3.1