CVE-2018-15501
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
02 Description
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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 4.37% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 90.8% of scored records. A rank, not a probability.
- NVD base score
- 7.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Low. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2018-08-18 02:00Z8 YR AGO
- Last updated
- 2024-08-05 09:54Z2 YR AGO
- Reserved
- 2018-08-17
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-125Out-of-bounds ReadBase
- Data version
- 5.1
- Document digest
- acea53416b10531dc244485dea22139dd0af857e9ba8b2c91033ac21d538c3d5
05 Affected products
06 References
- bugs.chromium.orghttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406
- github.comhttps://github.com/libgit2/libgit2/releases/tag/v0.27.4
- www.pro-linux.dehttps://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html
- bugzilla.suse.comhttps://bugzilla.suse.com/show_bug.cgi?id=1104641
- lists.debian.org[debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security updatehttps://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
- github.comhttps://github.com/libgit2/libgit2/releases/tag/v0.26.6
- github.comhttps://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649
- lists.debian.org[debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security updatehttps://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
07 Fixed in
Debian 12
- libgit2 Fixed in 0.27.4+dfsg.1-0.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- libgit2 Fixed in 0.27.4+dfsg.1-0.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- libgit2 Fixed in 0.27.4+dfsg.1-0.1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 14.04 LTS
- libgit2 Fixed in 0.19.0-2ubuntu0.4+esm2Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 16.04 LTS
- libgit2 Fixed in 0.24.1-2ubuntu0.2+esm3Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu Pro 18.04 LTS
- libgit2 Fixed in 0.26.0+dfsg.1-1.1ubuntu0.2+esm2Available with Ubuntu Pro: https://ubuntu.com/pro
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.