ReportLab vulnerable to remote code execution via paraparser
paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates untrusted user input in a unichar element in a crafted XML document with '<unichar code="' followed by arbitrary Python code, a similar issue to CVE-2019-17626.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | reportlab | < 3.5.31 | 3.5.31 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-19450
- https://github.com/MrBitBucket/reportlab-mirror/blob/master/CHANGES.md
- https://github.com/MrBitBucket/reportlab-mirror/blob/master/CHANGES.md#release-353115102019
- https://hg.reportlab.com/hg-public/reportlab
- https://lists.debian.org/debian-lts-announce/2023/09/msg00037.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CHMCB2GJQKFMGVO5RWHN222NQL5XYPHZ
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HADPTB3SBU7IVRMDK7OL6WSQRU5AFWDZ
- https://pastebin.com/5MicRrr4
- https://pypi.org/project/reportlab
- https://github.com/advisories/GHSA-pj98-2xf6-cff5
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-91- Platform
- Python (PyPI)
- Package
reportlab- Disclosed
- 20.09.2023
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-pj98-2xf6-cff5 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-522 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: reportlab
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 4
- First → latest
- 10.2019 09.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 2
Disclosures per year
- 2019: 1
- 2020: 0
- 2021: 1
- 2022: 0
- 2023: 2
- 2024: 0
- 2025: 0
- 2026: 0
-
ReportLab vulnerable to remote code execution via paraparser this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.