CVE-2019-7303

HIGH

Canonical snapd <2.37.4 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2019-7303. PoCs published by Google Security Research.

AI-analyzed exploit summary This exploit demonstrates a bypass of the seccomp filter in snap by leveraging a discrepancy between the 64-bit comparison in the filter and the 32-bit command argument in the kernel's ioctl syscall. It allows the TIOCSTI ioctl to be executed despite the seccomp restriction.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by Google Security Research · cdoslinux
https://www.exploit-db.com/exploits/46594

This exploit demonstrates a bypass of the seccomp filter in snap by leveraging a discrepancy between the 64-bit comparison in the filter and the 32-bit command argument in the kernel's ioctl syscall. It allows the TIOCSTI ioctl to be executed despite the seccomp restriction.

Classification
Working Poc 100%
Attack Type
Lpe
Complexity
Moderate
Reliability
Reliable
Target: snapd (versions affected by CVE-2019-7303)
No auth needed
Prerequisites: Access to a snap-confined environment · Ability to compile and execute the provided C code
MITRE ATT&CK
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Third Party Advisory x_refsource_misc
https://usn.ubuntu.com/3917-1/
Exploit, Third Party Advisory, VDB Entry x_refsource_misc
https://www.exploit-db.com/exploits/46594

Scores

CVSS v3 7.5
EPSS 0.0092
EPSS Percentile 76.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Details

CWE
CWE-628
Status published
Products (5)
canonical/snapd < 2.37.4
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 16.04
canonical/ubuntu_linux 18.04
canonical/ubuntu_linux 18.10
Published Apr 23, 2019
Tracked Since Feb 18, 2026