VDB
KO
CRITICAL 9.8

PYSEC-2026-522

ReportLab vulnerable to remote code execution via paraparser

Details

paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates untrusted user input in a unichar element in a crafted XML document with '<unichar code="' followed by arbitrary Python code, a similar issue to CVE-2019-17626.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI / reportlab
Introduced in: 0 Fixed in: 3.5.31
Fix pip install --upgrade 'reportlab>=3.5.31'

References