MediumFix available
libgit2 — security advisory
Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.
- Products
- libgit2
- Affected versions
- Not specified
- Fixed versions
- 0.27.0+dfsg.1-0.6
- CVEs
- CVE-2018-8098
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:48 UTC · Revision 1
Source evidence
Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.
osv:DEBIAN-CVE-2018-8098
libgit2
Fixed versions: 0.27.0+dfsg.1-0.6
libgit2
Fixed versions: 0.27.0+dfsg.1-0.6
libgit2
Fixed versions: 0.27.0+dfsg.1-0.6
Complete source record
{
"id": "326c49551f0b49cba8fac87a281da30f488c661899d12055edb6e96448b1e22d",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-8098",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-8098",
"summary": "Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an attacker to cause a denial of service (out-of-bounds read) via a crafted repository index file.",
"evidence": "osv:DEBIAN-CVE-2018-8098",
"products": [
{
"name": {
"value": "libgit2",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.27.0+dfsg.1-0.6",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libgit2",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.27.0+dfsg.1-0.6",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "libgit2",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "0.27.0+dfsg.1-0.6",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2018-8098",
"aliases": [
"DEBIAN-CVE-2018-8098"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.27.0+dfsg.1-0.6"
}
]
}
],
"package": {
"name": "libgit2",
"purl": "pkg:deb/debian/libgit2?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-8098.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.27.0+dfsg.1-0.6"
}
]
}
],
"package": {
"name": "libgit2",
"purl": "pkg:deb/debian/libgit2?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-8098.json"
},
"ecosystem_specific": {
"urgency": "low"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "0.27.0+dfsg.1-0.6"
}
]
}
],
"package": {
"name": "libgit2",
"purl": "pkg:deb/debian/libgit2?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-8098.json"
},
"ecosystem_specific": {
"urgency": "low"
}
}
],
"modified": "2026-10-23T18:03:48.360721105Z",
"provider": "osv",
"upstream": [
"CVE-2018-8098"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-8098"
]
},
"related_cves": [
{
"value": "CVE-2018-8098",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422299,
"published_at": "2018-03-14T00:29:00.593+00:00"
}