Home / Canonical Ltd. / snapd / CVE-2023-1523
CVE-2023-1523: is it exploited, and which versions of Canonical Ltd. snapd are affected and fixed?
CVE-2023-1523 is an injection vulnerability in Canonical Ltd. snapd. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: snapd before 2.59.5, ubuntu linux 16.04, ubuntu linux 18.04 and 4 more (NVD). Fixed in 2.59.5 (NVD). Severity: Critical (10.0, CVSS 3.1, from canonical).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:36 UTC.
What is 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 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.
From the CVE record by canonical, last updated October 1, 2024, 13:08 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Canonical Ltd. | snapd Linux | not stated |
As the CVE record by canonical states it, last updated October 1, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| canonical | snapd | before 2.59.5 | application |
| canonical | ubuntu linux | 16.04 | operating system |
| canonical | ubuntu linux | 18.04 | operating system |
| canonical | ubuntu linux | 20.04 | operating system |
| canonical | ubuntu linux | 22.04 | operating system |
| canonical | ubuntu linux | 22.10 | operating system |
| canonical | ubuntu linux | 23.04 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 05:28 UTC.
How severe is CVE-2023-1523?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | canonical |
| Critical 10.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-1523 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, October 1, 2024)
- EPSS
- 1.45% probability of exploitation activity in the next 30 days, percentile 74.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
Where are the vendor advisories and references?
- https://ubuntu.com/security/notices/USN-6125-1 vendor-advisory
- https://github.com/snapcore/snapd/pull/12849 issue-tracking
- https://marc.info/?l=oss-security&m=167879021709955&w=2 mailing-list
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1523 issue-tracking
When was it published, and where is the official record?
- Reserved
- March 20, 2023
- Published
- September 1, 2023, 18:41 UTC
- CVE record updated
- October 1, 2024, 13:08 UTC by canonical
- NVD
- Modified, last modified June 17, 2026, 05:28 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:36 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect snapd?
- Jul 25, 2024CVE-2024-29069 Canonical snapd: externally Controlled Reference to a Resource in Another Sphere
- Jul 25, 2024CVE-2024-29068 Canonical snapd: improper input validation
- Jun 21, 2024CVE-2020-27352 Canonical Ltd. snapd: privilege escalation (improper privilege management)
- May 31, 2024CVE-2024-5138 Canonical Ltd. snapd: improper input validation
- Jan 8, 2024CVE-2022-3328 Canonical Ltd. snapd: race condition
- Feb 17, 2022CVE-2021-4120 Canonical Ltd. snapd: improper input validation
- Feb 17, 2022CVE-2021-44730 Canonical Ltd. snapd: link following (a symlink lets an attacker reach other files)
- Feb 17, 2022CVE-2021-3155 Canonical Ltd. snapd: insecure default permissions
Questions about CVE-2023-1523
Is CVE-2023-1523 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.45% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Canonical Ltd. snapd are affected by CVE-2023-1523?
snapd before 2.59.5, ubuntu linux 16.04, ubuntu linux 18.04, ubuntu linux 20.04, ubuntu linux 22.04, ubuntu linux 22.10 and 1 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2023-1523?
2.59.5, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-1523?
Critical (10.0, CVSS 3.1, from canonical). The severity table above shows each score with its source.
Where is the official record of CVE-2023-1523?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.