PatchSiren cyber security CVE debrief
CVE-2026-80431 Kovid Goyal CVE debrief
A vulnerability in kitty, a terminal emulator, allows a program writing to the terminal to write past the end of a fixed-size buffer. This can result in termination of the kitty process and all its windows, tabs, and child processes. The vulnerability is caused by a lack of capacity checks in the screen_handle_multicell_command() function in kitty/screen.c, which appends each codepoint of a grapheme cluster to a fixed-size buffer without checking its capacity. Defenders responsible for kitty installations, particularly in environments where untrusted input is processed, should assess exposure and apply patches to prevent potential buffer overflows.
- Vendor
- Kovid Goyal
- Product
- kitty
- CVSS
- MEDIUM 6.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-25
- Original CVE updated
- 2026-09-25
- Advisory published
- 2026-09-25
- Advisory updated
- 2026-09-25
Who should care
Defenders responsible for kitty installations, particularly in environments where untrusted input is processed, should assess exposure and apply patches to prevent potential buffer overflows.
Why it matters
Defenders should prioritize verifying kitty versions and applying patches to prevent potential buffer overflows, as the vulnerability can result in termination of the kitty process and all its windows, tabs, and child processes.
- Potential termination of kitty process and all its windows, tabs, and child processes
- Possible buffer overflow and code execution
- Need for verification of kitty versions and application of patches
- Potential impact on system stability and security
Technical summary
The vulnerability is caused by a lack of capacity checks in the screen_handle_multicell_command() function in kitty/screen.c. The function appends each codepoint of a grapheme cluster to a fixed-size buffer without checking its capacity, allowing a program writing to the terminal to write past the end of the buffer. This results in termination of the kitty process and therefore of all its windows, tabs and child processes. Where the cluster is preceded in the same payload by a sequence that causes an intermediate flush, the buffer is first migrated to the heap by ensure_space_for_chars() and the write occurs past the heap allocation instead.
Defensive priority
Defenders should prioritize verifying kitty versions and applying patches to prevent potential buffer overflows.
Recommended defensive actions
- Verify kitty version and apply patches
- Monitor kitty process and system logs for potential buffer overflows
- Implement compensating controls to prevent exploitation
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The vulnerability is caused by a lack of capacity checks in the screen_handle_multicell_command() function in kitty/screen.c. The function appends each codepoint of a grapheme cluster to a fixed-size buffer without checking its capacity.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-80431 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-80431
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-80431 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-80431
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/kovidgoyal/kitty/commit/7d2fbaadcc2b1eeeef89bd875ec622b42362574b
4daa8cea-433a-44bd-9456-53b127fc289a
-
Source reference
Unverified legacy reference
URL: https://github.com/kovidgoyal/kitty/releases/tag/v0.49.0
4daa8cea-433a-44bd-9456-53b127fc289a
-
Source reference
Unverified legacy reference
URL: https://secur0.com/en/cna/cve-list/cve-2026-80431-kitty-text-sizing-out-of-bounds-write
4daa8cea-433a-44bd-9456-53b127fc289a
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.