CVEBrief

Home / Canonical / Ubuntu 26.04 LTS / CVE-2024-5300

CVE-2024-5300: is it exploited, and which versions of Canonical Ubuntu 26.04 LTS are affected and fixed?

CVE-2024-5300 is an improper Removal of Sensitive Information Before Storage or Transfer vulnerability in Canonical Ubuntu 26.04 LTS. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: snapd before 2.76.1 (CVE record by canonical). Fixed in 2.76.1, 2.76+ubuntu26.04.3, 2.76+ubuntu24.04.1, 2.76+ubuntu22.04.1 and 2 more (CVE record by canonical). Severity: Medium (5.6, CVSS 3.1, from canonical).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:09 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 12:08 UTC
Affected
snapd before 2.76.1
CVE record by canonical
Fixed in
2.76.1, 2.76+ubuntu26.04.3, 2.76+ubuntu24.04.1, 2.76+ubuntu22.04.1 and 2 more
CVE record by canonical
Severity
Medium 5.6
CVSS 3.1 from canonical
Exploit odds (EPSS)
0.10% in 30 days
higher than 1% of CVEs; FIRST, December 2, 2026

What is CVE-2024-5300?

AppArmor Base Profile Misconfiguration in snapd Permits Confined Snaps Unauthorized Access to Hashed Passwords via systemd-userdbd

An access control bypass and information disclosure vulnerability exists in the base AppArmor security profile configuration of Canonical snapd. The abstraction rules located in /etc/apparmor.d/abstractions/nss-systemd (inherited via ) inadvertently permit strictly confined snap applications, which lack the privileged account-control interface, to interact directly with the io.systemd.Multiplexer and io.systemd.NameServiceSwitch UNIX domain sockets under /run/systemd/userdb/. On systems where the systemd-userdbd service is installed and operational, the service fails to distinguish between an unconfined root user on the host system and a restricted root user running within a snap application's sandbox (such as a daemon or configuration hook). Because systemd-userdbd returns "complete" user records—including sensitive hashed user passwords from /etc/shadow—when queried by a process running as root, a compromised or malicious strictly confined snap executing code as root can successfully query the Varlink interface to retrieve all system password hashes, bypassing intended snap sandbox restrictions. This issue is mitigated by the fact that systemd-userdbd is not installed by default on standard Ubuntu deployments.

From the CVE record by canonical, last updated July 22, 2026, 18:28 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
snapdbefore 2.76.12.76.1
CanonicalUbuntu 26.04 LTS snapd
Linux
all versions (default)2.76+ubuntu26.04.3
CanonicalUbuntu 24.04 LTS snapd
Linux
all versions (default)2.76+ubuntu24.04.1
CanonicalUbuntu 22.04 LTS snapd
Linux
all versions (default)2.76+ubuntu22.04.1
CanonicalUbuntu 20.04 LTS snapd
Linux
all versions (default)2.67.1+20.04ubuntu1~esm2
CanonicalUbuntu 18.04 LTS snapd
Linux
all versions (default)2.61.4ubuntu0.18.04.1+esm3
CanonicalUbuntu 16.04 LTS snapd
Linux
all versions (default)2.61.4ubuntu0.16.04.1+esm3

As the CVE record by canonical states it, last updated July 22, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

How severe is CVE-2024-5300?

ScoreVersionVectorSource
Medium 5.6CVSS 3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:Ncanonical

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2024-5300 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: partial (CISA ADP, July 22, 2026)
EPSS
0.10% probability of exploitation activity in the next 30 days, percentile 0.8 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
May 23, 2024
Published
July 21, 2026, 14:00 UTC
CVE record updated
July 22, 2026, 18:28 UTC by canonical
NVD
Awaiting Analysis, last modified July 22, 2026, 19:16 UTC
Last checked
CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Ubuntu 26.04 LTS?

Every CVE in Ubuntu 26.04 LTS

Questions about CVE-2024-5300

Is CVE-2024-5300 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.10% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Canonical Ubuntu 26.04 LTS are affected by CVE-2024-5300?

snapd before 2.76.1, per the CVE record by canonical. The tables above give every range the sources list.

Which version fixes CVE-2024-5300?

2.76.1, 2.76+ubuntu26.04.3, 2.76+ubuntu24.04.1, 2.76+ubuntu22.04.1, 2.67.1+20.04ubuntu1~esm2 and 2.61.4ubuntu0.18.04.1+esm3, per the CVE record by canonical. Check the vendor's advisory before you rely on it.

How severe is CVE-2024-5300?

Medium (5.6, CVSS 3.1, from canonical). The severity table above shows each score with its source.

Where is the official record of CVE-2024-5300?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.