Description
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.
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.5.31-1 | — |
| Debian 13 | python-reportlab | 3.5.31-1 | — |
| Debian 12 | python-reportlab | 3.5.31-1 | — |
| Debian 10 | python-reportlab | 3.5.13-1+deb10u2 | DLA-3590-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | python-reportlab | No fix yet | — |
| Ubuntu 16.04 LTS | python-reportlab | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | python-reportlab +1 | 3.4.0-8.el8_8.1 | RHSA-2023:5790 |
| RHEL 7 | python-reportlab +1 | 2.5-11.el7_9 | RHSA-2023:5616 |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | python-reportlab +1 | 3.4.0-8.el8_6.1 | RHSA-2023:5786 |
| RHEL 8.4 TUS | python-reportlab +1 | 3.4.0-8.el8_4.1 | RHSA-2023:5787 |
| RHEL 8.4 E4S | python-reportlab +1 | 3.4.0-8.el8_4.1 | RHSA-2023:5787 |
| RHEL 8.4 AUS | python-reportlab +1 | 3.4.0-8.el8_4.1 | RHSA-2023:5787 |
| RHEL 8.2 TUS | python-reportlab +1 | 3.4.0-8.el8_2.1 | RHSA-2023:5788 |
| RHEL 8.2 E4S | python-reportlab +1 | 3.4.0-8.el8_2.1 | RHSA-2023:5788 |
| RHEL 8.2 AUS | python-reportlab +1 | 3.4.0-8.el8_2.1 | RHSA-2023:5788 |
| RHEL 8.1 E4S | python-reportlab +1 | 3.4.0-6.el8_1.5 | RHSA-2023:5789 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 8 | python3-reportlab | 3.4.0-8.el8_8.1.alma.1 | ALSA-2023:5790 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP5 | python-reportlab | 3.4.0-150000.3.12.1 | SUSE-SU-2023:3972-1 |
| SLES 15 SP4 | python-reportlab | 3.4.0-150000.3.12.1 | SUSE-SU-2023:3972-1 |
| SLES 12 SP5 | python-reportlab | 2.7-3.16.1 | SUSE-SU-2023:4048-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.5 | python-reportlab | 3.4.0-150000.3.12.1 | SUSE-SU-2023:3972-1 |
| openSUSE Leap 15.4 | python-reportlab | 3.4.0-150000.3.12.1 | SUSE-SU-2023:3972-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | python-reportlab +1 | 2.5-10.amzn2.0.1 | ALAS2-2023-2285 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | python3-reportlab | 3.4.0-8.el8_8.1 | ELSA-2023-5790 |
| Oracle Linux 7 | python-reportlab +1 | 2.5-11.el7_9 | ELSA-2023-5616 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | reportlab | < 3.5.31 | 3.5.31 | GHSA-pj98-2xf6-cff5 |
Advisories 14
- ALSA-2023:5790 Important: python-reportlab security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:5616 Red Hat Security Advisory: python-reportlab security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2023:5786 Red Hat Security Advisory: python-reportlab security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2023:5790 Red Hat Security Advisory: python-reportlab security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2023:5789 Red Hat Security Advisory: python-reportlab security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2023:5787 Red Hat Security Advisory: python-reportlab security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- RHSA-2023:5788 Red Hat Security Advisory: python-reportlab security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- DLA-3590-1 python-reportlab - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2023:3972-1 Security update for python-reportlab SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4048-1 Security update for python-reportlab SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2629 Red Hat Enterprise Linux (python-reportlab): Schwachstelle ermöglicht Codeausführung BSI CERT-Bund (WID) · Apr 21, 2024
- ELSA-2023-5790 Important: python-reportlab security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 19, 2023
- ELSA-2023-5616 Important: python-reportlab security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 11, 2023
- ALAS2-2023-2285 Important: python-reportlab security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 5, 2023