DEBIAN-CVE-2026-33642

Source
https://security-tracker.debian.org/tracker/CVE-2026-33642
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33642.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-33642
Upstream
Published
2026-05-19T19:16:49Z
Modified
2026-09-14T17:03:07Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:12 / kitty

Package

Name
kitty
Purl
pkg:deb/debian/kitty?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.26.5-5
0.30.1-1
0.31.0-1
0.31.0-2
0.31.0-3
0.31.0-4
0.32.0-1
0.32.1-1
0.32.2-1
0.33.0-2
0.33.1-1
0.34.1-1
0.35.1-1
0.35.2-1
0.36.1-1
0.36.4-1
0.36.4-2
0.36.4-3
0.37.0-1
0.38.1-1
0.39.0-1
0.39.1-1
0.40.0-1
0.41.1-1
0.41.1-2
0.42.1-1
0.42.2-1
0.43.1-1
0.44.0-1
0.45.0-1
0.45.0-2
0.46.1-1
0.46.2-1
0.47.0-1
0.47.0-2
0.47.0-3
0.47.3-1
0.47.4-1
0.48.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33642.json"

Debian:13 / kitty

Package

Name
kitty
Purl
pkg:deb/debian/kitty?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.41.1-2+deb13u1

Affected versions

0.*
0.41.1-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33642.json"

Debian:14 / kitty

Package

Name
kitty
Purl
pkg:deb/debian/kitty?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.47.0-1

Affected versions

0.*
0.41.1-2
0.42.1-1
0.42.2-1
0.43.1-1
0.44.0-1
0.45.0-1
0.45.0-2
0.46.1-1
0.46.2-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-33642.json"