CVE-2026-33642
Last modified
CVE-2026-33642 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Kovidgoyal | Kitty | < 0.47.0 |
References
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-qfgm-2c64-6x3xExploit, Mitigation, Vendor Advisory
- https://github.com/kovidgoyal/kitty/security/advisories/GHSA-qfgm-2c64-6x3xExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-33642?
How severe is CVE-2026-33642?
How do I fix CVE-2026-33642?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-33635iCalendar is a Ruby library for dealing with iCalendar files…4.3
- CVE-2026-33636LIBPNG is a reference library for use in applications that r…7.6
- CVE-2026-33637Faraday is an HTTP client library abstraction layer that pro…6.5
- CVE-2026-33638Ech0 is an open-source, self-hosted publishing platform for …5.3
- CVE-2026-33640Outline is a service that allows for collaborative documenta…9.8
- CVE-2026-33641Glances is an open-source system cross-platform monitoring t…7.8
- CVE-2026-33643SQL Injection vulnerability in SchemaHero 0.23.0 via the col…7.4
- CVE-2026-33644Lychee is a free, open-source photo-management tool. Prior t…4.3
- CVE-2026-33645Fireshare facilitates self-hosted media and link sharing. In…8.1
- CVE-2026-33646mise manages dev tools like node, python, cmake, and terrafo…9.6
- CVE-2026-33647WWBN AVideo is an open source video platform. In versions up…8.8
- CVE-2026-33648WWBN AVideo is an open source video platform. In versions up…8.8
Are you affected by CVE-2026-33642?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
