{"id":"ALPINE-CVE-2018-15501","details":"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.","modified":"2026-07-06T00:30:32.650465247Z","published":"2018-08-18T02:29:01.713Z","upstream":["CVE-2018-15501"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2018-15501"}],"affected":[{"package":{"name":"libgit2","ecosystem":"Alpine:v3.10","purl":"pkg:apk/alpine/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.27.0"},{"fixed":"0.27.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-15501.json"}},{"package":{"name":"libgit2","ecosystem":"Alpine:v3.11","purl":"pkg:apk/alpine/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.27.0"},{"fixed":"0.27.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-15501.json"}},{"package":{"name":"libgit2","ecosystem":"Alpine:v3.9","purl":"pkg:apk/alpine/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.27.0"},{"fixed":"0.27.4-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/alpine/ALPINE-CVE-2018-15501.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}