ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in…
Priority MEDIUM 61CWE-91Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 14 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.09526 95th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial reportlab (PyPI): 3.5.28Red Hat: 4 advisoriesRed Hat: 14 fixed, 1 without a fix
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | reportlab (PyPI) | before 3.5.28 | 3.5.28 | Patch available | GHSA-qpg2-vx7j-3869 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- reportlab (PyPI) Vendor— Affected before 3.5.28 Fixed in 3.5.28 Patch available GHSA-qpg2-vx7j-3869
Remediation
- Fix · GHSA-qpg2-vx7j-3869 reportlab (PyPI) Fixed in 3.5.28 Advisory →
Red Hat 4 advisories
- RHSA-2020:0230 Released 2020-01-27 · Red Hat rating Importantpython-reportlab security update
- Red Hat Enterprise Linux AppStream E4S (v. 8.0) python-reportlab-3.4.0-6.el8_0.2, python3-reportlab-3.4.0-6.el8_0.2
- RHSA-2020:0201 Released 2020-01-24 · Red Hat rating Importantpython-reportlab security update
- Red Hat Enterprise Linux AppStream (v. 8) python-reportlab-3.4.0-6.el8_1.2, python3-reportlab-3.4.0-6.el8_1.2
- RHSA-2020:0195 Released 2020-01-21 · Red Hat rating Importantpython-reportlab security update
- Red Hat Enterprise Linux Client (v. 7) python-reportlab-2.5-9.el7_7.1
- Red Hat Enterprise Linux Client Optional (v. 7) python-reportlab-docs-2.5-9.el7_7.1
- Red Hat Enterprise Linux Server (v. 7) python-reportlab-2.5-9.el7_7.1
- Red Hat Enterprise Linux Server Optional (v. 7) python-reportlab-docs-2.5-9.el7_7.1
- Red Hat Enterprise Linux Workstation (v. 7) python-reportlab-2.5-9.el7_7.1
- Red Hat Enterprise Linux Workstation Optional (v. 7) python-reportlab-docs-2.5-9.el7_7.1
Show 1 more Red Hat advisories
- RHSA-2020:0197 Released 2020-01-21 · Red Hat rating Importantpython-reportlab security update
- Red Hat Enterprise Linux Desktop (v. 6) python-reportlab-2.3-3.el6_10.1
- Red Hat Enterprise Linux Desktop Optional (v. 6) python-reportlab-docs-2.3-3.el6_10.1
- Red Hat Enterprise Linux Server (v. 6) python-reportlab-2.3-3.el6_10.1
- Red Hat Enterprise Linux Server Optional (v. 6) python-reportlab-docs-2.3-3.el6_10.1
- Red Hat Enterprise Linux Workstation (v. 6) python-reportlab-2.3-3.el6_10.1
- Red Hat Enterprise Linux Workstation Optional (v. 6) python-reportlab-docs-2.3-3.el6_10.1
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Quay 3 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2020:0201 |
| Red Hat Enterprise Linux AppStream E4S (v. 8.0) | Fixed | RHSA-2020:0230 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2020:0195 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2020:0195 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2020:0197 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2020:0197 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2020:0197 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2020:0195 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2020:0197 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2020:0195 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2020:0197 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2020:0195 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2020:0197 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2020:0195 |
Timeline
- 2026-10-02 Threatist record created from CVE-2019-17626
- 2026-10-03 Alias added: GHSA-qpg2-vx7j-3869
References
Advisory 13
- https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
- RHSA-2020:0197
- RHSA-2020:0195
- FEDORA-2020-d2fb999600
- RHSA-2020:0230
- RHSA-2020:0201
- FEDORA-2020-f3e0ba2f79
- openSUSE-SU-2020:0160
- USN-4273-1
- DSA-4663
- GLSA-202007-35
- https://nvd.nist.gov/vuln/detail/CVE-2019-17626
- https://github.com/advisories/GHSA-qpg2-vx7j-3869
Other 13
- [debian-lts-announce] 20200220 [SECURITY] [DLA 2112-1] python-reportlab security update
- https://security.netapp.com/advisory/ntap-20240719-0006/
- https://web.archive.org/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- https://usn.ubuntu.com/4273-1
- https://security.netapp.com/advisory/ntap-20240719-0006
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
- https://lists.fedoraproject.org/archives/list/[email protected]/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM
- https://hg.reportlab.com/hg-public/reportlab/rev/51a521ad7dd3
- https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2019-117.yaml
- https://github.com/MrBitBucket/reportlab-mirror
- https://access.redhat.com/security/cve/cve-2019-17626
More Reportlab vulnerabilities
- TI-2023-16658 Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file. CVSS 3.1HIGH 7.8
- TI-2019-14012 paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar… CVSS 3.1CRITICAL 9.8
- TI-2020-17278 Server-side request forgery (SSRF) in reportlab CVSS 3.1MEDIUM 6.5
Sources
- CVE-2019-17626 · CVE Program
- CVE-2019-17626 · NVD
- FIRST EPSS
- GHSA-qpg2-vx7j-3869 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-17626 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences