CVE-2023-33595 Use after free in n/a
A heap use-after-free in CPython's ascii_decode function allows attackers to potentially execute arbitrary code or cause a denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-33595?
CVE-2023-33595 is a medium-severity use after free vulnerability in Python Python, published on 7 Jun 2023. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
CPython v3.12.0 alpha 7 was discovered to contain a heap use-after-free via the function ascii_decode at /Objects/unicodeobject.c.
Weakness: CWE-416
Which versions are affected by CVE-2023-33595?
3 open source packages ship an affected version, including libpython, python and python-min. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
libpython Bitnami | From 3.12.0-alpha0 | 3.12.0-alpha8 |
python Bitnami | From 3.12.0-alpha0 | 3.12.0-alpha8 |
python-min Bitnami | From 3.12.0-alpha0 | 3.12.0-alpha8 |
Products include Python Python.
How do I fix CVE-2023-33595?
Upgrade libpython to 3.12.0-alpha8 or later.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2023-33595 being exploited?
There is no known exploitation of CVE-2023-33595 in the wild and no public exploit code.
Other vulnerabilities in Python Python
Sources
Also known as BIT-libpython-2023-33595, BIT-python-2023-33595, BIT-python-min-2023-33595, GHSA-pqc2-g93j-9599, PSF-2023-3.