# CVE-2025-5024: Gnome-remote-desktop: uncontrolled resource consumption due to malformed rdp pdus

> An unauthenticated attacker can crash the GNOME Remote Desktop service and exhaust system resources by sending malformed RDP packets.

- **Severity:** High 7.4 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 22 May 2025
- **Updated:** 30 Jun 2026
- **Also known as:** ALSA-2025:10631, ALSA-2025:10635, ALSA-2025:10742, CLSA-2025-1765286622, DEBIAN-CVE-2025-5024, GHSA-hf3p-gpvx-q597, RHSA-2025:10631, RHSA-2025:10635, RHSA-2025:10742, RHSA-2025:11403, RHSA-2025:11404, RHSA-2025:11405, RHSA-2025:11406, RHSA-2025:11407, RHSA-2025:11408, RHSA-2025:11418, RLSA-2025:10631, RLSA-2025:10635, RLSA-2025:10742, SUSE-SU-2026:0766-1, SUSE-SU-2026:1646-1, SUSE-SU-2026:21362-1, UBUNTU-CVE-2025-5024, openSUSE-SU-2026:10186-1, openSUSE-SU-2026:20590-1

## What is CVE-2025-5024?

CVE-2025-5024 is a high-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 22 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

A flaw was found in gnome-remote-desktop. Once gnome-remote-desktop listens for RDP connections, an unauthenticated attacker can exhaust system resources and repeatedly crash the process. There may be a resource leak after many attacks, which will also result in gnome-remote-desktop no longer being able to open files even after it is restarted via systemd.

Weakness: CWE-400 (Uncontrolled Resource Consumption)

## Which versions are affected by CVE-2025-5024?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `gnome-remote-desktop` | AlmaLinux:10 | All versions | 47.3-2.el10_0 |
| `gnome-remote-desktop` | AlmaLinux:8 | All versions | 0.1.8-4.el8_10 |
| `gnome-remote-desktop` | AlmaLinux:9 | All versions | 40.0-11.el9_6 |
| `gnome-remote-desktop` | Red Hat:enterprise_linux:10.0 | All versions | 0:47.3-2.el10_0 |
| `gnome-remote-desktop-debuginfo` | Red Hat:enterprise_linux:10.0 | All versions | 0:47.3-2.el10_0 |
| `gnome-remote-desktop-debugsource` | Red Hat:enterprise_linux:10.0 | All versions | 0:47.3-2.el10_0 |
| `gnome-remote-desktop` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.1.8-4.el8_10 |
| `gnome-remote-desktop-debuginfo` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.1.8-4.el8_10 |
| `gnome-remote-desktop-debugsource` | Red Hat:enterprise_linux:8::appstream | All versions | 0:0.1.8-4.el8_10 |
| `gnome-remote-desktop` | Red Hat:enterprise_linux:9::appstream | All versions | 0:40.0-11.el9_6 |
| `gnome-remote-desktop-debuginfo` | Red Hat:enterprise_linux:9::appstream | All versions | 0:40.0-11.el9_6 |
| `gnome-remote-desktop-debugsource` | Red Hat:enterprise_linux:9::appstream | All versions | 0:40.0-11.el9_6 |
| `gnome-remote-desktop` | Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.1.6-9.el8_2.1 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.1.6-9.el8_2.1 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_aus:8.2::appstream | All versions | 0:0.1.6-9.el8_2.1 |
| `gnome-remote-desktop` | Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.1.8-4.el8_4 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.1.8-4.el8_4 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_aus:8.4::appstream | All versions | 0:0.1.8-4.el8_4 |
| `gnome-remote-desktop` | Red Hat:rhel_aus:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_aus:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_aus:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |
| `gnome-remote-desktop` | Red Hat:rhel_e4s:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_e4s:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_e4s:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |
| `gnome-remote-desktop` | Red Hat:rhel_e4s:8.8::appstream | All versions | 0:0.1.8-4.el8_8 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_e4s:8.8::appstream | All versions | 0:0.1.8-4.el8_8 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_e4s:8.8::appstream | All versions | 0:0.1.8-4.el8_8 |
| `gnome-remote-desktop` | Red Hat:rhel_e4s:9.0::appstream | All versions | 0:40.0-10.el9_0 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_e4s:9.0::appstream | All versions | 0:40.0-10.el9_0 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_e4s:9.0::appstream | All versions | 0:40.0-10.el9_0 |
| `gnome-remote-desktop` | Red Hat:rhel_e4s:9.2::appstream | All versions | 0:40.0-10.el9_2 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_e4s:9.2::appstream | All versions | 0:40.0-10.el9_2 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_e4s:9.2::appstream | All versions | 0:40.0-10.el9_2 |
| `gnome-remote-desktop` | Red Hat:rhel_eus:9.4::appstream | All versions | 0:40.0-11.el9_4 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_eus:9.4::appstream | All versions | 0:40.0-11.el9_4 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_eus:9.4::appstream | All versions | 0:40.0-11.el9_4 |
| `gnome-remote-desktop` | Red Hat:rhel_eus_long_life:8.4::appstream | All versions | 0:0.1.8-4.el8_4 |
| `gnome-remote-desktop-debuginfo` | Red Hat:rhel_eus_long_life:8.4::appstream | All versions | 0:0.1.8-4.el8_4 |
| `gnome-remote-desktop-debugsource` | Red Hat:rhel_eus_long_life:8.4::appstream | All versions | 0:0.1.8-4.el8_4 |
| `gnome-remote-desktop` | Red Hat:rhel_tus:8.6::appstream | All versions | 0:0.1.8-4.el8_6 |

## How do I fix CVE-2025-5024?

Apply the vendor's patch.

## Is CVE-2025-5024 being exploited?

There is no known exploitation of CVE-2025-5024 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-5024 and fix it if it is affected.

What it is: CVE-2025-5024 is a high-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 22 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2025-5024 in the wild and no public exploit code.

Affected product: Red Hat Enterprise Linux 10. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-5024/ (Markdown: https://insights.sbomify.com/CVE-2025-5024/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-5024
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-5024
- OSV: https://osv.dev/vulnerability/CVE-2025-5024

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-5024/
Summaries are generated and may contain mistakes; the official description above is the record.
