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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.1, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-07-22 · Modified: 2026-07-27
- Aliases: MGASA-2026-0434, RHSA-2026:45327, UBUNTU-CVE-2026-53910, USN-8692-1, DEBIAN-CVE-2026-53910, openSUSE-SU-2026:12581-1, openSUSE-SU-2026:22452-1, openSUSE-SU-2026:22438-1, SUSE-SU-2026:24929-1, SUSE-SU-2026:24964-1
- Record: https://cvemate.com/vulnerability/CVE-2026-53910 · JSON: https://cvemate.com/vulnerability/CVE-2026-53910/json

## Description

```text
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.
```

## Signals

- CVSS: 2.1 low (v4.0, CVE.org) 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
- EPSS: 0.291%, percentile 23.327%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian diffutils (Debian): All versions (No fix recorded)
- ubuntu diffutils (Ubuntu): \< 1:3.3-1ubuntu0.1~esm1 \| \< 1:3.3-3ubuntu0.1~esm1 \| \< 1:3.6-1ubuntu0.1~esm1 \| \< 1:3.7-3ubuntu0.1~esm1 \| \< 1:3.8-0ubuntu2.1 \| \< 1:3.10-1ubuntu0.1 \| \< 1:3.12-1ubuntu0.1
- gnu diffutils: ≤ 3.12
- mageia diffutils (Mageia): \< 3.12-1.1.mga10
- mageia diffutils (Mageia): \< 3.10-1.1.mga9
- opensuse diffutils&distro=openSUSE Leap 16.0 (openSUSE): \< 3.12-160000.3.1
- opensuse diffutils&distro=openSUSE Leap 16.1 (openSUSE): \< 3.12-160100.3.1
- opensuse diffutils&distro=openSUSE Tumbleweed (openSUSE): \< 3.12-2.1
- redhat diffutils (Red Hat): \< 0:3.12-6.1.hum1
- suse diffutils&distro=SUSE Linux Enterprise Server 16.0 (SUSE Linux Enterprise): \< 3.12-160000.3.1
- suse diffutils&distro=SUSE Linux Enterprise Server for SAP applications 16.0 (SUSE Linux Enterprise): \< 3.12-160000.3.1
- suse diffutils&distro=SUSE Linux Micro 6.2 (SUSE Linux Enterprise): \< 3.12-160000.3.1

## References (first 20 of 21)

- <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://advisories.mageia.org/MGASA-2026-0434.html>
- <https://bugs.mageia.org/show_bug.cgi?id=36243>
- <https://ubuntu.com/security/notices/USN-8692-1>
- <https://access.redhat.com/errata/RHSA-2026:45327>
- <https://access.redhat.com/security/cve/CVE-2026-53910>
- <https://access.redhat.com/security/updates/classification/>
- <https://images.redhat.com/>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2026/rhsa-2026_45327.json>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2506145>
- <https://www.cve.org/CVERecord?id=CVE-2026-53910>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-53910>
- <https://ubuntu.com/security/CVE-2026-53910>
- <https://security-tracker.debian.org/tracker/CVE-2026-53910>
- <https://www.suse.com/security/cve/CVE-2026-53910>
- <https://bugzilla.suse.com/1273068>
- <https://www.suse.com/support/update/announcement/2026/suse-su-202624929-1/>

---

Data as of 2026-12-05T03:38:55.774Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
