CVE-2020-4031

Use-After-Free in gdi_SelectObject in FreeRDP

HIGH
7.5
CVSS Score
Published: June 22, 2020 at 12:00 AM UTC
Updated: June 17, 2026 at 03:19 AM UTC
5 products affected across 5 vendorsDebian LinuxFedoraUbuntu Linux

Using FreeRDP by FreeRDP?

Get instant alerts when new vulnerabilities affect FreeRDP - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 2%

Description

In FreeRDP before version 2.1.2, there is a use-after-free in gdi_SelectObject. All FreeRDP clients using compatibility mode with /relax-order-checks are affected. This is fixed in version 2.1.2.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 2.1.2
Affected range stops below 2.1.2, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card