Live threats

All CVEs / Reportlab

CVE-2019-17626Reportlab

Critical 9.8 No auth needed

Priority
75
CVSS 3.1
9.8
EPSS
9.8%
probability of exploitation in 30 days · percentile 96
Auth required
No
Published
Oct 16, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-91
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document with '<span color="' followed by arbitrary Python code.

Original NVD text.

What to do

  1. Apply the vendor's security update for Reportlab.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI reportlab < 3.5.28 3.5.28 pip install "reportlab>=3.5.28"
PyPI reportlab < 3.5.28 3.5.28 pip install "reportlab>=3.5.28"

Per OSV / GitHub Advisories (GHSA-qpg2-vx7j-3869, PYSEC-2019-117). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
reportlabreportlab≤ 3.5.26

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.