CVE catalog

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 3

[CVE catalog]

Severity
Critical · CVSS 10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiankittysid0.48.2-1.1fixed
Debiankittyforky0.48.2-1.1fixed
Debiankittytrixie0.41.1-2+deb13u2fixed
Debiankittytrixie-security0.41.1-2+deb13u2fixed
Debiankittybookworm0.26.5-5vulnerable
CpekittyNot reported0.32.2-1ubuntu0.4+esm1fixed
Cpekitty-docNot reported0.32.2-1ubuntu0.4+esm1fixed
Cpekitty-shell-integrationNot reported0.32.2-1ubuntu0.4+esm1fixed
Cpekitty-terminfoNot reported0.32.2-1ubuntu0.4+esm1fixed
CpekittyNot reportedNot reportedvulnerable
CpekittyNot reported0.47.0fixed
Ubuntukittypro0.41.1-2vulnerable
Ubuntukittypro0.43.1-1vulnerable
Ubuntukittypro0.44.0-1vulnerable
Ubuntukittypro0.45.0-1vulnerable
Ubuntukittypro0.45.0-1build1vulnerable
Ubuntukittypro0.45.0-1ubuntu0.1~esm1fixed
Ubuntukitty25.100.39.1-1vulnerable
Ubuntukitty25.100.41.1-2vulnerable
Ubuntukitty25.100.41.1-2+deb13u1build0.25.10.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiankittysourcesid0.47.0-1not yet assignedNot reported[1137210]
Debiankittysourceforky0.47.0-1not yet assignedNot reported[1137210]
Debiankittysourcetrixie0.41.1-2+deb13u1not yet assignedNot reported[1137210]
Debiankittysourcebookworm(unfixed)not yet assignedNot reported[1137210]
CpekittycpeNot reported0.32.2-1ubuntu0.4+esm1Not reportedNot reportedNot reported
Cpekitty-doccpeNot reported0.32.2-1ubuntu0.4+esm1Not reportedNot reportedNot reported
Cpekitty-shell-integrationcpeNot reported0.32.2-1ubuntu0.4+esm1Not reportedNot reportedNot reported
Cpekitty-terminfocpeNot reported0.32.2-1ubuntu0.4+esm1Not reportedNot reportedNot reported
CpekittycpeNot reported0.47.0Not reportedNot reportedNot reported
Ubuntukittydebpro0.45.0-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2026-33642Not reported
Ubuntukittydeb25.100.41.1-2+deb13u1build0.25.10.1Not reportedUBUNTU-CVE-2026-33642Not reported

[Debian bug #1137210]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [kitty]Affected
    Details (2)
    • 0.26.5-5 · amd64 · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · arm64 · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

  • [kitty-doc]Affected

    Source package: [kitty]

    Details (2)
    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

  • Source package: [kitty]

    Details (2)
    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

  • [kitty-terminfo]Affected

    Source package: [kitty]

    Details (2)
    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

    • 0.26.5-5 · all · bookworm

      Affected

      nvd · kitty · debian · bookworm; nvd · kitty · debian · 12

[Debian 13 (Trixie)]

  • [kitty]Fixed
    Details (4)
    • 0.41.1-2+deb13u1 · amd64 · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · arm64 · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · amd64 · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

  • [kitty-doc]Fixed

    Source package: [kitty]

    Details (4)
    • 0.41.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

  • Source package: [kitty]

    Details (4)
    • 0.41.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

  • Source package: [kitty]

    Details (4)
    • 0.41.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u1 · all · trixie

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

    • 0.41.1-2+deb13u2 · all · trixie-security

      Fixed · Fixed: 0.41.1-2+deb13u1

      nvd · kitty · debian · 13

Observed:

References