{"schema_version":"1.9.0","id":"CVE-2023-41105","published":"2023-08-23T00:00:00Z","modified":"2026-08-12T03:51:14.473297561Z","aliases":["BIT-libpython-2023-41105","BIT-python-2023-41105","BIT-python-min-2023-41105","PSF-2023-9"],"related":["ALSA-2023:6494","ALSA-2023:7024","SUSE-SU-2023:3939-1","SUSE-SU-2023:3943-1","openSUSE-SU-2024:13261-1"],"details":"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.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/python/cpython","events":[{"introduced":"deaf509e8fc6e0363bd6f26d52ad42f976ec42f2"},{"fixed":"d2340ef25721b6a72d45d4508c672c4be38c67d3"}],"database_specific":{"cpe":"cpe:2.3:a:python:python:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"3.11"},{"fixed":"3.11.4"},{"introduced":"3.11.0"},{"last_affected":"3.11.4"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-41105.json"}}],"references":[{"type":"WEB","url":"https://mail.python.org/archives/list/security-announce%40python.org/thread/D6CDW3ZZC5D444YGL3VQUY6D4ECMCQLD/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41105.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-41105"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20231006-0015/"},{"type":"REPORT","url":"https://github.com/python/cpython/issues/106242"},{"type":"FIX","url":"https://github.com/python/cpython/pull/107981"},{"type":"FIX","url":"https://github.com/python/cpython/pull/107982"},{"type":"FIX","url":"https://github.com/python/cpython/pull/107983"}],"database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/41xxx/CVE-2023-41105.json"}}