Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege shell access
-
DeliveryLaunch or attach to SIXEL-enabled tmux session
-
ExploitLoad SIXEL image into terminal via image-rendering application
-
ExecutionTrigger alternate screen on/off transitions to move images between list queues
-
PersistForce image_free call on image struct with stale list pointer
-
ImpactCorrupt TAILQ linked-list structure causing crash or limited memory corruption
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Three specific prerequisites must all be met simultaneously: (1) tmux must be compiled with SIXEL support - the |
| Impact | The CVSS 4.0 base score of 1.1 accurately reflects the genuine low risk of this vulnerability. The vector AV:L/AC:H/PR:L/UI:N places this firmly in the local, high-complexity exploitation category, with only Low-level impacts across confidentiality, integrity, and availability and no scope change (SC:N/SI:N/SA:N). EPSS data was not provided in the input and cannot be inferred. The vulnerability is not in CISA KEV, confirming no known active exploitation campaigns. A public proof-of-concept exists (E:P in the CVSS 4.0 supplemental vector), elevating theoretical risk slightly, but the high attack complexity and local-only vector significantly constrain real-world exploitability. For most environments, this represents a low-priority finding - the realistic impact is a crash or limited memory corruption in a terminal multiplexer, not remote code execution or privilege escalation. The absence of subsequent system impact (SC:N) further limits blast radius. Organizations with multi-user tmux deployments on shared systems where SIXEL is enabled should prioritize the patch; all others can treat this as a routine upgrade. |
| Exploit ScenarioDerived | A local user with standard shell access on a system running a SIXEL-enabled tmux build opens a tmux session and uses a SIXEL-capable application (such as a terminal image viewer) to load images into the session. By triggering alternate screen transitions - for example, launching and exiting an application that activates the alternate screen - in a specific sequence while SIXEL images are loaded, the attacker causes image structs to retain stale list pointers. When tmux subsequently calls |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 09, 2026
Use-after-free memory corruption in tmux's SIXEL image handling allows a local low-privileged attacker with high complexity to trigger memory corruption or denial of service in versions up to 3.6a. The root cause lies in the image_free() function in image.c, where image structs retain stale pointers to their original parent screen's image list after alternate screen transitions, causing TAILQ_REMOVE to dereference an invalid list pointer. No active exploitation is confirmed (not in CISA KEV), though publicly available exploit code exists per the CVE vector's E:P designation and a public gist from XlabAITeam. A fix is available in tmux 3.7-rc.
RemediationAI
The primary fix is to upgrade tmux to version 3.7-rc or later, which contains patch commit fc6d94a9f8a593bd8b7031650802084385d4ee03, available at https://github.com/tmux/tmux/commit/fc6d94a9f8a593bd8b7031650802084385d4ee03 and as a tagged release at https://github.com/tmux/tmux/releases/tag/3.7-rc. Note that 3.7-rc is a release candidate; administrators should monitor for a stable 3.7 release for production deployments. If immediate upgrading is not possible and SIXEL image rendering is not required, recompiling tmux from source without the ENABLE_SIXEL compile-time flag eliminates the entire vulnerable code path - the affected image_free logic is inside #ifdef ENABLE_SIXEL guards. The trade-off is loss of in-terminal SIXEL image rendering capability. Many standard distribution packages (e.g., Debian, Ubuntu) ship tmux without SIXEL enabled by default, so verifying your build's compile flags via tmux -V or package metadata is a quick first triage step.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
tmux supports SIXEL, a graphics protocol for rendering pixel images in terminal sessions, compiled in via the ENABLE_SIXEL preprocessor flag. The vulnerable image_free() function in image.c originally derived the image list to remove from using im->s - a pointer back to the owning screen struct. However, tmux manages two image queues per screen: s->images (primary screen) and s->saved_images (alternate screen). When screen_alternate_on() or screen_alternate_off() transitions images between these queues, the im->s reference becomes stale or incorrect relative to the list the image now belongs to. Calling TAILQ_REMOVE(&s->images, im, entry) on an image that was moved to s->saved_images constitutes a CWE-416 use-after-free, corrupting the linked-list structure. The fix introduces a direct im->list pointer on the image struct, set at insertion time via image_store() and updated correctly during screen transitions in screen_alternate_on() and screen_alternate_off(). The bug only exists in SIXEL-enabled tmux builds.
Know when Tmux gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security vulnerability has been detected in tmux up to 3.6a. Affected is the function image_free of the file image.c. Such manipulation leads to use after free. Local access is required to approach this attack. This attack is characterized by high complexity. The exploitability is told to be difficult. The exploit has been disclosed publicly and may be used. Upgrading to version 3.7-rc is able to address this issue. The name of the patch is fc6d94a9f8a593bd8b7031650802084385d4ee03. The affected component should be upgraded.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.
Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-35297
GHSA-4cw9-jpqf-99x8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB