paraparser in ReportLab before 3.5.31 allows remote code execution because start_unichar in paraparser.py evaluates untrusted user input in
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Sep 20, 2023
- Updated
- Jun 16, 2026
- EPSS
- 6.0% · 93th percentile
- CWE
- CWE-91
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
41
Plan
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 6.0%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| reportlab | reportlab | cpe:2.3:a:reportlab:reportlab |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- reportlab reportlabbefore 3.5.31
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | python3-reportlab | before 3.4.0-8.el8_8.1.alma.1 | 3.4.0-8.el8_8.1.alma.1 |
| Debian:10 | python-reportlab | before 3.5.13-1+deb10u2 | 3.5.13-1+deb10u2 |
| Debian:12 | python-reportlab | before 3.5.31-1 | 3.5.31-1 |
| PyPI | reportlab | before 3.5.31 | 3.5.31 |
| Red Hat:enterprise_linux:7::client | python-reportlab | before 0:2.5-11.el7_9 | 0:2.5-11.el7_9 |
| Red Hat:enterprise_linux:7::client | python-reportlab-debuginfo | before 0:2.5-11.el7_9 | 0:2.5-11.el7_9 |
| Red Hat:enterprise_linux:7::client | python-reportlab-docs | before 0:2.5-11.el7_9 | 0:2.5-11.el7_9 |
| Red Hat:enterprise_linux:8::appstream | python-reportlab | before 0:3.4.0-8.el8_8.1 | 0:3.4.0-8.el8_8.1 |
| Red Hat:enterprise_linux:8::appstream | python-reportlab-debugsource | before 0:3.4.0-8.el8_8.1 | 0:3.4.0-8.el8_8.1 |
| Red Hat:enterprise_linux:8::appstream | python3-reportlab | before 0:3.4.0-8.el8_8.1 | 0:3.4.0-8.el8_8.1 |
| Red Hat:enterprise_linux:8::appstream | python3-reportlab-debuginfo | before 0:3.4.0-8.el8_8.1 | 0:3.4.0-8.el8_8.1 |
| Red Hat:rhel_aus:8.2::appstream | python-reportlab | before 0:3.4.0-8.el8_2.1 | 0:3.4.0-8.el8_2.1 |
| Red Hat:rhel_aus:8.2::appstream | python-reportlab-debugsource | before 0:3.4.0-8.el8_2.1 | 0:3.4.0-8.el8_2.1 |
| Red Hat:rhel_aus:8.2::appstream | python3-reportlab | before 0:3.4.0-8.el8_2.1 | 0:3.4.0-8.el8_2.1 |
| Red Hat:rhel_aus:8.2::appstream | python3-reportlab-debuginfo | before 0:3.4.0-8.el8_2.1 | 0:3.4.0-8.el8_2.1 |
| Red Hat:rhel_aus:8.4::appstream | python-reportlab | before 0:3.4.0-8.el8_4.1 | 0:3.4.0-8.el8_4.1 |
| Red Hat:rhel_aus:8.4::appstream | python-reportlab-debugsource | before 0:3.4.0-8.el8_4.1 | 0:3.4.0-8.el8_4.1 |
| Red Hat:rhel_aus:8.4::appstream | python3-reportlab | before 0:3.4.0-8.el8_4.1 | 0:3.4.0-8.el8_4.1 |
| Red Hat:rhel_aus:8.4::appstream | python3-reportlab-debuginfo | before 0:3.4.0-8.el8_4.1 | 0:3.4.0-8.el8_4.1 |
| Red Hat:rhel_e4s:8.1::appstream | python-reportlab | before 0:3.4.0-6.el8_1.5 | 0:3.4.0-6.el8_1.5 |
| Red Hat:rhel_e4s:8.1::appstream | python-reportlab-debugsource | before 0:3.4.0-6.el8_1.5 | 0:3.4.0-6.el8_1.5 |
| Red Hat:rhel_e4s:8.1::appstream | python3-reportlab | before 0:3.4.0-6.el8_1.5 | 0:3.4.0-6.el8_1.5 |
| Red Hat:rhel_e4s:8.1::appstream | python3-reportlab-debuginfo | before 0:3.4.0-6.el8_1.5 | 0:3.4.0-6.el8_1.5 |
| Red Hat:rhel_eus:8.6::appstream | python-reportlab | before 0:3.4.0-8.el8_6.1 | 0:3.4.0-8.el8_6.1 |
+6
Same product
reportlab: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-17626ReportLab through 3.5.26 allows remote code execution because of toColor(eval(arg)) in colors.py, as demonstrated by a crafted XML document 42Plan
- CVE-2023-33733Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file.32Monitor
- CVE-2020-28463Server-side Request Forgery (SSRF)26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| almalinux:python3-reportlab | 3.4.0-8.el8_8.1.alma.1 · AlmaLinux:8 | Package registry (OSV) |
| debian:python-reportlab | 3.5.31-1 · Debian:12 | Package registry (OSV) |
| opensuse:python-reportlab | 3.4.0-150000.3.12.1 · openSUSE:Leap 15.4 | Package registry (OSV) |
| PyPI:reportlab | 3.5.31 | Package registry (OSV) |
| red hat:python-reportlab | 0:2.5-11.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-reportlab-debuginfo | 0:2.5-11.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python-reportlab-debugsource | 0:3.4.0-8.el8_6.1 · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:python-reportlab-docs | 0:2.5-11.el7_9 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:python3-reportlab | 0:3.4.0-8.el8_6.1 · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| red hat:python3-reportlab-debuginfo | 0:3.4.0-8.el8_6.1 · Red Hat:rhel_eus:8.6::appstream | Package registry (OSV) |
| suse:python-reportlab | 3.4.0-150000.3.12.1 · SUSE:Linux Enterprise Module for Package Hub 15 SP4 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-91 · XML Injection (aka Blind XPath Injection)CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- github.com/MrBitBucket/reportlab-mirror/blob/master/CHANGES.md
- lists.debian.org/debian-lts-announce/2023/09/msg00037.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CHMCB2GJQKFMGVO5RWHN222NQL5XYPHZ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HADPTB3SBU7IVRMDK7OL6WSQRU5AFWDZ/
- pastebin.com/5MicRrr4
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CHMCB2GJQKFMGVO5RWHN222NQL5XYPHZ/
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HADPTB3SBU7IVRMDK7OL6WSQRU5AFWDZ/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.