CVE-2025-4056 Glib: glib crash after long command line
An attacker can cause a denial of service in applications using GLib on Windows by triggering a crash with long command lines.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-4056?
CVE-2025-4056 is a high-severity denial of service vulnerability in Red Hat Enterprise Linux 10, published on 28 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A flaw was found in GLib. A denial of service on Windows platforms may occur if an application attempts to spawn a program using long command lines.
Weakness: CWE-94
Which versions are affected by CVE-2025-4056?
It affects 1 product.
Products include Gnome Glib.
How do I fix CVE-2025-4056?
Apply the vendor's patch.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2025-4056 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4056 exists.
Other vulnerabilities in Red Hat Enterprise Linux 10
Sources
Also known as GHSA-6gjq-8hm4-wjmq, JLSEC-2025-168, MINI-mcvj-9m67-gw3r, OESA-2025-1551.