Logo
vulnerabilityCVE-2026-53910
Name
CVE-2026-53910
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
diffutils
Patched

Vulnerability Ratings#


2.1
CVSSv4
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
3.10
Not Affected
buildroot
master
3.12
Not Affected
openwrt
master
3.10-r2
Not Affected
openwrt
openwrt-25.12
3.10-r2
Not Affected
yocto
kirkstone
3.10
Not Affected
yocto
scarthgap
3.10
Not Affected

Resolved with patches#


diffutils (yocto:master)

#
Title
Author
Resolve
1
diff3: check for integer overflows when reading line numbers
Collin Funk <collin.funk1@gmail.com>
CVE-2026-53910
2
diff3: prevent overflow in line offsets
Paul Eggert <eggert@cs.ucla.edu>
CVE-2026-53910