CVE-2016-10128 Memory corruption in n/a

Critical 9.8 Published Updated

Remote attackers can trigger a buffer overflow in libgit2 via crafted packets, potentially leading to code execution or denial of service.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2016-10128?

CVE-2016-10128 is a critical memory corruption vulnerability in n/a, published on 24 Mar 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2016-10128?

It affects 1 product.

Products include Libgit2 Project Libgit2.

How do I fix CVE-2016-10128?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2016-10128 being exploited?

There is no known exploitation of CVE-2016-10128 in the wild and no public exploit code.

Sources

Also known as ALPINE-CVE-2016-10128, DEBIAN-CVE-2016-10128, GHSA-23v5-3rr6-rp4h.

Is CVE-2016-10128 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free