# CVE-2023-1523: golang-github-snapcore-snapd-dev: Using the TIOCLINUX ioctl request, a malicious snap could inject contents into the input of the controlling terminal...

CVE-2023-1523 is fixed in 9 products on 1 platform, first by golang-github-snapcore-snapd-dev 2.58+18.04.1, released May 24, 2023. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2023-1523
- Priority: High
- CVSS: 10.0 (Medium)
- EPSS: 0.0145
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 24, 2023

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | golang-github-snapcore-snapd-dev Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [golang-github-snapcore-snapd-dev 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-github-snapcore-snapd-dev-2.58-18.04.1.md) | May 24, 2023 |
| Linux | golang-github-snapcore-snapd-dev Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [golang-github-snapcore-snapd-dev 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-golang-github-snapcore-snapd-dev-2.58-20.04.1.md) | May 24, 2023 |
| Linux | golang-github-snapcore-snapd-dev Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [golang-github-snapcore-snapd-dev 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-golang-github-snapcore-snapd-dev-2.58-22.04.1.md) | May 24, 2023 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [golang-github-ubuntu-core-snappy-dev 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-golang-github-ubuntu-core-snappy-dev-2.58-18.04.1.md) | May 24, 2023 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [golang-github-ubuntu-core-snappy-dev 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-golang-github-ubuntu-core-snappy-dev-2.58-20.04.1.md) | May 24, 2023 |
| Linux | golang-github-ubuntu-core-snappy-dev Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [golang-github-ubuntu-core-snappy-dev 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-golang-github-ubuntu-core-snappy-dev-2.58-22.04.1.md) | May 24, 2023 |
| Linux | snap-confine Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [snap-confine 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-snap-confine-2.58-18.04.1.md) | May 24, 2023 |
| Linux | snap-confine Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [snap-confine 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-snap-confine-2.58-20.04.1.md) | May 24, 2023 |
| Linux | snap-confine Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [snap-confine 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-snap-confine-2.58-22.04.1.md) | May 24, 2023 |
| Linux | snapd Debian 13.5 (trixie) | 2.59.5-1 | [DEBIAN-CVE-2023-1523](https://patchblox.com/security/data/fix/linux/debian-cve-2023-1523.md) | Sep 1, 2023 |
| Linux | snapd Debian 14 | 2.59.5-1 | [DEBIAN-CVE-2023-1523](https://patchblox.com/security/data/fix/linux/debian-cve-2023-1523.md) | Sep 1, 2023 |
| Linux | snapd Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [snapd 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-snapd-2.58-18.04.1.md) | May 24, 2023 |
| Linux | snapd Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [snapd 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-snapd-2.58-20.04.1.md) | May 24, 2023 |
| Linux | snapd Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [snapd 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-snapd-2.58-22.04.1.md) | May 24, 2023 |
| Linux | snapd-xdg-open Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [snapd-xdg-open 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-snapd-xdg-open-2.58-18.04.1.md) | May 24, 2023 |
| Linux | snapd-xdg-open Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [snapd-xdg-open 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-snapd-xdg-open-2.58-20.04.1.md) | May 24, 2023 |
| Linux | snapd-xdg-open Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [snapd-xdg-open 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-snapd-xdg-open-2.58-22.04.1.md) | May 24, 2023 |
| Linux | ubuntu-core-launcher Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [ubuntu-core-launcher 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-core-launcher-2.58-18.04.1.md) | May 24, 2023 |
| Linux | ubuntu-core-launcher Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [ubuntu-core-launcher 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-core-launcher-2.58-20.04.1.md) | May 24, 2023 |
| Linux | ubuntu-core-launcher Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [ubuntu-core-launcher 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-core-launcher-2.58-22.04.1.md) | May 24, 2023 |
| Linux | ubuntu-core-snapd-units Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [ubuntu-core-snapd-units 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-core-snapd-units-2.58-18.04.1.md) | May 24, 2023 |
| Linux | ubuntu-core-snapd-units Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [ubuntu-core-snapd-units 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-core-snapd-units-2.58-20.04.1.md) | May 24, 2023 |
| Linux | ubuntu-core-snapd-units Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [ubuntu-core-snapd-units 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-core-snapd-units-2.58-22.04.1.md) | May 24, 2023 |
| Linux | ubuntu-snappy Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [ubuntu-snappy 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-snappy-2.58-18.04.1.md) | May 24, 2023 |
| Linux | ubuntu-snappy Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [ubuntu-snappy 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-snappy-2.58-20.04.1.md) | May 24, 2023 |
| Linux | ubuntu-snappy Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [ubuntu-snappy 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-snappy-2.58-22.04.1.md) | May 24, 2023 |
| Linux | ubuntu-snappy-cli Ubuntu 18.04.6 LTS (bionic) | 2.58+18.04.1 | [ubuntu-snappy-cli 2.58+18.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ubuntu-snappy-cli-2.58-18.04.1.md) | May 24, 2023 |
| Linux | ubuntu-snappy-cli Ubuntu 20.04 LTS (focal) | 2.58+20.04.1 | [ubuntu-snappy-cli 2.58+20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ubuntu-snappy-cli-2.58-20.04.1.md) | May 24, 2023 |
| Linux | ubuntu-snappy-cli Ubuntu 22.04.1 LTS (jammy) | 2.58+22.04.1 | [ubuntu-snappy-cli 2.58+22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ubuntu-snappy-cli-2.58-22.04.1.md) | May 24, 2023 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
