Skip to main content
CVE-2026-33642VulnerabilityPublished Updated

In versions 0.46.2 and below, the handle_compose_command() function in kitty/graphics.c performs bounds validation on

Affects kittySource GCVE Database

0
Compare
Authoritative record:CVE-2026-33642· Critical 9.9

Not known to be exploited · CVSS 9.9 Critical · fixed in 0.15.0-1ubuntu0.2+esm1 : patch kitty as a priority.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
9.9Critical
How severe the flaw is on the 0–10 CVSS scale.

Contested

Critical score, yet low EPSS after six months
EPSS
0.2% chance of exploitation in 30 days – higher than 21% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.15.0-1ubuntu0.2+esm1, 0.21.2-1ubuntu0.22.04.1+esm1, 0.32.2-1ubuntu0.4+esm1 +2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 19 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu Pro 26.04 LTSkittypkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • <0.45.0-1ubuntu0.1~esm1
Fixed in
  • 0.45.0-1ubuntu0.1~esm1
Ubuntu 25.10kittypkg:deb/ubuntu/kitty?arch=source&distro=questingOther threatsAffected
  • <0.41.1-2+deb13u1build0.25.10.1
Fixed in
  • 0.41.1-2+deb13u1build0.25.10.1
Ubuntu Pro 24.04 LTSkittypkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <0.32.2-1ubuntu0.4+esm1
Fixed in
  • 0.32.2-1ubuntu0.4+esm1
Ubuntu Pro 22.04 LTSkittypkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <0.21.2-1ubuntu0.22.04.1+esm1
Fixed in
  • 0.21.2-1ubuntu0.22.04.1+esm1
Ubuntu Pro 20.04 LTSkittypkg:deb/ubuntu/kitty?arch=source&distro=esm-apps/focalOther threatsAffected
  • <0.15.0-1ubuntu0.2+esm1
Fixed in
  • 0.15.0-1ubuntu0.2+esm1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

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.

References

Community reviews

Loading reviews…