FreeRDP up to 3.21.x sws_scale ecam_encoder_compress_h264 use after free

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.1$0-$5k0.00

Summaryinfo

A vulnerability was found in FreeRDP up to 3.21.x. It has been declared as critical. This issue affects the function ecam_encoder_compress_h264 of the component sws_scale. Such manipulation leads to use after free. This vulnerability is listed as CVE-2026-24677. The attack may be performed from remote. There is no available exploit. It is recommended to upgrade the affected component.

Detailsinfo

A vulnerability, which was classified as critical, has been found in FreeRDP up to 3.21.x. Affected by this issue is the function ecam_encoder_compress_h264 of the component sws_scale. The manipulation with an unknown input leads to a use after free vulnerability. Using CWE to declare the problem leads to CWE-416. Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code. Impacted is availability. CVE summarizes:

FreeRDP is a free implementation of the Remote Desktop Protocol. Prior to 3.22.0, ecam_encoder_compress_h264 trusts server-controlled dimensions and does not validate the source buffer size, leading to an out-of-bounds read in sws_scale. This vulnerability is fixed in 3.22.0.

The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-24677 since 01/23/2026. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 299346 (Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 25.10 : FreeRDP vulnerabilities (USN-8042-1)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 3.22.0 eliminates this vulnerability. Applying the patch d2d4f449312ddafd4a4c6c8a4f856c7f0d44a3b5 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the databases at Tenable (299346) and CERT Bund (WID-SEC-2026-0244). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Affected

  • Red Hat Enterprise Linux
  • Ubuntu Linux
  • SUSE Linux
  • Oracle Linux
  • SUSE openSUSE
  • RESF Rocky Linux
  • Open Source FreeRDP

Productinfo

Type

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒

CVSSv3info

VulDB Meta Base Score: 7.2
VulDB Meta Temp Score: 7.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔒
VulDB Reliability: 🔍

NVD Base Score: 9.1
NVD Vector: 🔒

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Use after free
CWE: CWE-416 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: No
Local: No
Remote: Yes

Availability: 🔒
Status: Not defined

EPSS Score: 🔒
EPSS Percentile: 🔒

Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 299346
Nessus Name: Ubuntu 18.04 LTS / 20.04 LTS / 22.04 LTS / 24.04 LTS / 25.10 : FreeRDP vulnerabilities (USN-8042-1)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: FreeRDP 3.22.0
Patch: d2d4f449312ddafd4a4c6c8a4f856c7f0d44a3b5

Timelineinfo

01/23/2026 CVE reserved
02/09/2026 +17 days Advisory disclosed
02/09/2026 +0 days VulDB entry created
02/25/2026 +16 days VulDB entry last update

Sourcesinfo

Product: github.com

Advisory: GHSA-xw37-j744-f8v7
Status: Confirmed

CVE: CVE-2026-24677 (🔒)
GCVE (CVE): GCVE-0-2026-24677
GCVE (VulDB): GCVE-100-345008
CERT Bund: WID-SEC-2026-0244 - FreeRDP: Mehrere Schwachstellen

Entryinfo

Created: 02/09/2026 21:12
Updated: 02/25/2026 23:34
Changes: 02/09/2026 21:12 (71), 02/11/2026 11:24 (11), 02/20/2026 04:30 (2), 02/25/2026 23:34 (7)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!