Vulnerability · Published Jul 22, 2026 · Assigned by CERT-PL

CVE-2026-53910Heap-based Buffer Overflow in GNU diffutils

Low 2.1

In plain English

A low-severity integer overflow in diffutils from GNU. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)2.1Low
Exploit odds (30 days)0.3%top 73.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

diff3 tool from GNU diffutils is vulnerable to a heap‑based buffer overflow due to multiple signed integer overflows in line‑mapping calculations. Incorrect arithmetic in mapping line ranges can result in corrupted values being used for memory allocation and loop bounds. When processing crafted diff output, these overflows may cause the application to allocate insufficient memory and subsequently perform out‑of‑bounds writes during internal processing.  An attacker who can control the output of the diff program used by diff3 (e.g. via --diff-program pointing to a malicious script) can trigger out-of-bounds writes, resulting in a crash and potentially remote code execution depending on the environment. This issue has been fixed in commit 9ff04d5b84743e331e80b589335a52c5480d1815  NOTE: The project maintainers claim that this is not a security issue. They state that the worst outcome this issue can cause is a crash of diff and that it cannot be used to escalate privileges.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12diffutilsno fix listedDEBIAN-CVE-2026-53910
Debian:13diffutilsno fix listedDEBIAN-CVE-2026-53910
Debian:14diffutilsno fix listedDEBIAN-CVE-2026-53910
Ubuntu:22.04:LTSdiffutils1:3.8-0ubuntu2.1UBUNTU-CVE-2026-53910
Ubuntu:22.04:LTSdiffutils1:3.8-0ubuntu2.1USN-8692-1
Ubuntu:24.04:LTSdiffutils1:3.10-1ubuntu0.1USN-8692-1
Ubuntu:24.04:LTSdiffutils1:3.10-1ubuntu0.1UBUNTU-CVE-2026-53910
Ubuntu:26.04:LTSdiffutils1:3.12-1ubuntu0.1USN-8692-1
Ubuntu:26.04:LTSdiffutils1:3.12-1ubuntu0.1UBUNTU-CVE-2026-53910

Affected products (as reported)

VendorProductVersions
GNU diffutils 0 – through 3.12

Weakness: CWE-190 · Vector: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:L/SC:L/SI:L/SA:L

References