---
id: CVE-2025-4056
title: A flaw was found in GLib
summary: >-
  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.
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-94
vendor: gnome
product: glib
affected:
  - glib < 2.84.1
patched:
  - glib 2.84.1
published: '2025-07-28'
updated: '2026-06-25'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-4056'
references:
  - url: 'https://access.redhat.com/security/cve/CVE-2025-4056'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2362826'
    label: secalert@redhat.com
  - url: 'https://gitlab.gnome.org/GNOME/glib/-/issues/3668'
    label: secalert@redhat.com
tags:
  - nvd
epss: 0.00436
epssPercentile: 0.37369
ingestedAt: '2026-06-29T13:24:34.399Z'
---

## Overview

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.

## Affected

- `glib < 2.84.1`

## Remediation

Upgrade past the affected range:

- `glib 2.84.1`
