Security mailing lists by PureSourceCode

CVE-2018-15501

HIGH 7.5CVSS 3.1

In ng_pkt in transports/smart_pkt.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.

Published
18 Aug 2018
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-125
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD libgit2 libgit2
cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
< 0.26.6 0.26.6
NVD libgit2 libgit2
cpe:2.3:a:libgit2:libgit2:*:*:*:*:*:*:*:*
>= 0.27.0, < 0.27.4 0.27.4

References

History

  • 25 Nov 2026 20:21 UTC · NVD: first stored (published 18 Aug 2018)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.