Skip to content
Fencer Intel
critical 9.8

CVE-2019-17626 json

XML Injection in ReportLab

published 7y ago modified 4mo ago also GHSA-qpg2-vx7j-3869 , PYSEC-2019-117 , EUVD-2019-0122

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
9.5%
EPSS 9.5% chance of exploitation in 30 days, percentile 95%
public exploits
0
none known

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.

Patch / fix

  • pypi reportlab 3.5.28
  • python-reportlab Debian 14, Debian 13, Debian 12 3.5.34-1

debian advisories DEBIAN-CVE-2019-17626

  • python-reportlab Ubuntu 16.04 LTS 3.3.0-1ubuntu0.1
  • python-reportlab Ubuntu 18.04 LTS 3.4.0-3ubuntu0.1

ubuntu advisories UBUNTU-CVE-2019-17626

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-reportlab RHEL 8 3.4.0-6.el8_1.2
  • python3-reportlab RHEL 8 3.4.0-6.el8_1.2
  • python-reportlab RHEL 7 2.5-9.el7_7.1
  • python-reportlab RHEL 6 2.3-3.el6_10.1
  • python-reportlab RHEL 8.0 E4S 3.4.0-6.el8_0.2
  • python3-reportlab RHEL 8.0 E4S 3.4.0-6.el8_0.2

red hat advisories RHSA-2020:0230RHSA-2020:0201RHSA-2020:0195RHSA-2020:0197

  • python-reportlab SLE Workstation Extension 12 SP5, SLE Workstation Extension 12 SP4 2.7-3.3.1

suse advisories SUSE-SU-2020:0324-1

  • python-reportlab openSUSE Tumbleweed 4.5.1-1.2
  • python-reportlab openSUSE Tumbleweed 4.0.7-1.3
  • python-reportlab openSUSE Leap 15.1 3.4.0-lp151.3.3.1

opensuse advisories openSUSE-SU-2026:12037-1openSUSE-SU-2024:14160-1openSUSE-SU-2020:0160-1

Is CVE-2019-17626 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-17626 updated cvss 9.8

python-reportlab: code injection in colors.py allows attacker to execute code

  • Red Hat Quay 3 quay
    affected: workaround, no fix planned “No known mitigation available.”
  • 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
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0201
  • 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
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0230
  • 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, python-reportlab-debuginfo 2.5-9.el7_7.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
  • 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
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
  • Red Hat Enterprise Linux Server (v. 7) python-reportlab 2.5-9.el7_7.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
  • Red Hat Enterprise Linux Server Optional (v. 6) python-reportlab-docs 2.3-3.el6_10.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
  • Red Hat Enterprise Linux Server Optional (v. 7) python-reportlab-docs 2.5-9.el7_7.1, python-reportlab-debuginfo 2.5-9.el7_7.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
show 4 more
  • Red Hat Enterprise Linux Workstation (v. 6) python-reportlab 2.3-3.el6_10.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
  • Red Hat Enterprise Linux Workstation (v. 7) python-reportlab 2.5-9.el7_7.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0195
  • Red Hat Enterprise Linux Workstation Optional (v. 6) python-reportlab-docs 2.3-3.el6_10.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0197
  • Red Hat Enterprise Linux Workstation Optional (v. 7) python-reportlab-docs 2.5-9.el7_7.1, python-reportlab-debuginfo 2.5-9.el7_7.1
    fixed: vendor fix “No known mitigation available.” RHSA-2020:0195

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
total
Assessed
2y ago

Exploit prediction

9.53% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • bitbucket.org https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi reportlab
<3.5.28
3.5.28

Affected products

  • reportlab reportlab

Classification

Weakness

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.