# CVE-2023-41105: Python 3.11: An issue was discovered in Python 3.11 through 3.11.4.

CVE-2023-41105 is fixed in 21 products on 2 platforms, first by DEBIAN-CVE-2023-41105, released August 23, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-41105
- Priority: High
- CVSS: 7.5 (Moderate)
- EPSS: 0.0259
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 23, 2023
- Vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2023-41105

## Description

An issue was discovered in Python 3.11 through 3.11.4. If a path containing '\0' bytes is passed to os.path.normpath(), the path will be truncated unexpectedly at the first '\0' byte. There are plausible cases in which an application would have rejected a filename for security reasons in Python 3.10.x or earlier, but that filename is no longer rejected in Python 3.11.x.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | Python 3.11 | 3.11.5 | [Python 3.11 3.11.5](https://patchblox.com/security/data/fix/windows-app/python.python.3.11-3.11.5.md) | Aug 24, 2023 |
| Linux | idle-python3.11 Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [idle-python3.11 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-idle-python3.11-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | libpython3.11 Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [libpython3.11 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpython3.11-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | libpython3.11-minimal Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [libpython3.11-minimal 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpython3.11-minimal-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | libpython3.11-stdlib Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [libpython3.11-stdlib 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpython3.11-stdlib-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | libpython3.11-testsuite Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [libpython3.11-testsuite 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libpython3.11-testsuite-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | python3.11 Debian 12.15 (bookworm) | 3.11.2-6+deb12u2 | [DEBIAN-CVE-2023-41105](https://patchblox.com/security/data/fix/linux/debian-cve-2023-41105.md) | Aug 23, 2023 |
| Linux | python3.11 RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11 RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11 Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [python3.11 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3.11-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | python3.11 almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11 almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11 amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11 ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11 ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-debug RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-debug RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-debug almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-debug almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-debug amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-debug ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-debug ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-debuginfo amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-debugsource amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-devel RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-devel RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-devel almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-devel almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-devel amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-devel ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-devel ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-examples Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [python3.11-examples 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3.11-examples-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | python3.11-full Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [python3.11-full 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3.11-full-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | python3.11-idle RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-idle RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-idle almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-idle almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-idle amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-idle ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-idle ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-libs RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-libs RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-libs almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-libs almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-libs amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-libs ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-libs ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-minimal Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [python3.11-minimal 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3.11-minimal-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | python3.11-nopie Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [python3.11-nopie 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3.11-nopie-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |
| Linux | python3.11-rpm-macros RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-rpm-macros almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-rpm-macros ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-test RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-test RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-test almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-test almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-test amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-test ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-test ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-tkinter RHEL 8 | 0:3.11.5-1.el8_9 | [RHSA-2023:7024](https://patchblox.com/security/data/fix/linux/rhsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-tkinter RHEL 9 | 0:3.11.5-1.el9_3 | [RHSA-2023:6494](https://patchblox.com/security/data/fix/linux/rhsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-tkinter almalinux 8 | 3.11.5-1.el8_9 | [ALSA-2023:7024](https://patchblox.com/security/data/fix/linux/alsa-2023-7024.md) | Nov 14, 2023 |
| Linux | python3.11-tkinter almalinux 9 | 3.11.5-1.el9_3 | [ALSA-2023:6494](https://patchblox.com/security/data/fix/linux/alsa-2023-6494.md) | Nov 7, 2023 |
| Linux | python3.11-tkinter amzn 2023 | 3.11.2-2.amzn2023.0.10 | [ALAS2023-2023-317](https://patchblox.com/security/data/fix/linux/alas2023-2023-317.md) | Aug 31, 2023 |
| Linux | python3.11-tkinter ol 8 | 0:3.11.5-1.el8_9 | [ELSA-2023-7024](https://patchblox.com/security/data/fix/linux/elsa-2023-7024.md) | Nov 17, 2023 |
| Linux | python3.11-tkinter ol 9 | 0:3.11.5-1.el9_3 | [ELSA-2023-6494](https://patchblox.com/security/data/fix/linux/elsa-2023-6494.md) | Nov 11, 2023 |
| Linux | python3.11-venv Ubuntu 22.04.1 LTS (jammy) | 3.11.0~rc1-1~22.04.1~esm1 | [python3.11-venv 3.11.0~rc1-1~22.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-python3.11-venv-3.11.0-rc1-1-22.04.1-esm1.md) | Mar 19, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
