9.9 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): Low (L)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): Low (L)
- Integrity (I): Low (L)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): Low (L)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): Low (L)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): Low (L)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
-
@LeSuisse
ignored
9 packages
- kittysay
- kitty-img
- kitty-themes
- kittycad-kcl-lsp
- mailman-hyperkitty
- haskellPackages.discokitty
- mailmanPackages.hyperkitty
- mailmanPackages.mailman-hyperkitty
- vimPlugins.nvim-treesitter-parsers.kitty
- @LeSuisse accepted
- @LeSuisse published on GitHub
Kitty has a Heap Buffer Over-Read/Write via Integer Overflow in compose_rectangles Bounds Check
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.
References
-
https://github.com/kovidgoyal/kitty/security/advisories/GHSA-qfgm-2c64-6x3x exploitx_refsource_CONFIRM
Affected products
- ==< 0.47.0
Matching in nixpkgs
Ignored packages (9)
pkgs.kittysay
Cowsay, but with a cute kitty :3
pkgs.kitty-img
Print images inline in kitty
pkgs.kitty-themes
Themes for the kitty terminal emulator
-
nixos-unstable 0-unstable-2026-03-31
- nixpkgs-unstable 0-unstable-2026-03-31
- nixos-unstable-small 0-unstable-2026-03-31
-
nixos-25.11 0-unstable-2025-10-24
- nixos-25.11-small 0-unstable-2025-10-24
- nixpkgs-25.11-darwin 0-unstable-2025-10-24
pkgs.kittycad-kcl-lsp
KittyCAD KCL language server
pkgs.mailman-hyperkitty
Mailman archiver plugin for HyperKitty
pkgs.haskellPackages.discokitty
DisCoCat implementation
pkgs.mailmanPackages.hyperkitty
Archiver for GNU Mailman v3
pkgs.mailmanPackages.mailman-hyperkitty
Mailman archiver plugin for HyperKitty
pkgs.vimPlugins.nvim-treesitter-parsers.kitty
None
-
nixos-unstable 0.0.0+rev=fa6ab3f
- nixpkgs-unstable 0.0.0+rev=fa6ab3f
- nixos-unstable-small 0.0.0+rev=fa6ab3f
Package maintainers
-
@Luflosi Luflosi <luflosi@luflosi.de>
-
@leiserfg Leiser Fernández Gallo <leiserfg@gmail.com>
-
@rvolosatovs Roman Volosatovs <rvolosatovs@riseup.net>
-
@kashw2 Keanu Ashwell <supra4keanu@hotmail.com>