CVE-2023-3297 Use after free in AccountService

High 8.1 Published Updated

An unprivileged local attacker can trigger a use-after-free in accountsservice via D-Bus, potentially leading to code execution or privilege escalation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-3297?

CVE-2023-3297 is a high-severity use after free vulnerability in Canonical Ubuntu Linux, published on 1 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In Ubuntu's accountsservice an unprivileged local attacker can trigger a use-after-free vulnerability in accountsservice by sending a D-Bus message to the accounts-daemon process.

Weakness: CWE-416

Which versions are affected by CVE-2023-3297?

It affects 2 products.

Products include Canonical Accountsservice, Canonical Ubuntu Linux.

How do I fix CVE-2023-3297?

Apply the vendor's patch.

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-3297 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-3297 exists.

All Canonical Ubuntu Linux vulnerabilities

Sources

Also known as AZL-43453, AZL-44259, CLSA-2026-1787732137, GHSA-gr7p-26mx-9pgw, UBUNTU-CVE-2023-3297, USN-6190-1 and 1 more.

Is CVE-2023-3297 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free