Skip to main content

CVE-2026-95834: CWE-416 Use After Free in Kovid Goyal kitty

0
Medium
VulnerabilityCVE-2026-95834cvecve-2026-95834cwe-416
Published: 09/25/2026 (09/25/2026, 16:28:09 UTC)
Source: CVE Database V5
Vendor/Project: Kovid Goyal
Product: kitty

Description

CVE-2026-95834 is a use-after-free vulnerability in the drag and drop protocol implementation of the kitty terminal emulator versions 0.47.0 up to but not including 0.49.0. The flaw occurs when the terminal processes drag source path data, leading to dereferencing and writing to freed heap memory. This can cause undefined behavior in the terminal process when programs write to the terminal and trigger the vulnerable code path.

CVSS v4.0

Score 4.6medium

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Affected software

Kovid Goyal

kitty

Affected versions
>=0.47.0 <0.49.0
GitHub Actionsmore threats →cve
kitty
pkg:github/kitty
Affected versions
>=0.47.0 <0.49.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 17:03:07 UTC

Technical Analysis

This vulnerability arises from improper handling of pointers in the drag_remote_file_data() function within kitty's drag and drop code. Specifically, a DragRemoteItem pointer into an array not owned by the function is used after the array is freed during error handling paths. The error handling uses an abrt() macro that cancels the drag and frees memory but does not inform the caller, which then continues to dereference and write through the freed pointer. This use-after-free condition can be triggered by programs writing to the terminal that initiate drag and drop operations with certain error conditions, leading to undefined behavior in the terminal process.

Potential Impact

Exploitation of this vulnerability can cause the kitty terminal process to read from and write to freed heap memory, resulting in undefined behavior. The CVSS 4.0 base score is 4.6 (medium severity), reflecting local attack vector with low complexity and requiring user interaction. There is no indication of privilege escalation or remote code execution from the provided data.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are provided in the available data. Until a patch is available, avoid running untrusted programs that might trigger drag and drop operations in kitty, or consider using a different terminal emulator version outside the affected range.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Secur0
Date Reserved
2026-09-22T16:30:20.014Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ab6a5d5f7a7c54106055648

Added to database: 09/25/2026, 16:48:21 UTC

Last enriched: 09/25/2026, 17:03:07 UTC

Last updated: 09/25/2026, 17:03:07 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses