CVE Tools

CVE-2019-17626

CVE-2019-17626 affects Reportlab (CVSS 9.8, Critical).

Exploitation likely. EPSS gives it a 9.8% chance of exploitation in the next 30 days. Fixed in 3.5.28.

Check it yourself

OpenVAS · 30 checks

e.g. OID 1.3.6.1.4.1.25623.1.0.704663

Run the check

Published Updated Sources: CVE.org, NVD, GitHub, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • PyPI reportlabAffected: < 3.5.28Upgrade to: 3.5.28Stated by: GitHub advisory
  • ReportlabAffected: ≤ 3.5.26Upgrade to: after 3.5.26Stated by: NVD
  • Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
  • RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU
  • Matthias Klose ReportLabAffected: before 3.5.26 inclusiveUpgrade to: not statedStated by: BDU

Versions as the sources state them. 1 more product has version data. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Ask your developer or vendor whether any software you use generates PDFs with the ReportLab library, and if so, which version.
  2. If the version is 3.5.26 or earlier, treat it as affected.
  3. Upgrade ReportLab to version 3.5.28 or later.
  4. If you're on Debian, Astra Linux, or OS Strelets, apply the vendor's security update for the reportlab package instead of upgrading manually.
  5. After updating, confirm with your developer that any PDF-generation feature accepting user-supplied text or color values has been retested.
pip install reportlab>=3.5.28
Check it yourselfA free OpenVAS check exists for this CVE. Run it against your hosts.
Is your organisation exposed?Request a free pilot to establish which checks fit your systems.

SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

A flaw in the ReportLab software library (used by other programs to generate PDF documents) lets an attacker run their own code on your server just by submitting specially crafted text, so if your business uses software built on ReportLab versions up through 3.5.26, you should update to 3.5.28 or later.

ReportLab through 3.5.26 is vulnerable to remote code execution because its colors.py module passes attacker-controlled XML color attributes directly into Python's eval(), allowing arbitrary code execution via a crafted '<span color="...">' payload in any document processed by the library.

If you're affected

  • Full server takeover
  • Data theft from generated documents
  • Malware or ransomware deployment
  • Operational disruption to document generation

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS96th
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

9.8% chance of exploitation activity in the next 30 days, which ranks it in the 96th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

8 events over 2566 days, from the signal feeds we watch.

  1. EPSS band changemoderate → lowepss band change
  2. OpenVAS check added
  3. Patch availablerecord updated
  4. Publishedweakness classified, att&ck mapped

Affected products

And 1 more affected product. See all after sign-in

Technical detail

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Scored 9.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required NoneNo authentication required — anyone can exploit this
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2019-17626

Is CVE-2019-17626 being exploited?
No exploitation is confirmed and no public exploit is known. EPSS puts the chance of exploitation in the next 30 days at 9.8%.
Which versions are affected by CVE-2019-17626?
Reportlab: ≤ 3.5.26. Reportlab: < 3.5.28. Debian GNU/Linux: 9. 3 more products are listed in the record.
How do I fix or mitigate CVE-2019-17626?
Upgrade to 3.5.28 or later. The advisory is on lists.opensuse.org.

Last updated

Related articles

All articles

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Reportlab, not every advisory.