CVE-2019-17626Reportlab
Critical 9.8 No auth needed
Follow: this CVE · Reportlab · Reportlab We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Reportlab.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| reportlab | reportlab | ≤ 3.5.26 |
Official advisories
- python313-reportlab-4.5.1-1.2 on GA media · SUSE · openSUSE-SU-2026:12037-1 · Oct 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org
- access.redhat.com
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bitbucket.org Exploit Issue Tracking Third Party Advisory
- bitbucket.org Release Notes Third Party Advisory
- lists.debian.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org
- security.netapp.com
- usn.ubuntu.com
- www.debian.org