CVE-2026-53910

Source
https://cve.org/CVERecord?id=CVE-2026-53910
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53910.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-53910
Downstream
BELL (1)
DEBIAN (1)
ECHO (1)
MGASA (1)
OESA (5)
RHSA (1)
UBUNTU (1)
Published
2026-07-22T13:42:50Z
Modified
2026-10-27T10:45:30Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
Heap-based Buffer Overflow in GNU diffutils
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.

Database specific
{
    "cna_assigner":  "CERT-PL",
    "cwe_ids":  [
        "CWE-190"
    ],
    "isDisputed":  true,
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53910.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "last_affected":  "3.12"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StandardRange"
                }
            ]
        }
    ]
}
References

Affected packages

Git / cgit.git.savannah.gnu.org/cgit/diffutils.git

Affected ranges

Type
GIT
Repo
https://cgit.git.savannah.gnu.org/cgit/diffutils.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
9ff04d5b84743e331e80b589335a52c5480d1815
Fixed
73ed7ce85cc78effb94daf028c9af6b4e5252e50
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "9ff04d5b84743e331e80b589335a52c5480d1815"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "9ff04d5b84743e331e80b589335a52c5480d1815"
                }
            ],
            "source":  "DESCRIPTION"
        },
        {
            "range":  [
                {
                    "fixed":  "73ed7ce85cc78effb94daf028c9af6b4e5252e50"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "9ff04d5b84743e331e80b589335a52c5480d1815"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53910.json"