CVE-2026-80431
Last modified
CVE-2026-80431 is a medium-severity vulnerability rated 6.8/10 on the CVSS scale. Out-of-bounds Write in the natural width branch of the text sizing protocol in kitty from 0.40.0 before 0.49.0 allows a program writing to the terminal to write past the end of a fixed-size buffer, because screen_handle_multicell_command() in kitty/screen.c appends each codepoint of a grapheme cluster with lc.chars[lc.count++] = ch without any capacity check, while lc is declared by the RAII_ListOfChars macro as a four-element char_type array in the function's stack frame, so an OSC 66 escape code whose payload carries a grapheme cluster longer than four codepoints writes beyond that buffer, one 32-bit value per additional codepoint, in the order the codepoints appear. 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.
Description
Out-of-bounds Write in the natural width branch of the text sizing protocol in kitty from 0.40.0 before 0.49.0 allows a program writing to the terminal to write past the end of a fixed-size buffer, because screen_handle_multicell_command() in kitty/screen.c appends each codepoint of a grapheme cluster with lc.chars[lc.count++] = ch without any capacity check, while lc is declared by the RAII_ListOfChars macro as a four-element char_type array in the function's stack frame, so an OSC 66 escape code whose payload carries a grapheme cluster longer than four codepoints writes beyond that buffer, one 32-bit value per additional codepoint, in the order the codepoints appear. 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. This results in termination of the kitty process and therefore of all its windows, tabs and child processes.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Kovid Goyal | kitty | >= 0.40.0, < 0.49.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-80431?
How severe is CVE-2026-80431?
How do I fix CVE-2026-80431?
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-80425IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a re…8.8
- CVE-2026-80426FiftyOne renders a dataset field's description as markup. Th…7.1
- CVE-2026-80427bestzip builds the argument list for the system zip utility …8.4
- CVE-2026-80428ILIAS before versions 9.22, 10.10, and 11.3 contains an unau…9.8
- CVE-2026-8043External control of a file name in Ivanti Xtraction before v…9.6
- CVE-2026-80430Improper Link Resolution Before File Access in the drag sour…4.6
- CVE-2026-80432Missing Authorization in the drop handling path of the drag …6
- CVE-2026-80433Subscriber Sensitive Data Exposure in SureFeedback Client Si…7.5
- CVE-2026-80434IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a re…5
- CVE-2026-80436IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a re…8.5
- CVE-2026-80437The Ninja Forms WordPress plugin from 3.14.10 before 3.15.2 …4.8
- CVE-2026-80438The Ninja Forms WordPress plugin before 3.15.2 does not res…5.9
Are you affected by CVE-2026-80431?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
