CVE-2016-10128: Buffer Overflow

Published Mar 24, 2017
·
Updated

Buffer overflow in the gitpktparseline function in transports/smartpkt.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.

Affected Software

6 affected componentsFixes available
Libgit2 Project Libgit2<=0.24.5
Libgit2 Project Libgit2=0.25.0
Libgit2 Project Libgit2=0.25.0-rc1
Libgit2 Project Libgit2=0.25.0-rc2
debian/cargo
0.47.0-30.66.0+ds1-1
debian/libgit2
1.1.0+dfsg.1-4+deb11u21.5.1+ds-1+deb12u11.9.0+ds-21.9.6+ds-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/cargo to a version that resolves this vulnerability.

    Fixed in 0.47.0-3Fixed in 0.66.0+ds1-1
  2. Upgrade

    Upgrade debian/libgit2 to a version that resolves this vulnerability.

    Fixed in 1.1.0+dfsg.1-4+deb11u2Fixed in 1.5.1+ds-1+deb12u1Fixed in 1.9.0+ds-2Fixed in 1.9.6+ds-1
  3. Upgrade

    Upgrade libgit2 to a version that resolves this vulnerability.

    Fixed in 0.24.6
  4. Upgrade

    Upgrade libgit2 to a version that resolves this vulnerability.

    Fixed in 0.25.1

Event History

Mar 24, 2017
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
via NVD·03:59 PM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 12, 2026
Data Sourced
via Debian·10:40 PM
DescriptionAffected Software
Data Sourced
via Launchpad·10:40 PM
Description
Aug 13, 2026
Data Sourced
via Ubuntu·10:40 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2016-10128?

CVE-2016-10128 is considered to have a medium severity due to the potential for remote attacks through crafted packets.

2

How do I fix CVE-2016-10128?

Fix CVE-2016-10128 by upgrading to libgit2 version 0.24.6 or 0.25.1 or later.

3

What type of vulnerability is CVE-2016-10128?

CVE-2016-10128 is a buffer overflow vulnerability found in the git_pkt_parse_line function of libgit2.

4

Which versions of libgit2 are affected by CVE-2016-10128?

CVE-2016-10128 affects libgit2 versions prior to 0.24.6 and version 0.25.0.

5

Can CVE-2016-10128 be exploited remotely?

Yes, CVE-2016-10128 can be exploited remotely via a crafted non-flush packet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203