Arbitrary Code Injection Affecting kitty package, versions <0.45.0-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.17% (7th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2604-KITTY-17339731
  • published14 Sept 2026
  • disclosed12 Jun 2026

Introduced: 12 Jun 2026

CVE-2026-54057  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-150  (opens in a new tab)

How to fix?

Upgrade Ubuntu:26.04 kitty to version 0.45.0-1ubuntu0.1~esm2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kitty package and not the kitty package as distributed by Ubuntu. See How to fix? for Ubuntu:26.04 relevant fixed versions and status.

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.3, kitty's OSC 21 (color-control) query reply reflects attacker-controlled bytes, including newlines, into the shell's input without sanitization. Version 0.47.3 fixes the issue.

CVSS Base Scores

version 3.1