Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2024-29068: In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap

23
Routine
MEDIUM 5.8UPGRADE

CVE-2024-29068 is a medium-severity flaw (CVSS 5.8) affecting snapd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap. The snap format is a squashfs file-system image and so can contain files that are non-regular files (such as pipes or sockets etc). Various file entries within the snap squashfs image (such as icons etc) are directly read by snapd when it is extracted. An attacker who could convince a user to install a malicious snap which contained non-regular

Why this priority

  • No elevated risk signals yet

A fixed release or distro patch exists.

Risk facts

CVSS score5.8 (Medium)
Attack vectorLocal
Attack complexityLow
Privileges neededHigh
User interactionRequired
EPSS exploit chance0.2% (top 89%)
CISA exploited listNo
WeaknessCWE-20
Published2024-07-25
Last modified2026-06-17
Publisher (CNA): Canonical Ltd. · Vendor: canonical

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

canonical snapd UPGRADE
Affected: < 2.62
Fixed in: 2.62
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy snapd || rpm -q snapd || snapd --version
2. UPGRADE to 2.62 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade snapd
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade snapd
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2024-29068?

snapd: upgrade to 2.62. Exact commands for each OS are on this page.

Is CVE-2024-29068 being exploited?

CVE-2024-29068 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2024-29068 affect?

CVE-2024-29068 affects snapd. Severity is medium (CVSS 5.8). In snapd versions prior to 2.62, snapd failed to properly check the file type when extracting a snap. The snap format is a squashfs file-system image and so can contain files that are non-regular files (such as pipes or sockets etc). Vario

How urgent is CVE-2024-29068?

Priority 23/100. No elevated risk signals yet.

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.