CVE-2019-17626
CRITICAL 9.8CVSS 3.1XML Injection in ReportLab
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.
- Published
- 16 Oct 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-91
- Also known as
- GHSA-qpg2-vx7j-3869PYSEC-2019-117
- Sources
- NVDJSONOSV GHSA-qpg2-vx7j-3869JSONOSV PYSEC-2019-117JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | reportlab | reportlabcpe:2.3:a:reportlab:reportlab:*:*:*:*:*:*:*:* |
<= 3.5.26 | |
| OSV | PyPI | reportlab | < 3.5.28 | 3.5.28 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html · WEB
- https://access.redhat.com/errata/RHSA-2020:0195 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0197 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0201 · WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2020:0230 · WEB, ADVISORY
- https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md · Release Notes, Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/ · WEB
- https://security.gentoo.org/glsa/202007-35 · WEB, ADVISORY
- https://security.netapp.com/advisory/ntap-20240719-0006/ · WEB
- https://usn.ubuntu.com/4273-1/ · WEB
- https://www.debian.org/security/2020/dsa-4663 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2019-17626 · ADVISORY
- https://web.archive.org/web/20191016111823/https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM · WEB
- https://hg.reportlab.com/hg-public/reportlab/rev/51a521ad7dd3 · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/reportlab/PYSEC-2019-117.yaml · WEB
- https://github.com/advisories/GHSA-qpg2-vx7j-3869 · ADVISORY
- https://github.com/MrBitBucket/reportlab-mirror · PACKAGE
- https://access.redhat.com/security/cve/cve-2019-17626 · WEB
History
- 25 Nov 2026 20:30 UTC · NVD: first stored (published 16 Oct 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Oct 2019)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)