CVE-2019-17626
published critical CVSS 3.1 · 9.8python-reportlab: code injection in colors.py allows attacker to execute code
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| reportlab | — | reportlab0 through 3.5.26 · Other versions: unknown | Affected | Not stated | CISA-ADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2020-1390 | Fixed | Not stated | Amazon Linux assessment |
| Debian | buster | python-reportlab | Advisory build | 3.5.13-1+deb10u1 | DSA-4663-1 |
| Oracle Linux | 6 | python-reportlabi686 | Advisory build | 0:2.3-3.el6_10.1 | ELSA-2020-0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlabi686 | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| SUSE / openSUSE | SLE-12-SP4 | python-reportlabx86_64 | Advisory build | 2.7-3.3.1 | SUSE-SU-2020:0324-1 |
| Ubuntu | bionic | python-renderpm | Advisory build | 3.4.0-3ubuntu0.1 | USN-4273-1 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Amazon Linux | AL2 | python-reportlabaarch64 | Listed in advisory | Not stated | ALAS2-2020-1390 |
| Debian | jessie | python-reportlab | Advisory build | 3.1.8-3+deb8u2 | DLA-2112-1 |
| Debian | stretch | python-reportlab | Advisory build | 3.3.0-2+deb9u1 | DSA-4663-1 |
| Oracle Linux | 6 | python-reportlabx86_64 | Advisory build | 0:2.3-3.el6_10.1 | ELSA-2020-0197 |
| Oracle Linux | 6 | python-reportlab-docsi686 | Advisory build | 0:2.3-3.el6_10.1 | ELSA-2020-0197 |
| Oracle Linux | 6 | python-reportlab-docsx86_64 | Advisory build | 0:2.3-3.el6_10.1 | ELSA-2020-0197 |
| Oracle Linux | 7 | python-reportlabaarch64 | Advisory build | 0:2.5-9.el7_7.1 | ELSA-2020-0195 |
| Oracle Linux | 7 | python-reportlabx86_64 | Advisory build | 0:2.5-9.el7_7.1 | ELSA-2020-0195 |
| Oracle Linux | 7 | python-reportlab-docsaarch64 | Advisory build | 0:2.5-9.el7_7.1 | ELSA-2020-0195 |
| Oracle Linux | 7 | python-reportlab-docsx86_64 | Advisory build | 0:2.5-9.el7_7.1 | ELSA-2020-0195 |
| Oracle Linux | 8 | python3-reportlabx86_64 | Advisory build | 0:3.4.0-6.el8_1.2 | ELSA-2020-0201 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlabppc64 | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlabsrc | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlabx86_64 | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlab-debuginfoi686 | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlab-debuginfoppc64 | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlab-debuginfox86_64 | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-6 | python-reportlab-docsnoarch | Advisory build | 2.3-3.el6_10.1 | RHSA-2020:0197 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlabppc64 | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlabppc64le | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlabs390x | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlabsrc | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlabx86_64 | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-debuginfoppc64 | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-debuginfoppc64le | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-debuginfos390x | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-debuginfox86_64 | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-docsppc64 | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-docsppc64le | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-docss390x | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-7 | python-reportlab-docsx86_64 | Advisory build | 2.5-9.el7_7.1 | RHSA-2020:0195 |
| Red Hat Enterprise Linux | RHEL-8 | python-reportlabsrc | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python-reportlabsrc | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| Red Hat Enterprise Linux | RHEL-8 | python-reportlab-debugsourceppc64le | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python-reportlab-debugsourceppc64le | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| Red Hat Enterprise Linux | RHEL-8 | python-reportlab-debugsourcex86_64 | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python-reportlab-debugsourcex86_64 | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlabppc64le | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlabppc64le | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlabx86_64 | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlabx86_64 | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlab-debuginfoppc64le | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlab-debuginfoppc64le | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlab-debuginfox86_64 | Advisory build | 3.4.0-6.el8_0.2 | RHSA-2020:0230 |
| Red Hat Enterprise Linux | RHEL-8 | python3-reportlab-debuginfox86_64 | Advisory build | 3.4.0-6.el8_1.2 | RHSA-2020:0201 |
| SUSE / openSUSE | SLE-12-SP5 | python-reportlabx86_64 | Advisory build | 2.7-3.3.1 | SUSE-SU-2020:0324-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | python2-reportlabi586 | Advisory build | 3.4.0-lp151.3.3.1 | OPENSUSE-SU-2020:0160-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | python2-reportlabx86_64 | Advisory build | 3.4.0-lp151.3.3.1 | OPENSUSE-SU-2020:0160-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | python3-reportlabi586 | Advisory build | 3.4.0-lp151.3.3.1 | OPENSUSE-SU-2020:0160-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | python3-reportlabx86_64 | Advisory build | 3.4.0-lp151.3.3.1 | OPENSUSE-SU-2020:0160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-reportlabaarch64 | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-reportlabppc64le | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-reportlabs390x | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python310-reportlabx86_64 | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-reportlabaarch64 | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-reportlabppc64le | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-reportlabs390x | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python311-reportlabx86_64 | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-reportlabaarch64 | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-reportlabppc64le | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-reportlabs390x | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python312-reportlabx86_64 | Advisory build | 4.0.7-1.3 | OPENSUSE-SU-2024:14160-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-reportlabaarch64 | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-reportlabppc64le | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-reportlabs390x | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-reportlabx86_64 | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-reportlabaarch64 | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-reportlabppc64le | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-reportlabs390x | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-reportlabx86_64 | Advisory build | 4.5.1-1.2 | OPENSUSE-SU-2026:12037-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-reportlabaarch64 | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-reportlabppc64le | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-reportlabs390x | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python36-reportlabx86_64 | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-reportlabaarch64 | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-reportlabppc64le | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-reportlabs390x | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python38-reportlabx86_64 | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-reportlabaarch64 | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-reportlabppc64le | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-reportlabs390x | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python39-reportlabx86_64 | Advisory build | 3.5.59-2.6 | OPENSUSE-SU-2024:11265-1 |
| Ubuntu | bionic | python-reportlab | Advisory build | 3.4.0-3ubuntu0.1 | USN-4273-1 |
| Ubuntu | bionic | python-reportlab-accel | Advisory build | 3.4.0-3ubuntu0.1 | USN-4273-1 |
| Ubuntu | bionic | python3-renderpm | Advisory build | 3.4.0-3ubuntu0.1 | USN-4273-1 |
| Ubuntu | bionic | python3-reportlab | Advisory build | 3.4.0-3ubuntu0.1 | USN-4273-1 |
| Ubuntu | bionic | python3-reportlab-accel | Advisory build | 3.4.0-3ubuntu0.1 | USN-4273-1 |
| Ubuntu | xenial | python-renderpm | Advisory build | 3.3.0-1ubuntu0.1 | USN-4273-1 |
| Ubuntu | xenial | python-reportlab | Advisory build | 3.3.0-1ubuntu0.1 | USN-4273-1 |
| Ubuntu | xenial | python-reportlab-accel | Advisory build | 3.3.0-1ubuntu0.1 | USN-4273-1 |
| Ubuntu | xenial | python3-renderpm | Advisory build | 3.3.0-1ubuntu0.1 | USN-4273-1 |
| Ubuntu | xenial | python3-reportlab | Advisory build | 3.3.0-1ubuntu0.1 | USN-4273-1 |
| Ubuntu | xenial | python3-reportlab-accel | Advisory build | 3.3.0-1ubuntu0.1 | USN-4273-1 |
| Amazon Linux | AL2 | python-reportlabi686 | Listed in advisory | Not stated | ALAS2-2020-1390 |
| Amazon Linux | AL2 | python-reportlabsrc | Listed in advisory | Not stated | ALAS2-2020-1390 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| reportlab | reportlab | 0 through 3.5.26 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- n/a
- CWE-91 CWE-91 XML Injection (aka Blind XPath Injection)
References
14- openSUSE-SU-2020:0160 http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
- RHSA-2020:0195 https://access.redhat.com/errata/RHSA-2020:0195
- RHSA-2020:0197 https://access.redhat.com/errata/RHSA-2020:0197
- RHSA-2020:0201 https://access.redhat.com/errata/RHSA-2020:0201
- RHSA-2020:0230 https://access.redhat.com/errata/RHSA-2020:0230
- https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
- [debian-lts-announce] 20200220 [SECURITY] [DLA 2112-1] python-reportlab security update https://lists.debian.org/debian-lts-announce/2020/02/msg00019.html
- FEDORA-2020-f3e0ba2f79 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NSCTOE3DITFICY2XKBYZ5WAF5TSQ52DM/
- FEDORA-2020-d2fb999600 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZZPHP2BJSTP4IYCSJRQINP763IHO6ASL/
- GLSA-202007-35 https://security.gentoo.org/glsa/202007-35
- https://security.netapp.com/advisory/ntap-20240719-0006/
- USN-4273-1 https://usn.ubuntu.com/4273-1/
- DSA-4663 https://www.debian.org/security/2020/dsa-4663
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- fcdc273ec6c61aec599c3afacc5460ef0bf57dd598fd0e0a5be912ddffc36df5
- Ingested
- 23 Sep 2026, 07:46:20 UTC
- Source record
- Official CVE record