{"id":"DEBIAN-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":"2025-11-19T01:12:37.417676Z","published":"2018-08-18T02:29:01.713Z","upstream":["CVE-2018-15501"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2018-15501"}],"affected":[{"package":{"name":"libgit2","ecosystem":"Debian:11","purl":"pkg:deb/debian/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.4+dfsg.1-0.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-15501.json"}},{"package":{"name":"libgit2","ecosystem":"Debian:12","purl":"pkg:deb/debian/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.4+dfsg.1-0.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-15501.json"}},{"package":{"name":"libgit2","ecosystem":"Debian:13","purl":"pkg:deb/debian/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.4+dfsg.1-0.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-15501.json"}},{"package":{"name":"libgit2","ecosystem":"Debian:14","purl":"pkg:deb/debian/libgit2?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.27.4+dfsg.1-0.1"}]}],"ecosystem_specific":{"urgency":"low"},"database_specific":{"source":"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-15501.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}