CVE-2018-15501: High severity Debian Debian Linux vulnerability

Published Aug 18, 2018
·
Updated

In ngpkt in transports/smartpkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.

Affected Software

5 affected componentsFixes available
Debian Debian Linux=8.0
Debian Debian Linux=9.0
libgit2 libgit2<0.26.6
libgit2 libgit2>=0.27.0<0.27.4
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/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
  2. Upgrade

    Upgrade libgit2 to a version that resolves this vulnerability.

    Fixed in 0.26.6
  3. Upgrade

    Upgrade libgit2 to a version that resolves this vulnerability.

    Fixed in 0.27.4

Event History

Aug 18, 2018
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description
Data Sourced
via NVD·02:29 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 12, 2026
Data Sourced
via Debian·10:40 PM
DescriptionAffected Software
Aug 13, 2026
Data Sourced
via Ubuntu·10:40 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·10:41 PM
Description

Frequently Asked Questions

1

What is CVE-2018-15501?

CVE-2018-15501 is a vulnerability in libgit2 before version 0.26.6 and 0.27.x before 0.27.4 that allows a remote attacker to trigger an out-of-bounds read leading to denial of service (DoS).

2

How does CVE-2018-15501 impact Debian Debian Linux 8.0?

Debian Debian Linux 8.0 is affected by CVE-2018-15501. Users running this version should update to a patched version of libgit2.

3

How does CVE-2018-15501 impact Debian Debian Linux 9.0?

Debian Debian Linux 9.0 is affected by CVE-2018-15501. Users running this version should update to a patched version of libgit2.

4

How does CVE-2018-15501 impact Libgit2 before version 0.26.6?

Libgit2 before version 0.26.6 is affected by CVE-2018-15501. Users running this version should update to a newer version.

5

How does CVE-2018-15501 impact Libgit2 between version 0.27.0 and 0.27.4?

Libgit2 between version 0.27.0 and 0.27.4 are affected by CVE-2018-15501. Users running these versions should update to a patched version.

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