Vulnerabilities / CVE-2026-33642

critical

CVE-2026-33642

Kitty is a cross-platform GPU based terminal. In versions 0.46.2 and b ...

Published Modified CWE 125, 190, 787
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).

Description

Kitty is a cross-platform GPU based terminal. In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds validation on composition offsets using unsigned 32-bit arithmetic that is subject to integer wrapping, potentially leading to Heap Buffer Over-Read/Write. An attacker who can write escape sequences to a kitty terminal (e.g., via a malicious file, SSH login banner, or piped content) can supply crafted x_offset/y_offset values that pass the bounds check after wrapping but cause massive out-of-bounds heap memory access in compose_rectangles(). No user interaction is required. No non-default configuration is required. The attacker only needs the ability to produce output in a kitty terminal window. This issue has been fixed in version 0.47.0.

Affected packages and fixed versions

SourcePackageFixed in
debian 12kittyno fix listed
debian 13kitty0.41.1-2+deb13u1
debian 14kitty0.47.0-1
echokitty0.41.1-2+deb13u1
rapidfort alpine 3.20kitty0.47.0-r0
rapidfort alpine 3.21kitty0.47.0-r0
rapidfort alpine 3.22kitty0.47.0-r0
rapidfort alpine 3.23kitty0.47.0-r0
rapidfort debian 12kitty0:0.41.1-2+deb13u1, 0:0.47.0-1
rapidfort debian 13kitty0:0.41.1-2+deb13u1, 0:0.47.0-1
rapidfort fedora 43kitty, kitty-doc, kitty-kitten and 2 more0.43.1-4.fc43
rapidfort Oracle Linux 10kitty, kitty-doc, kitty-kitten and 2 more0.47.1-3.el10_3
Show all 33 entries from 21 sources
SourcePackageFixed in
debian 12kittyno fix listed
debian 13kitty0.41.1-2+deb13u1
debian 14kitty0.47.0-1
echokitty0.41.1-2+deb13u1
rapidfort alpine 3.20kitty0.47.0-r0
rapidfort alpine 3.21kitty0.47.0-r0
rapidfort alpine 3.22kitty0.47.0-r0
rapidfort alpine 3.23kitty0.47.0-r0
rapidfort debian 12kitty0:0.41.1-2+deb13u1, 0:0.47.0-1
rapidfort debian 13kitty0:0.41.1-2+deb13u1, 0:0.47.0-1
rapidfort fedora 43kitty0.43.1-4.fc43
rapidfort fedora 43kitty-doc0.43.1-4.fc43
rapidfort fedora 43kitty-kitten0.43.1-4.fc43
rapidfort fedora 43kitty-shell-integration0.43.1-4.fc43
rapidfort fedora 43kitty-terminfo0.43.1-4.fc43
rapidfort Oracle Linux 10kitty0.47.1-3.el10_3
rapidfort Oracle Linux 10kitty-doc0.47.1-3.el10_3
rapidfort Oracle Linux 10kitty-kitten0.47.1-3.el10_3
rapidfort Oracle Linux 10kitty-shell-integration0.47.1-3.el10_3
rapidfort Oracle Linux 10kitty-terminfo0.47.1-3.el10_3
rapidfort Oracle Linux 9kittyno fix listed
rapidfort Oracle Linux 9kitty-docno fix listed
rapidfort Oracle Linux 9kitty-kittenno fix listed
rapidfort Oracle Linux 9kitty-shell-integrationno fix listed
rapidfort Oracle Linux 9kitty-terminfono fix listed
rapidfort ubuntu 20.04kitty0:0.41.1-2+deb13u1build0.25.10.1, 0:0.47.0-3
rapidfort ubuntu 22.04kitty0:0.41.1-2+deb13u1build0.25.10.1, 0:0.47.0-3
rapidfort ubuntu 24.04kitty0:0.41.1-2+deb13u1build0.25.10.1, 0:0.47.0-3
ubuntu 20.04-ESMkitty0.15.0-1ubuntu0.2+esm1
ubuntu 22.04kittyno fix listed
ubuntu 24.04kittyno fix listed
ubuntu 25.10kitty0.41.1-2+deb13u1build0.25.10.1
ubuntu 26.04kittyno fix listed

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.