Skip to main content

Freerdp EUVDEUVD-2026-12061

| CVE-2026-31883 MEDIUM
Integer Underflow (CWE-191)
2026-03-13 GitHub_M
6.5
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2021 - Vulnerable and Outdated Components
ASVS 5.0
V15 - Secure Coding and Architecture Integer underflow checks
Impact

CVSS 6.5 (Medium) with vector AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N indicates network-accessible exploitation with low attack complexity, no privileges required, no user interaction, and limited confidentiality and integrity impact. The network attack vector (AV:N) and lack of authentication requirements (PR:N) are concerning for widespread exploitation. However, the impact is limited to low confidentiality and integrity impact with no availability impact (A:N), suggesting the vulnerability causes data corruption or leakage rather than crashes. Without EPSS data provided, the real-world exploitation probability cannot be quantified precisely, but the combination of network accessibility, ease of exploitation, and the fact that audio codecs are commonly used in RDP sessions suggests moderate real-world risk. The lack of documented active exploitation (no KEV status provided) and the specific technical trigger (requiring crafted nBlockAlign values) may reduce immediate prevalence, but the vulnerability is straightforward to exploit programmatically by a malicious RDP server or through man-in-the-middle attack. POC availability via the GitHub commit reference (16df2300e1e3f5a51f68fb1626429e58b531b7c8) enables security researchers to understand the fix mechanism, which may accelerate exploit development.

Exploit ScenarioDerived

An attacker controlling or intercepting a Remote Desktop Protocol connection (acting as a malicious RDP server or via man-in-the-middle attack) crafts a specially-formed RDPSND audio packet with a nBlockAlign value designed to trigger the underflow condition in the audio decoder. When the FreeRDP client processes the RDPSND channel data, the vulnerable code path is triggered: the decoder receives encoded audio data, attempts to parse the frame header, and the size calculation underflows, causing size to wrap to ~SIZE_MAX. The while (size > 0) loop then executes trillions of iterations, writing audio sample data beyond the bounds of the allocated heap buffer. This corrupts adjacent heap structures (potentially affecting other audio buffers, session state, or client credentials) and may leak sensitive information from memory. The attack requires network access to the RDP session (AV:N, AC:L, PR:N, UI:N) but does not require social engineering, making it practical for attackers in network-privileged positions. A functional POC demonstrating the underflow and heap corruption can be derived from analysis of the fix commit, enabling reproducible exploitation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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 – Mar 13, 2026

Size_t integer underflow vulnerability in FreeRDP's IMA-ADPCM and MS-ADPCM audio decoders that triggers a heap buffer overflow write via the RDPSND audio channel. All FreeRDP versions prior to 3.24.0 are affected. An unauthenticated remote attacker can exploit this vulnerability over the network without user interaction to cause information disclosure and data corruption, though not denial of service based on the CVSS impact ratings.

RemediationAI

Immediate remediation: Upgrade FreeRDP to version 3.24.0 or later. Organizations using FreeRDP < 3.24.0 should prioritize patching within a 30-day window given the network-accessible nature of the vulnerability. Temporary mitigations prior to patching: (1) Disable RDPSND audio channel if audio is not required (configure RDP client/server to exclude ADPCM codecs); (2) Implement network-level controls to restrict RDP connections to trusted servers only, reducing the attack surface from untrusted or potentially compromised RDP servers; (3) Run FreeRDP in sandboxed environments with restricted memory access to limit the impact of heap overflow. Patch availability confirmed via GitHub repository at https://github.com/FreeRDP/FreeRDP/commit/16df2300e1e3f5a51f68fb1626429e58b531b7c8.

Affected VersionsENISA

FreeRDP < 3.24.0

Affected Packages

euvd freerdp fix: 3.24.0

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

The vulnerability exists in libfreerdp/codec/dsp.c within the audio codec implementations for the Remote Desktop Protocol (RDP). Specifically, the IMA-ADPCM and MS-ADPCM decoders (used in RDP's RDPSND audio channel) perform arithmetic operations on a size_t variable without bounds checking. When a server sends a crafted nBlockAlign value such that size % block_size == 0, the code subtracts a header size (4 or 8 bytes) from size at a point where size is already smaller than the header. This causes an unsigned integer underflow (CWE-191), wrapping size to approximately SIZE_MAX (~18 exabytes on 64-bit systems). The subsequent while (size > 0) loop then executes for an astronomically large number of iterations, writing beyond allocated heap buffer boundaries. The root cause is the failure to validate that size >= header_size before performing the subtraction. This affects FreeRDP versions prior to 3.24.0 (CPE: cpe:2.3:a:freerdp:freerdp:*:*:*:*:*:*:*:* with version constraint < 3.24.0).

Know when Freerdp 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

GitHub Advisory PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
SUSE MEDIUM
Red Hat 7.3 MEDIUM

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch available
Apr 16, 2026 - 05:29 EUVD
3.24.0
CVE Published
Mar 13, 2026 - 17:35 nvd
MEDIUM 6.5

DescriptionGitHub Advisory

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.24.0, a size_t underflow in the IMA-ADPCM and MS-ADPCM audio decoders leads to heap-buffer-overflow write via the RDPSND audio channel. In libfreerdp/codec/dsp.c, the IMA-ADPCM and MS-ADPCM decoders subtract block header sizes from a size_t variable without checking for underflow. When nBlockAlign (received from the server) is set such that size % block_size == 0 triggers the header parsing at a point where size is smaller than the header (4 or 8 bytes), the subtraction wraps size to ~SIZE_MAX. The while (size > 0) loop then continues for an astronomical number of iterations. This vulnerability is fixed in 3.24.0.

Executive ViewAI

Why It Matters

Organizations using FreeRDP should be aware of notable risk from CVE-2026-31883 rated CVSS 6.5. Exploitation could compromise the security of affected deployments. Organizations should apply vendor updates when available and monitor for exploitation.

Business Impact: Moderate
Compensating Controls

Apply vendor patch. If patching is delayed: restrict network access and enable monitoring.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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

Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Integer overflow occurs when an arithmetic operation produces a result that exceeds the maximum value a given integer type can store.

CVE-2026-25997 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_clipboard_format_equal before 3.23.0. Clipboard format comparison uses freed memory. Fifth

CVE-2026-25953 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Surface-to-window update triggers memory corrupti

CVE-2026-25952 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_SetWindowMinMaxInfo before version 3.23.0. X11 client window management triggers memory cor

CVE-2026-25959 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_cliprdr_provide_data clipboard handling before 3.23.0. Clipboard data exchange triggers mem

CVE-2026-22857 CRITICAL POC
9.8 Jan 14

FreeRDP IRP thread handler has a use-after-free where the IRP is freed by Complete() then accessed on the error path. Fi

CVE-2026-22854 CRITICAL POC
9.8 Jan 14

FreeRDP drive read heap overflow when server-controlled read length exceeds IRP output buffer. Fixed in 3.20.1. PoC avai

CVE-2026-22852 CRITICAL POC
9.8 Jan 14

FreeRDP client before 3.20.1 has a heap buffer overflow in AUDIN format processing. A malicious RDP server can corrupt m

CVE-2026-25955 CRITICAL POC
9.8 Feb 25

Use-after-free in FreeRDP xf_AppUpdateWindowFromSurface before 3.23.0. Different code path from CVE-2026-25953. PoC and

CVE-2024-32041 CRITICAL POC
9.8 Apr 22

FreeRDP is a free implementation of the Remote Desktop Protocol. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2023-40574 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40569 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

CVE-2023-40567 CRITICAL POC
9.8 Aug 31

FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Rated critical

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 SUSE Linux Enterprise Workstation Extension 15 SP7 Fixed
SUSE Linux Enterprise Module for Package Hub 15 SP7 Fixed
SUSE Linux Enterprise Server 12 SP5-LTSS Fixed
SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 Fixed
openSUSE Leap 15.6 Fixed

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