Home / Reportlab / Reportlab / CVE-2019-17626
CVE-2019-17626: is it exploited, and which versions of Reportlab are affected and fixed?
CVE-2019-17626 is a XML injection vulnerability in Reportlab. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: reportlab before 3.5.28 (GitHub advisory GHSA-qpg2-vx7j-3869). Fixed in 3.5.28 (GitHub advisory GHSA-qpg2-vx7j-3869). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:19 UTC.
What is CVE-2019-17626?
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.
From the CVE record by mitre, last updated August 5, 2024, 01:47 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | reportlab | < 3.5.28 | 3.5.28 | GHSA-qpg2-vx7j-3869 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 26, 2024. Summary: XML Injection in ReportLab.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| reportlab | reportlab | through 3.5.26 | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:24 UTC.
How severe is CVE-2019-17626?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| High 7.5 | CVSS 2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2019-17626 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, July 19, 2024)
- EPSS
- 9.79% probability of exploitation activity in the next 30 days, percentile 95.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-91 XML Injection
Where are the vendor advisories and references?
- https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code
- https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md
- RHSA-2020:0197 vendor-advisory
- RHSA-2020:0195 vendor-advisory
- FEDORA-2020-d2fb999600 vendor-advisory
- RHSA-2020:0230 vendor-advisory
- RHSA-2020:0201 vendor-advisory
- FEDORA-2020-f3e0ba2f79 vendor-advisory
- openSUSE-SU-2020:0160 vendor-advisory
- USN-4273-1 vendor-advisory
- [debian-lts-announce] 20200220 [SECURITY] [DLA 2112-1] python-reportlab security update mailing-list
- DSA-4663 vendor-advisory
- GLSA-202007-35 vendor-advisory
- https://security.netapp.com/advisory/ntap-20240719-0006/
When was it published, and where is the official record?
- Reserved
- October 16, 2019
- Published
- October 16, 2019, 11:29 UTC
- CVE record updated
- August 5, 2024, 01:47 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:24 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:19 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Reportlab?
- Sep 20, 2023CVE-2019-19450 Reportlab: XML injection
- Jun 5, 2023CVE-2023-33733 Reportlab: code injection (remote code execution)
- Feb 18, 2021CVE-2020-28463 reportlab: server-side request forgery (SSRF)
Questions about CVE-2019-17626
Is CVE-2019-17626 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 9.79% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Reportlab are affected by CVE-2019-17626?
reportlab before 3.5.28, per the GitHub advisory GHSA-qpg2-vx7j-3869. The tables above give every range the sources list.
Which version fixes CVE-2019-17626?
3.5.28, per the GitHub advisory GHSA-qpg2-vx7j-3869. Check the vendor's advisory before you rely on it.
How severe is CVE-2019-17626?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2019-17626?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.