CVE-2023-39070 Use after free in n/a
A local attacker can execute arbitrary code in Cppcheck via a use-after-free vulnerability in the removeContradiction parameter.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-39070?
CVE-2023-39070 is a high-severity use after free vulnerability in n/a, published on 11 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
An issue in Cppcheck 2.12 dev allows a local attacker to execute arbitrary code via the removeContradiction parameter in token.cpp:1934.
Weakness: CWE-416
Which versions are affected by CVE-2023-39070?
It affects 1 product.
Linux distribution packages (3)
cppcheck SUSE:Package Hub 15 SP5 | All versions | 2.12.1-bp155.2.3.1 |
cppcheck openSUSE:Leap 15.5 | All versions | 2.12.1-bp155.2.3.1 |
cppcheck openSUSE:Tumbleweed | All versions | 2.12.1-3.1 |
Products include Cppchecksolutions Cppcheck.
How do I fix CVE-2023-39070?
Upgrade to a fixed version.
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-39070 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-39070 exists.
Sources
Also known as AZL-43537, AZL-45396, DEBIAN-CVE-2023-39070, GHSA-8mw5-fw53-vq24, UBUNTU-CVE-2023-39070, openSUSE-SU-2023:0413-1 and 1 more.