CVE-2022-41322 json
In Kitty before 0.26.2, insufficient validation in the desktop notification escape sequence can lead to arbitrary code execution.
published 2022-09-23 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-44530
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
In Kitty before 0.26.2, insufficient validation in the desktop notification escape sequence can lead to arbitrary code execution. The user must display attacker-controlled content in the terminal, then click on a notification popup.
Patch / fix
- kitty_project kitty 0.26.2
- kitty Debian 14, Debian 13, Debian 12 0.21.2-2
debian advisories DEBIAN-CVE-2022-41322
- kitty Ubuntu 22.04 LTS 0.21.2-1ubuntu0.22.04.1
ubuntu advisories UBUNTU-CVE-2022-41322
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-41322 updated
kitty: notification identifiers are not sanitized correctly leading to code execution
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 17 mo ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- bugs.gentoo.org https://bugs.gentoo.org/868543 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
- Weakness
-
- CWE-116 Improper Encoding or Escaping of Output
References
-
github.com
/kovidgoyal/kitty/commit/f05783e64d5fa62e1aed603e8d69aced5e49824f
patch
-
bugs.gentoo.org
/868543
exploit, issue-tracking, patch, third-party-advisory
-
github.com
/kovidgoyal/kitty/compare/v0.26.1...v0.26.2
patch
-
security.gentoo.org
/glsa/202209-22
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/6RRNAPU33PHEH64P77YL3AJO6CTZGHTX/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/47RK7MBSVY5BWDUTYMJUFPBAYFSWMTOI/
vendor-advisory
-
sw.kovidgoyal.net
/kitty/changelog/#detailed-list-of-changes
release-notes, vendor-advisory
- lists.debian.org /debian-lts-announce/2025/06/msg00000.html
Sources
- CVE List CVE-2022-41322
- NVD CVE-2022-41322
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.