cve.bz

CVE-2026-33642 kovidgoyal kitty: Out-of-bounds Read

9.8 criticalExploit referenceEPSS 0.3%Fix available

Critical (9.8) in kovidgoyal kitty. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 21st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: partial, assessed 2026-05-19. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-125 Out-of-bounds Read
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-33642 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-33642?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-33642?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-33642 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
kovidgoyal:kittybefore 0.47.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12kitty0.26.5-5+deb12u1DEBIAN-CVE-2026-33642 DLA-4928-1
Debian13kitty0.41.1-2+deb13u1DEBIAN-CVE-2026-33642 DSA-6307-1
Debian14kitty0.47.0-1DEBIAN-CVE-2026-33642
Ubuntu25.10kitty0.41.1-2+deb13u1build0.25.10.1UBUNTU-CVE-2026-33642
UbuntuPro:20.04:LTSkitty0.15.0-1ubuntu0.2+esm1UBUNTU-CVE-2026-33642
UbuntuPro:22.04:LTSkitty0.21.2-1ubuntu0.22.04.1+esm1UBUNTU-CVE-2026-33642
UbuntuPro:24.04:LTSkitty0.32.2-1ubuntu0.4+esm1UBUNTU-CVE-2026-33642
UbuntuPro:26.04:LTSkitty0.45.0-1ubuntu0.1~esm1UBUNTU-CVE-2026-33642
openSUSELeap 16.0kitty0.48.2-bp160.1.1openSUSE-SU-2026:21599-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High
  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON