Home / Kovid Goyal / kitty / CVE-2026-80431
CVE-2026-80431: is it exploited, and which versions of Kovid Goyal kitty are affected and fixed?
CVE-2026-80431 is an out-of-bounds write (memory corruption) vulnerability in Kovid Goyal kitty. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: kitty from 0.40.0 before 0.49.0 (CVE record by Secur0). Fixed in 0.49.0 (CVE record by Secur0). Severity: Medium (6.8, CVSS 4.0, from Secur0).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:06 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-80431?
Out-of-bounds write in the kitty text sizing protocol allows termination of the terminal process
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.
From the CVE record by Secur0, last updated September 25, 2026, 15:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Kovid Goyal | kitty | from 0.40.0 before 0.49.0 | 0.49.0 |
As the CVE record by Secur0 states it, last updated September 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-80431?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | Secur0 |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-80431 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 25, 2026)
- EPSS
- 0.13% probability of exploitation activity in the next 30 days, percentile 3.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-787 Out-of-bounds Write
How do I fix it? (from the CVE record)
Upgrade to kitty 0.49.0 or later.
Where are the vendor advisories and references?
- https://github.com/kovidgoyal/kitty/commit/7d2fbaadcc2b1eeeef89bd875ec622b42362574b patch
- https://github.com/kovidgoyal/kitty/releases/tag/v0.49.0 release-notes
- https://secur0.com/en/cna/cve-list/cve-2026-80431-kitty-text-sizing-out-of-bounds-write third-party-advisory, technical-description
Who found and reported it?
- C4sh3R (finder)
- Cristian Fernández Cornejo (analyst)
- Xoán M. Otero Jorge (analyst)
- Secur0 CNA (coordinator)
- Kovid Goyal (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- August 26, 2026
- Published
- September 25, 2026, 13:23 UTC
- CVE record updated
- September 25, 2026, 15:07 UTC by Secur0
- NVD
- Awaiting Analysis, last modified September 29, 2026, 21:32 UTC
- Last checked
- CVE list November 19, 2026, 07:06 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect kitty?
- Sep 25, 2026CVE-2026-95835 Kovid Goyal kitty: missing authorization
- Sep 25, 2026CVE-2026-95834 Kovid Goyal kitty: use after free
- Sep 25, 2026CVE-2026-80432 Kovid Goyal kitty: missing authorization
- Sep 25, 2026CVE-2026-80430 Kovid Goyal kitty: link following (a symlink lets an attacker reach other files)
- Sep 25, 2026CVE-2026-95832 Kovid Goyal kitty: injection
Questions about CVE-2026-80431
Is CVE-2026-80431 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Kovid Goyal kitty are affected by CVE-2026-80431?
kitty from 0.40.0 before 0.49.0, per the CVE record by Secur0. The tables above give every range the sources list.
Which version fixes CVE-2026-80431?
0.49.0, per the CVE record by Secur0. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-80431?
Medium (6.8, CVSS 4.0, from Secur0). The severity table above shows each score with its source.
Where is the official record of CVE-2026-80431?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.