Description
Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-reportlab | 3.6.13-1 | — |
| Debian 13 | python-reportlab | 3.6.13-1 | — |
| Debian 12 | python-reportlab | 3.6.12-1+deb12u1 | DSA-5791-1 |
| Debian 11 | python-reportlab | 3.5.59-2+deb11u1 | DLA-3917-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | python-reportlab | 3.6.8-1ubuntu0.1 | USN-6196-1 |
| Ubuntu 20.04 LTS | python-reportlab | 3.5.34-1ubuntu1.1 | USN-6196-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | python-reportlab | 3.4.0-150000.3.9.1 | SUSE-SU-2023:2561-1 |
| SLES 15 SP4 | python-reportlab | 3.4.0-150000.3.9.1 | SUSE-SU-2023:2561-1 |
| SLES 12 SP5 | python-reportlab | 2.7-3.13.1 | SUSE-SU-2023:2688-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | python-reportlab | 3.4.0-150000.3.9.1 | SUSE-SU-2023:2561-1 |
| openSUSE Leap 15.4 | python-reportlab | 3.4.0-150000.3.9.1 | SUSE-SU-2023:2561-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 5 repositories
-
c53elyas/CVE-2023-33733 ★ 118 · May 30, 2023
CVE-2023-33733 reportlab RCE
-
L41KAA/CVE-2023-33733-Exploit-PoC ★ 3 · May 25, 2024
-
buiduchoang24/CVE-2023-33733 ★ 1 · Apr 22, 2024
This project aims at re-analyzing and PoC about CVE-2023-33733. Reportlab up to v3.6.12 allows attackers to execute arbitrary code via supplying a crafted PDF file.
-
onion2203/Lab_Reportlab ★ 1 · Mar 18, 2024
This lab was set up to test CVE-2023-33733
-
hoangbui24/CVE-2023-33733 ★ 0 · Mar 15, 2024
Reportlab Library - Remote Code Execution
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | reportlab | < 3.6.13 | 3.6.13 | GHSA-9q9m-c65c-37pq |
Advisories 6
- DSA-5791-1 python-reportlab - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3917-1 python-reportlab - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-6196-1 python-reportlab vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2023:2561-1 Security update for python-reportlab SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-1494 Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 6, 2025
- SUSE-SU-2023:2688-1 Security update for python-reportlab SUSE / openSUSE Security Updates · May 2, 2025
References
- https://github.com/c53elyas/CVE-2023-33733
- FEDORA-2023-553fe307dc vendor-advisory
- FEDORA-2023-3b82f4aa86 vendor-advisory