CVE-2026-53910

Publication date 22 July 2026

Last updated 31 August 2026


Ubuntu priority

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.

Status

Package Ubuntu Release Status
diffutils 26.04 LTS resolute
Fixed 1:3.12-1ubuntu0.1
24.04 LTS noble
Fixed 1:3.10-1ubuntu0.1
22.04 LTS jammy
Fixed 1:3.8-0ubuntu2.1
20.04 LTS focal
Fixed 1:3.7-3ubuntu0.1~esm1
18.04 LTS bionic
Fixed 1:3.6-1ubuntu0.1~esm1
16.04 LTS xenial
Fixed 1:3.3-3ubuntu0.1~esm1
14.04 LTS trusty
Fixed 1:3.3-1ubuntu0.1~esm1

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
diffutils

Severity score breakdown

CVSS version: CVSS v4.0

Base score 2.1 · Low

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

Related Ubuntu Security Notices (USN)

    • USN-8692-1
    • GNU diffutils vulnerability
    • 31 August 2026

Other references


Access our resources on patching vulnerabilities