CVE-2026-53910
CVE-2026-53910 · Heap-based Buffer Overflow in GNU diffutils
CVSS 2.1 · Low · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- diffutilsNo fix published
- diffutils Debian 12No fix published
- diffutils Debian 13No fix published
- diffutils Debian 14No fix published
- and 7 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="diffutils"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Fixes in distributions
- openSUSE-SU-2026:22438-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:24929-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:22452-1 · openSUSE Leap 16.1 ·
- openSUSE-SU-2026:12581-1 · openSUSE Tumbleweed ·
- USN-8692-1 · Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 26.04 LTS, Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
- RHSA-2026:45327 · Red Hat hummingbird 1 ·
Stack: system
Affected products and versions
diffutils
- Versions
- ≥ 0, ≤ 3.12: Affected (custom)
No fix published
diffutils Debian 12
- Versions
- 1:3.10-1
- 1:3.10-2
- 1:3.10-3
- 1:3.10-4
- 1:3.12-1
- 1:3.8-4
All versions (7)
- 1:3.8-4+hurd.1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
diffutils Debian 13
- Versions
- 1:3.10-4
- 1:3.12-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
diffutils Debian 14
- Versions
- 1:3.10-4
- 1:3.12-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
diffutils Ubuntu Pro 14.04 LTS
- Versions
- 1:3.2-8
- 1:3.3-1
- Affected ranges
- ECOSYSTEM: < 1:3.3-1ubuntu0.1~esm1
Update to 1:3.3-1ubuntu0.1~esm1
diffutils Ubuntu Pro 16.04 LTS
- Versions
- 1:3.3-1
- 1:3.3-2
- 1:3.3-3
- Affected ranges
- ECOSYSTEM: < 1:3.3-3ubuntu0.1~esm1
Update to 1:3.3-3ubuntu0.1~esm1
diffutils Ubuntu Pro 18.04 LTS
- Versions
- 1:3.6-1
- Affected ranges
- ECOSYSTEM: < 1:3.6-1ubuntu0.1~esm1
Update to 1:3.6-1ubuntu0.1~esm1
diffutils Ubuntu Pro 20.04 LTS
- Versions
- 1:3.7-3
- Affected ranges
- ECOSYSTEM: < 1:3.7-3ubuntu0.1~esm1
Update to 1:3.7-3ubuntu0.1~esm1
diffutils Ubuntu 22.04 LTS
- Versions
- 1:3.8-0ubuntu1
- 1:3.8-0ubuntu2
- Affected ranges
- ECOSYSTEM: < 1:3.8-0ubuntu2.1
Update to 1:3.8-0ubuntu2.1
diffutils Ubuntu 24.04 LTS
- Versions
- 1:3.8-4
- 1:3.10-1
- 1:3.10-1build1
- Affected ranges
- ECOSYSTEM: < 1:3.10-1ubuntu0.1
Update to 1:3.10-1ubuntu0.1
diffutils Ubuntu 26.04 LTS
- Versions
- 1:3.10-4
- 1:3.12-1
- Affected ranges
- ECOSYSTEM: < 1:3.12-1ubuntu0.1
Update to 1:3.12-1ubuntu0.1
Original sources
- https://cert.pl/en/posts/2026/07/CVE-2026-53910
- https://git.savannah.gnu.org/cgit/diffutils.git/
- https://cgit.git.savannah.gnu.org/cgit/diffutils.git/commit/?id=73ed7ce85cc78effb94daf028c9af6b4e5252e50
- https://cgit.git.savannah.gnu.org/cgit/diffutils.git/commit/?id=9ff04d5b84743e331e80b589335a52c5480d1815
- https://nvd.nist.gov/vuln/detail/CVE-2026-53910