Advisory

DEBIAN-CVE-2026-42850

Also known as: CVE-2026-42850

Summary

The record has no summary.

Details

Kitty is a cross-platform GPU based terminal. In versions prior to 0.47.0, it is possible to inject commands within the subshell through kitty error. A special escape code will make kitty return an error, this error is not escaped and will be correctly echoed back to the terminal with CRLF, as such it will be run by the shell in use. To exploit this bug, the victim must use a netcat or a similar program to connect to the attacker, or else listening for someone to connect. Once this condition is set, an attacker could pwn the computer of the victim using a special kitty's escape code that will run a command in the shell in use. Version 04.7.0 fixes the issue.

Severity

High Basis: CVSS v3 score 8.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-06-12 20:16 UTC
Modified
2026-10-27 09:47 UTC

Affected packages and fixes

kitty

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

kitty

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 0.41.1-2+deb13u2 (ecosystem)

Fixed versions

0.41.1-2+deb13u2

Fix

  • Fixed version 0.41.1-2+deb13u2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

kitty

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.47.0-1 (ecosystem)

Fixed versions

0.47.0-1

Fix

  • Fixed version 0.47.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences