CVE-2026-57156
Received Received - Intake

Integer Overflow in FreeRDP Leading to Heap Buffer Overflow

Vulnerability report for CVE-2026-57156, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-10

Last updated on: 2026-07-10

Assigner: GitHub, Inc.

Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.28.0 on 32-bit builds, FreeRDP clients contain an integer overflow in update_read_delta_points in libfreerdp/core/orders.c when multiplying an attacker-controlled point count by sizeof(DELTA_POINT), allowing a malicious RDP peer to allocate an undersized heap buffer and then write beyond it during initialization. This issue is fixed in version 3.28.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-10
Last Modified
2026-07-10
Generated
2026-07-11
AI Q&A
2026-07-10
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
freerdp freerdp to 3.28.0 (exc)
freerdp freerdp 3.28.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-190 The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
CWE-122 A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is an integer overflow in FreeRDP clients on 32-bit builds prior to version 3.28.0. It occurs in the function update_read_delta_points within the libfreerdp/core/orders.c file. When the software multiplies an attacker-controlled point count by the size of a DELTA_POINT structure without proper validation, the multiplication can overflow. This causes the program to allocate a heap buffer that is smaller than intended.

Because the buffer is undersized, subsequent writes during initialization can overflow the buffer, leading to heap memory corruption. This flaw allows a malicious Remote Desktop Protocol (RDP) peer to exploit the vulnerability by sending specially crafted data.

The issue was fixed in FreeRDP version 3.28.0 by correcting the overflow guard logic to properly check the multiplication size before allocation.

Impact Analysis

Exploitation of this vulnerability can lead to several serious impacts. Because the heap buffer overflow allows writing beyond allocated memory, an attacker could cause a client crash or denial of service.

More critically, depending on the heap layout, an attacker might achieve arbitrary code execution on the affected system. This means the attacker could potentially run malicious code with the privileges of the FreeRDP client.

Since the vulnerability is remotely exploitable by a malicious RDP peer without requiring privileges or user interaction, it poses a high security risk.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade FreeRDP clients to version 3.28.0 or later, where the integer overflow issue in update_read_delta_points has been fixed.

The fix involves a corrected overflow guard that properly validates the multiplication of the attacker-controlled point count by sizeof(DELTA_POINT) before memory allocation, preventing heap buffer overflow.

Until the upgrade is applied, consider restricting or monitoring RDP traffic from untrusted sources to reduce the risk of exploitation.

Compliance Impact

The provided context and resources do not contain information regarding the impact of this vulnerability on compliance with common standards and regulations such as GDPR or HIPAA.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-57156. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart