Description
A vulnerability in the seccomp filters of Canonical snapd before version 2.37.4 allows a strict mode snap to insert characters into a terminal on a 64-bit host. The seccomp rules were generated to match 64-bit ioctl(2) commands on a 64-bit platform; however, the Linux kernel only uses the lower 32 bits to determine which ioctl(2) commands to run. This issue affects: Canonical snapd versions prior to 2.37.4.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Canonical | snapd | unspecified – < 2.37.4 | 2.37.4 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | snapd | 2.37.4-1 | — |
| Debian 13 | snapd | 2.37.4-1 | — |
| Debian 12 | snapd | 2.37.4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | snapd | 2.37.4+18.04.1 | USN-3917-1 |
| Ubuntu 16.04 LTS | snapd | 2.37.4ubuntu0.1 | USN-3917-1 |
| Ubuntu 14.04 LTS | snapd | 2.37.4~14.04.1 | USN-3917-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- snap - seccomp BBlacklist for TIOCSTI can be Circumvented EDB-46594 · dos · Mar 22, 2019 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- USN-3917-1 snapd vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026