Skip to main content
VulnerabilityPublished

CVE-2026-33642: kovidgoyal kitty · Integer Overflow or Wraparound

Affects kovidgoyal kittySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 9.9 Critical : upgrade to 0.47.0 as a priority.

Data as of 19 Nov 2026, 20:25 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.47.0
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 19 Nov 2026.

What to do

Upgrade kitty and kovidgoyal/kitty to 0.47.0.

Affected software

ProductAffectedFixed in
kovidgoyalkittyAffected
  • <0.47.0
Fixed in
  • 0.47.0
GitHubkovidgoyal/kittypkg:github/kovidgoyal/kittyOther threatsAffected
  • <0.47.0
Fixed in
  • 0.47.0

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

AI-suggested

This vulnerability has been fixed in kitty version 0.47.0. Users should upgrade to version 0.47.0 or later to remediate this issue. No other mitigations are indicated or required. Patch status is confirmed by the vendor's versioning information.

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…