Advisory

UBUNTU-CVE-2026-53910

Also known as: CVE-2026-53910

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-07-22 14:17 UTC
Modified
2026-08-31 22:15 UTC

Affected packages and fixes

diffutils

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1:3.8-0ubuntu2.1 (ecosystem)

Fixed versions

1:3.8-0ubuntu2.1

Fix

  • Fixed version 1:3.8-0ubuntu2.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

diffutils

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:3.10-1ubuntu0.1 (ecosystem)

Fixed versions

1:3.10-1ubuntu0.1

Fix

  • Fixed version 1:3.10-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

diffutils

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1:3.12-1ubuntu0.1 (ecosystem)

Fixed versions

1:3.12-1ubuntu0.1

Fix

  • Fixed version 1:3.12-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences