CVE-2016-10128

Source
https://cve.org/CVERecord?id=CVE-2016-10128
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10128.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2016-10128
Downstream
ALPINE (1)
DEBIAN (1)
MGASA (1)
openSUSE (2)
SUSE (1)
UBUNTU (1)
Related
Published
2017-03-24T15:59:00Z
Modified
2026-07-08T12:43:20Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.

References

Affected packages

Git / github.com/libgit2/libgit2

Affected ranges

Type
GIT
Repo
https://github.com/libgit2/libgit2
Events
Database specific
Show details
{
    "cpe":  [
        "cpe:2.3:a:libgit2_project:libgit2:*:*:*:*:*:*:*:*",
        "cpe:2.3:a:libgit2_project:libgit2:0.25.0:*:*:*:*:*:*:*",
        "cpe:2.3:a:libgit2_project:libgit2:0.25.0:rc2:*:*:*:*:*:*",
        "cpe:2.3:a:libgit2_project:libgit2:0.25.0:rc1:*:*:*:*:*:*"
    ],
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "last_affected":  "0.24.5"
        },
        {
            "introduced":  "0.25.0"
        },
        {
            "last_affected":  "0.25.0"
        },
        {
            "introduced":  "0.25.0-rc2"
        },
        {
            "last_affected":  "0.25.0-rc2"
        },
        {
            "introduced":  "0.25.0-rc1"
        },
        {
            "last_affected":  "0.25.0-rc1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.25.0
0.25.0-rc1
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.2.0
v0.21.0
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.1
v0.24.2
v0.24.3
v0.24.5
v0.25.0
v0.25.0-rc1
v0.25.0-rc2
v0.3.0
v0.8.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-10128.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "225742831958726833763550111497851979731",
                "280091372490292428332306953501938664795",
                "12269204320483042030567169773497493396"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-10128-197c7836",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2",
        "target":  {
            "file":  "src/transports/smart_pkt.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "225742831958726833763550111497851979731",
                "280091372490292428332306953501938664795",
                "12269204320483042030567169773497493396"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2016-10128-19881d2f",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834",
        "target":  {
            "file":  "src/transports/smart_pkt.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "308969060740750375738498479917728819900",
            "length":  1497
        },
        "id":  "CVE-2016-10128-af71ba8c",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libgit2/libgit2/commit/66e3774d279672ee51c3b54545a79d20d1ada834",
        "target":  {
            "file":  "src/transports/smart_pkt.c",
            "function":  "git_pkt_parse_line"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "308969060740750375738498479917728819900",
            "length":  1497
        },
        "id":  "CVE-2016-10128-d78641b6",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/libgit2/libgit2/commit/4ac39c76c0153d1ee6889a0984c39e97731684b2",
        "target":  {
            "file":  "src/transports/smart_pkt.c",
            "function":  "git_pkt_parse_line"
        }
    }
]
vanir_signatures_modified
"2026-07-08T12:43:20Z"