CVE-2023-1523: Canonical Snapd

Critical severity, CVSS 10.0. EPSS: 1.4% chance of exploitation in the next 30 days.

Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it to cause arbitrary commands to be executed outside of the snap sandbox after the snap exits. Graphical terminal emulators like xterm, gnome-terminal and others are not affected - this can only be exploited when snaps are run on a virtual console.

Affected products

  • Canonical Snapd: before 2.59.5 (fixed in 2.59.5)
  • Canonical Ubuntu Linux: version 16.04 only; version 18.04 only; version 20.04 only; version 22.04 only; version 22.10 only; version 23.04 only

Published 2023-09-01. Last modified 2026-06-17.