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.
No public exploit knownFix3.5.28Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.704663
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- Ask your developer or vendor whether any software you use generates PDFs with the ReportLab library, and if so, which version.
- If the version is 3.5.26 or earlier, treat it as affected.
- Upgrade ReportLab to version 3.5.28 or later.
- If you're on Debian, Astra Linux, or OS Strelets, apply the vendor's security update for the reportlab package instead of upgrading manually.
- 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.28SeguriScan 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 recordA 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.
- 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.
- EPSS band changemoderate → lowepss band change
- OpenVAS check added
- Patch availablerecord updated
- Publishedweakness classified, att&ck mapped
Affected products
And 1 more affected product. See all after sign-in
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS: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.
- Initial AccessT1190Exploit Public-Facing Applicationhigh confidence
Sources
References in the record
- lists.opensuse.org/opensuse-security-announce/2020-02/msg00002.html
- access.redhat.com/errata/RHSA-2020:0195
- access.redhat.com/errata/RHSA-2020:0197
And 31 more references. See all after sign-in
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 articlesWatch 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.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI