CVE-2018-10888

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-10888
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-10888.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2018-10888
Downstream
Related
Published
2018-07-10T14:29:00Z
Modified
2025-10-14T16:19:45.330874Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

A flaw was found in libgit2 before version 0.27.3. A missing check in gitdeltaapply function in delta.c file, may lead to an out-of-bound read while reading a binary delta file. An attacker may use this flaw to cause a Denial of Service.

References

Affected packages

Git / github.com/libgit2/libgit2

Affected ranges

Type
GIT
Repo
https://github.com/libgit2/libgit2
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed

Affected versions

v0.*

v0.1.0
v0.10.0
v0.11.0
v0.12.0
v0.13.0
v0.14.0
v0.15.0
v0.16.0
v0.17.0
v0.18.0
v0.19.0
v0.2.0
v0.20.0
v0.21.0
v0.21.0-rc1
v0.21.0-rc2
v0.22.0
v0.22.0-rc1
v0.22.0-rc2
v0.23.0
v0.23.0-rc1
v0.23.0-rc2
v0.24.0
v0.24.0-rc1
v0.24.4
v0.25.0
v0.25.0-rc1
v0.25.0-rc2
v0.25.1
v0.26.0
v0.26.0-rc1
v0.26.0-rc2
v0.27.0
v0.27.0-rc1
v0.27.0-rc2
v0.27.0-rc3
v0.27.1
v0.27.2
v0.3.0
v0.8.0

Database specific

{
    "vanir_signatures": [
        {
            "signature_version": "v1",
            "source": "https://github.com/libgit2/libgit2/commit/9844d38bed10e9ff17174434b3421b227ae710f3",
            "signature_type": "Function",
            "target": {
                "function": "git_delta_apply",
                "file": "src/delta.c"
            },
            "deprecated": false,
            "digest": {
                "length": 1653.0,
                "function_hash": "328043144487899150730101617036537699878"
            },
            "id": "CVE-2018-10888-a7a65835"
        },
        {
            "signature_version": "v1",
            "source": "https://github.com/libgit2/libgit2/commit/9844d38bed10e9ff17174434b3421b227ae710f3",
            "signature_type": "Line",
            "target": {
                "file": "src/delta.c"
            },
            "deprecated": false,
            "digest": {
                "line_hashes": [
                    "8219917613978475874616252252903839753",
                    "157188723891115284879704770483038487554",
                    "159604477385763283317304130011059385784",
                    "206338886654848625335911067195291416915",
                    "191971042947744980791634820005590670727",
                    "149459393739412816323913349285558660908",
                    "202190232388223568525406027698288255921",
                    "248693588680834188084334061751426487955",
                    "44641286980390635702979826641543948021",
                    "282553991696690259056494778295165650355",
                    "167706338245615166082035964895252361564"
                ],
                "threshold": 0.9
            },
            "id": "CVE-2018-10888-a9b7c45d"
        }
    ]
}