Skip to main content

tmux EUVDEUVD-2026-35297

| CVE-2026-11623 LOW
Use After Free (CWE-416)
2026-06-09 VulDB GHSA-4cw9-jpqf-99x8
1.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege shell access
  2. Delivery
    Launch or attach to SIXEL-enabled tmux session
  3. Exploit
    Load SIXEL image into terminal via image-rendering application
  4. Execution
    Trigger alternate screen on/off transitions to move images between list queues
  5. Persist
    Force image_free call on image struct with stale list pointer
  6. Impact
    Corrupt 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 ENABLE_SIXEL preprocessor flag must be set at build time; many standard distribution packages omit this; (2) the attacker must have local system access with at least low-privilege credentials, per PR:L in the CVSS 4.0 vector - remote exploitation is not possible; (3) high attack complexity is required (AC:H per CVSS), meaning the attacker must trigger a precise sequence of SIXEL image loading followed by alternate screen transitions to produce stale list pointers before image_free is invoked. Exploitation is fundamentally limited by the local-only attack vector, the compile-time SIXEL requirement, and the high complexity trigger sequence. There is no network exposure, no privilege escalation path, and no user interaction required beyond the attacker's own terminal session.

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 image_free() on these images, TAILQ_REMOVE operates on an invalid list, corrupting memory and potentially crashing the tmux server process. A public proof-of-concept demonstrating this sequence is available at https://gist.github.com/XlabAITeam/f0d9952595f795129a3258ba73bbc3cb.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

tmux 3.6a

Affected Packages

euvd tmux no fix

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

Vendor (VulDB) PRIMARY 1.1 LOW
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

Attack Vector
Local
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 09, 2026 - 05:22 NVD
MEDIUM LOW
CVSS changed
Jun 09, 2026 - 05:22 NVD
4.5 (MEDIUM) 1.1 (LOW)

DescriptionCVE.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

EPSS Score
0.0%
Top 98% exploitable
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +6
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy