Skip to main content
Public proof of conceptFix available

CVE-2026-33642

A public proof of concept exists; no exploitation attested.

  • Published2026-05-19
  • Fixed in0.47.0
  • WeaknessCWE-125 · CWE-190 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-05-1919:16CVE publishedNVD

Versions per branch

NVD
Kovidgoyal kitty
BranchAffectedFixed in
0.47< 0.47.00.47.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • kovidgoyal kitty
    Affected
    • = < 0.47.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-05-19

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • kittyUbuntu:Pro:26.04:LTSall versions · fixed in 0.45.0-1ubuntu0.1~esm1
  • kittyUbuntu:Pro:24.04:LTSall versions · fixed in 0.32.2-1ubuntu0.4+esm1
  • kittyUbuntu:Pro:22.04:LTSall versions · fixed in 0.21.2-1ubuntu0.22.04.1+esm1
  • kittyUbuntu:Pro:20.04:LTSall versions · fixed in 0.15.0-1ubuntu0.2+esm1
  • kittyUbuntu:25.10all versions · fixed in 0.41.1-2+deb13u1build0.25.10.1
  • kittyopenSUSE:Leap 16.0all versions · fixed in 0.48.2-bp160.1.1
  • kittyDebian:14all versions · fixed in 0.47.0-1
  • kittyDebian:13all versions · fixed in 0.41.1-2+deb13u1

1 more package range on OSV.dev

Full record on NVD

Fix

  1. Update Kovidgoyal kitty to 0.47.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionpoc2026-05-19
  • CNACVSS 3.19.9known since 2026-10-23
  • NVDCVSS 3.19.8read 2026-10-23
  • CNAweakness (CWE)CWE-125, CWE-190, CWE-787known since 2026-10-23
  • FIRST EPSSEPSS score0.3 %2026-12-04
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published
2026-05-19
Last modified
2026-07-24
NVD status
Analyzed

Frequently asked questions

What is CVE-2026-33642?

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.

Is CVE-2026-33642 actively exploited?

A proof-of-concept exploit exists for CVE-2026-33642, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2026-33642?

CVE-2026-33642 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Running kitty? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record