Advisory

PYSEC-2026-522

Also known as: CVE-2019-19450, GHSA-pj98-2xf6-cff5

Summary

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:23 UTC

Affected packages and fixes

reportlab

PyPI · All systems

Affected

  • introduced 0, fixed 3.5.31 (ecosystem)

Fixed versions

3.5.31

Fix

  • Fixed version 3.5.31
    pip install --upgrade reportlab==3.5.31

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences