CVE-2024-37535
Medium · 4.4CVSS
4.4
EPSS
0.2%
Published
Jun 9, 2024
CISA due date
—
Cloudanix analysis
A bug in a common terminal-handling component can let someone already on the system make programs use up all available memory and stop responding.
- Exploitation
- Local Privilege
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The flaw permits an attacker to trigger unbounded memory allocation in the VTE terminal emulation library by sending a crafted window-resize escape sequence, resulting in denial of service through resource exhaustion.
Why it matters to the business
Applications and desktop environments relying on the affected terminal library may become unresponsive or crash when memory is exhausted, disrupting user workflows and requiring manual intervention to recover affected processes.
How an attack unfolds
An attacker with local access and the ability to write to a terminal controlled by a vulnerable VTE instance sends repeated window-resize escape sequences that cause the library to allocate memory without bound until the process or system is starved of resources.
How to fix it
Upgrade the GNOME VTE library to a version containing commit 036bc3ddcbb56f05c6ca76712a53b89dee1369e2 (corresponding to 0.76.3 or later). Rebuild and redeploy any dependent applications or distributions after the update.
How to confirm the fix worked
Confirm the installed VTE version or commit hash is at or beyond 036bc3ddcbb56f05c6ca76712a53b89dee1369e2; attempt to reproduce the memory-consumption behavior with a controlled resize-sequence test in a non-production environment to verify the issue is resolved.
Typical attack path
- Obtain local shell or terminal access on a system using the vulnerable library
- Identify or spawn a process that uses the VTE library for terminal emulation
- Inject a stream of window-resize escape sequences into the terminal input
- Observe progressive memory consumption until the target process or host becomes unresponsive
How to detect it
Review system and application logs for sudden spikes in memory usage by processes linked to the VTE library; correlate with terminal session activity or input containing escape sequences; examine coredumps or memory profiles of affected terminal emulators for signs of repeated resize handling.
What your security team should do
- Apply the library update to all affected systems as soon as packages are available
- Inventory applications and container images that statically or dynamically link against VTE
- Monitor process memory usage for terminal-related workloads as a temporary compensating control
- Restrict untrusted local input sources that can reach terminal emulators until patches are deployed
The record
GNOME VTE before 0.76.3 allows an attacker to cause a denial of service (memory consumption) via a window resize escape sequence, a related issue to CVE-2000-0476.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | vte | 0 | No fix |
| Debian:11 | vte2.91 | 0 | No fix |
| Debian:12 | vte | 0 | No fix |
| Debian:12 | vte2.91 | 0 | No fix |
| Debian:13 | vte | 0 | No fix |
| Debian:13 | vte2.91 | 0 | 0.76.3-6 |
| Debian:14 | vte | 0 | No fix |
| Debian:14 | vte2.91 | 0 | 0.76.3-6 |
| Mageia:9 | vte | 0 | 0.72.1-1.1.mga9 |
| SUSE:Enterprise Storage 7.1 | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP5 | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | vte | 0 | 0.74.2-150600.3.3.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | vte | 0 | 0.74.2-150600.3.3.1 |
| SUSE:Linux Enterprise Server 12 SP5 | vte | 0 | 0.44.2-9.6.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | vte | 0 | 0.44.2-9.6.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | vte | 0 | 0.58.3-150200.3.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Linux Enterprise Software Development Kit 12 SP5 | vte | 0 | 0.44.2-9.6.1 |
| SUSE:Manager Proxy 4.3 | vte | 0 | 0.66.2-150400.3.5.1 |
| SUSE:Manager Server 4.3 | vte | 0 | 0.66.2-150400.3.5.1 |
| Ubuntu:16.04:LTS | vte2.91 | 0 | No fix |
| Ubuntu:18.04:LTS | vte2.91 | 0 | No fix |
| Ubuntu:20.04:LTS | vte2.91 | 0 | 0.60.3-0ubuntu1~20.5 |
| Ubuntu:22.04:LTS | vte2.91 | 0 | 0.68.0-1ubuntu0.1 |
| Ubuntu:23.10 | vte2.91 | 0 | 0.74.0-2ubuntu0.1 |
| Ubuntu:24.04:LTS | vte2.91 | 0 | 0.76.0-1ubuntu0.1 |
| Ubuntu:24.10 | vte2.91 | 0 | 0.76.3-1 |
| Ubuntu:Pro:16.04:LTS | vte2.91 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | vte2.91 | 0 | No fix |
| openSUSE:Leap 15.5 | vte | 0 | 0.66.2-150400.3.5.1 |
| openSUSE:Leap 15.6 | vte | 0 | 0.74.2-150600.3.3.1 |
| openSUSE:Tumbleweed | vte | 0 | 0.76.3-3.1 |
Related vulnerabilities
- CVE-2012-2738 The VteTerminal in gnome-terminal (vte) before 0.32.2 allows remote authenticated users… Also affects vte
- CVE-2026-113795 pypdf is a free and open-source pure-python PDF library. CWE-400
- CVE-2026-83400 Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise… CWE-400
- CVE-2026-112400 Pillow is a Python imaging library. CWE-400
- CVE-2026-111766 markdown-it is a Markdown parser. CWE-400
- CVE-2026-111759 markdown-it is a Markdown parser. CWE-400
- CVE-2025-52290 A NULL pointer dereference in the avpriv_h264_has_num_reorder_frames function of Ffmpeg… CWE-400
- CVE-2026-111066 AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. CWE-400