CVEfocus › CVE database › CVE-2026-53910

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

CVSS 2.1 LowEPSS 0.3% (higher than 14% of CVEs)Published 2026-07-22Updated 2026-07-27Assigner: CERT-PL

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.

CWE-190

What to do

Fixed builds are available from Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
9Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04diffutilsFixed1:3.12-1ubuntu0.1UBUNTU-CVE-2026-53910
Ubuntu 24.04diffutilsFixed1:3.10-1ubuntu0.1UBUNTU-CVE-2026-53910
Ubuntu 22.04diffutilsFixed1:3.8-0ubuntu2.1UBUNTU-CVE-2026-53910
Ubuntu 20.04diffutilsFix pending1:3.7-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-53910
Ubuntu 18.04diffutilsFix pending1:3.6-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-53910
Ubuntu 16.04diffutilsFix pending1:3.3-3ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-53910
Ubuntu 14.04diffutilsFix pending1:3.3-1ubuntu0.1~esm1 (Ubuntu Pro)UBUNTU-CVE-2026-53910
Debian 14diffutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-53910
Debian 13diffutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-53910
Debian 12diffutilsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-53910
Red Hat Enterprise Linux 10diffutilsFix pending
Fix deferred
Red Hat Enterprise Linux 9diffutilsFix pending
Fix deferred
Red Hat Enterprise Linux 8diffutilsFix pending
Fix deferred
Red Hat Enterprise Linux 7diffutilsFix pending
Fix deferred
Red Hat Enterprise Linux 6diffutilsFix pending
Fix deferred

What the vendor says

As published in the CVE record by CERT-PL, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.