Skip to main content
EPSS 0.4%top 63%

CVE-2025-4056: Improper Control of Generation of Code ('Code Injection')

0
High
VulnerabilityCVE-2025-4056cvecve-2025-4056
Published: 07/28/2025 (07/28/2025, 12:40:29 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

GitHub Actionsmore threats →ai
gnome/glib
pkg:github/gnome/glib
Affected versions
=0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 21:56:26 UTC

Technical Analysis

This vulnerability in GLib involves improper control of code generation, specifically leading to denial of service on Windows platforms when spawning programs with long command lines. The issue is classified as a code injection flaw but the impact is limited to availability (denial of service). The CVSS vector indicates network attack vector, low attack complexity, no privileges required, no user interaction, and no impact on confidentiality or integrity, only availability. The Red Hat advisory is published but does not provide explicit patch or mitigation details in the provided content.

Potential Impact

The vulnerability can cause denial of service on Windows systems using GLib when spawning processes with long command lines. There is no impact on confidentiality or integrity. No known exploits have been reported in the wild, indicating limited current exploitation.

Mitigation Recommendations

Patch status is not yet confirmed — check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-4056 for current remediation guidance. Until official fixes are confirmed, avoid spawning programs with excessively long command lines on affected Windows platforms using GLib.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
redhat
Date Reserved
2025-04-29T02:04:01.099Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2025-4056","vendor":"Red Hat"}]

Threat ID: 688774f0ad5a09ad0083c0fb

Added to database: 07/28/2025, 13:02:40 UTC

Last enriched: 07/02/2026, 21:56:26 UTC

Last updated: 09/10/2026, 19:36:50 UTC

Views: 256

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses