Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.1%top 95%

CVE-2026-56392: CWE-122 Heap-based Buffer Overflow in GNU coreutils

0
Low
VulnerabilityCVE-2026-56392cvecve-2026-56392cwe-122
Published: 07/24/2026 (07/24/2026, 07:44:54 UTC)
Source: CVE Database V5
Vendor/Project: GNU
Product: coreutils

Description

GNU coreutils unexpand is vulnerable to a heap-based buffer overflow due to an integer overflow during buffer allocation when processing large tab stop (-t) values. The multiplication used to calculate the allocation size can wrap around, resulting in an undersized buffer. When processing crafted input, subsequent writes exceed the allocated memory, leading to an out‑of‑bounds heap write. When running GNU coreutils unexpand with attacker-provided large tab stop (-t) arguments, this behavior leads to a crash and potentially achieve a heap write primitive depending on memory layout. This issue has been fixed in the commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d

CVSS v4.0

Score 1.8low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/24/2026, 08:37:17 UTC

Technical Analysis

CVE-2026-56392 is a heap-based buffer overflow vulnerability in GNU coreutils unexpand. The flaw arises from an integer overflow during the calculation of buffer allocation size for large tab stop (-t) values. This overflow causes the allocated buffer to be smaller than intended, allowing subsequent writes to exceed the allocated memory bounds. When unexpand processes attacker-controlled large tab stop arguments, it can lead to a crash and potentially enable exploitation via heap memory corruption. The vulnerability has been fixed in commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d.

Potential Impact

The vulnerability can cause unexpand to crash due to out-of-bounds heap writes. Depending on the memory layout, it may allow an attacker to achieve a heap write primitive, which could be leveraged for further exploitation. The CVSS 4.0 base score is low (1.8), reflecting limited attack vector and impact.

Mitigation Recommendations

A fix for this vulnerability has been committed by the GNU project (commit b60a159fdc5bfcf9988d3a4cb6f53abe8ad5d35d). Users should update to the patched version of GNU coreutils once it is released. Patch status is not yet confirmed in the advisory; check the vendor's official releases for the fixed version. Until then, avoid processing untrusted input with large tab stop (-t) values in unexpand.

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

Technical Details

Data Version
5.2
Assigner Short Name
CERT-PL
Date Reserved
2026-06-21T11:40:32.790Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a6320db9c2644c7f8989ba9

Added to database: 07/24/2026, 08:22:51 UTC

Last enriched: 07/24/2026, 08:37:17 UTC

Last updated: 07/24/2026, 23:58:23 UTC

Views: 12

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