CVE catalog

CVE-2026-53910

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 resul

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.33% · Oct 27, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiandiffutilssid1:3.12-1vulnerable
Debiandiffutilsforky1:3.12-1vulnerable
Debiandiffutilstrixie1:3.10-4vulnerable
Debiandiffutilsbookworm1:3.8-4vulnerable
Ubuntudiffutilsnoble1:3.10-1ubuntu0.1fixed
Ubuntudiffutils-docnoble1:3.10-1ubuntu0.1fixed
Ubuntudiffutilspro1:3.7-3vulnerable
Ubuntudiffutilspro1:3.7-3ubuntu0.1~esm1fixed
Ubuntudiffutils22.041:3.8-0ubuntu1vulnerable
Ubuntudiffutils22.041:3.8-0ubuntu2vulnerable
Ubuntudiffutils22.041:3.8-0ubuntu2.1fixed
Ubuntudiffutils24.041:3.8-4vulnerable
Ubuntudiffutils24.041:3.10-1vulnerable
Ubuntudiffutils24.041:3.10-1build1vulnerable
Ubuntudiffutils24.041:3.10-1ubuntu0.1fixed
Ubuntudiffutils26.041:3.10-4vulnerable
Ubuntudiffutils26.041:3.12-1vulnerable
Ubuntudiffutils26.041:3.12-1ubuntu0.1fixed
Ubuntudiffutilspro1:3.7-3vulnerable
Ubuntudiffutilspro1:3.7-3ubuntu0.1~esm1fixed
Ubuntudiffutils22.041:3.8-0ubuntu1vulnerable
Ubuntudiffutils22.041:3.8-0ubuntu2vulnerable
Ubuntudiffutils22.041:3.8-0ubuntu2.1fixed
Ubuntudiffutils24.041:3.8-4vulnerable
Ubuntudiffutils24.041:3.10-1vulnerable
Ubuntudiffutils24.041:3.10-1build1vulnerable
Ubuntudiffutils24.041:3.10-1ubuntu0.1fixed
Ubuntudiffutils26.041:3.10-4vulnerable
Ubuntudiffutils26.041:3.12-1vulnerable
Ubuntudiffutils26.041:3.12-1ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiandiffutilssourcesid(unfixed)unimportantNot reported[1142675]
Debiandiffutilssourceforky(unfixed)unimportantNot reported[1142675]
Debiandiffutilssourcetrixie(unfixed)unimportantNot reported[1142675]
Debiandiffutilssourcebookworm(unfixed)unimportantNot reported[1142675]
Ubuntudiffutilsdebnoble1:3.10-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntudiffutils-docdebnoble1:3.10-1ubuntu0.1Not reportedNot reportedNot reported
Ubuntudiffutilsdebpro1:3.7-3ubuntu0.1~esm1Not reportedUSN-8692-1Not reported
Ubuntudiffutilsdeb22.041:3.8-0ubuntu2.1Not reportedUSN-8692-1Not reported
Ubuntudiffutilsdeb24.041:3.10-1ubuntu0.1Not reportedUSN-8692-1Not reported
Ubuntudiffutilsdeb26.041:3.12-1ubuntu0.1Not reportedUSN-8692-1Not reported
Ubuntudiffutilsdebpro1:3.7-3ubuntu0.1~esm1Not reportedUBUNTU-CVE-2026-53910Not reported
Ubuntudiffutilsdeb22.041:3.8-0ubuntu2.1Not reportedUBUNTU-CVE-2026-53910Not reported
Ubuntudiffutilsdeb24.041:3.10-1ubuntu0.1Not reportedUBUNTU-CVE-2026-53910Not reported
Ubuntudiffutilsdeb26.041:3.12-1ubuntu0.1Not reportedUBUNTU-CVE-2026-53910Not reported

[Debian bug #1142675]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [diffutils]Affected
    Details (2)
    • 1:3.8-4 · amd64 · bookworm

      Affected

      nvd · diffutils · debian · bookworm; nvd · diffutils · debian · 12

    • 1:3.8-4 · arm64 · bookworm

      Affected

      nvd · diffutils · debian · bookworm; nvd · diffutils · debian · 12

  • [diffutils-doc]Affected

    Source package: [diffutils]

    Details (2)
    • 1:3.8-4 · all · bookworm

      Affected

      nvd · diffutils · debian · bookworm; nvd · diffutils · debian · 12

    • 1:3.8-4 · all · bookworm

      Affected

      nvd · diffutils · debian · bookworm; nvd · diffutils · debian · 12

[Debian 13 (Trixie)]

  • [diffutils]Affected
    Details (2)
    • 1:3.10-4 · amd64 · trixie

      Affected

      nvd · diffutils · debian · 13

    • 1:3.10-4 · arm64 · trixie

      Affected

      nvd · diffutils · debian · 13

  • [diffutils-doc]Affected

    Source package: [diffutils]

    Details (2)
    • 1:3.10-4 · all · trixie

      Affected

      nvd · diffutils · debian · 13

    • 1:3.10-4 · all · trixie

      Affected

      nvd · diffutils · debian · 13

Observed:

References