🔐 CVE Alert

CVE-2026-53910

UNKNOWN 0.0

Heap-based Buffer Overflow in GNU diffutils

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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

CWE CWE-190
Vendor gnu
Product diffutils
Published Jul 22, 2026
Stay Ahead of the Next One

Get instant alerts for gnu diffutils

Be the first to know when new unknown vulnerabilities affecting gnu diffutils are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

GNU / diffutils
0 ≤ 3.12

References

NVD ↗ CVE.org ↗ EPSS Data ↗
cert.pl: https://cert.pl/en/posts/2026/07/CVE-2026-53910 git.savannah.gnu.org: https://git.savannah.gnu.org/cgit/diffutils.git/ cgit.git.savannah.gnu.org: https://cgit.git.savannah.gnu.org/cgit/diffutils.git/commit/?id=73ed7ce85cc78effb94daf028c9af6b4e5252e50 cgit.git.savannah.gnu.org: https://cgit.git.savannah.gnu.org/cgit/diffutils.git/commit/?id=9ff04d5b84743e331e80b589335a52c5480d1815

Credits

Michał Majchrowicz (AFINE Team) Marcin Wyczechowski (AFINE Team)