CWE
91
Advisory Published
Advisory Published
Updated

CVE-2019-17626

First published: Wed Oct 16 2019(Updated: )

A vulnerability was found in 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 '&lt;span color="' followed by arbitrary Python code. Reference: <a href="https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code">https://bitbucket.org/rptlab/reportlab/issues/199/eval-in-colorspy-leads-to-remote-code</a> <a href="https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md">https://bitbucket.org/rptlab/reportlab/src/default/CHANGES.md</a>

Credit: cve@mitre.org cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
debian/python-reportlab<=3.5.23-1<=3.1.8-3+deb8u1<=3.5.13-1<=3.5.28-1<=3.3.0-2
3.5.34-1
3.5.13-1+deb10u1
3.3.0-2+deb9u1
Reportlab Reportlab<=3.5.26
pip/reportlab<3.5.28
3.5.28
debian/python-reportlab
3.5.59-2
3.5.59-2+deb11u1
3.6.12-1
3.6.12-1+deb12u1
4.2.5-1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2019-17626?

    CVE-2019-17626 is a vulnerability in ReportLab through 3.5.26 that allows remote code execution.

  • How severe is CVE-2019-17626?

    CVE-2019-17626 has a severity score of 9.8, which is considered critical.

  • How does CVE-2019-17626 allow remote code execution?

    CVE-2019-17626 allows remote code execution through the 'toColor(eval(arg))' function in colors.py when processing a crafted XML document.

  • Which software versions are affected by CVE-2019-17626?

    CVE-2019-17626 affects ReportLab versions up to and including 3.5.26.

  • How can I fix CVE-2019-17626?

    To fix CVE-2019-17626, update ReportLab to version 3.5.28 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203