# CVE-2023-1523: Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal which could allow it t…

- Severity: Critical 10.0 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.84%, higher than 80% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-01T18:41:47.820Z
- Modified: 2026-06-17T05:28:09.180Z
- Weaknesses: CWE-74
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: canonical

## Description

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.

(As written by CVE List.)

## Affected

- snapd: no versions given (not affected: 2.59.5)
- canonical snapd: before 2.59.5
- canonical ubuntu_linux: 16.04; 18.04; 20.04; 22.04; 22.10; 23.04

## Every score

- canonical: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`
- NVD: CVSS:3.1 10.0 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H`

## References

- <https://marc.info/?l=oss-security&m=167879021709955&w=2> (exploit, mailing-list)
- <https://ubuntu.com/security/notices/USN-6125-1> (third-party-advisory, vendor-advisory)
- <https://github.com/snapcore/snapd/pull/12849> (issue-tracking, patch)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523> (issue-tracking, third-party-advisory)

## Sources

- CVE List: [CVE-2023-1523](https://www.cve.org/CVERecord?id=CVE-2023-1523), CVE Terms of Use, modified 2024-10-01
- NVD: [CVE-2023-1523](https://nvd.nist.gov/vuln/detail/CVE-2023-1523), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-1523 · Whole record: https://cve.day/CVE-2023-1523.json · Rebuilt by cve.day 2026-11-25T22:58:27.517Z
