
CVE catalog
CVE-2018-8098
libgit2 vulnerabilities
- Severity
- Medium · CVSS 5.5
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.43% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgit2 | sid | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | forky | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | trixie | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | trixie-security | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | bookworm | 1.5.1+ds-1+deb12u1 | fixed |
| Debian | libgit2 | bookworm-security | 1.5.1+ds-1+deb12u2 | fixed |
| Ubuntu | libgit2 | noble | 1.7.2+ds-1ubuntu3.1 | fixed |
| Ubuntu | libgit2-1.7 | noble | 1.7.2+ds-1ubuntu3.1 | fixed |
| Ubuntu | libgit2-dev | noble | 1.7.2+ds-1ubuntu3.1 | fixed |
| Ubuntu | libgit2-fixtures | noble | 1.7.2+ds-1ubuntu3.1 | fixed |
| Ubuntu | libgit2 | pro | 0.25.1+really0.24.6-1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1build1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm1 | vulnerable |
| Ubuntu | libgit2 | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgit2 | source | sid | 0.27.0+dfsg.1-0.6 | low | Not reported | [892961] |
| Debian | libgit2 | source | forky | 0.27.0+dfsg.1-0.6 | low | Not reported | [892961] |
| Debian | libgit2 | source | trixie | 0.27.0+dfsg.1-0.6 | low | Not reported | [892961] |
| Debian | libgit2 | source | bookworm | 0.27.0+dfsg.1-0.6 | low | Not reported | [892961] |
| Ubuntu | libgit2 | deb | noble | 1.7.2+ds-1ubuntu3.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2-1.7 | deb | noble | 1.7.2+ds-1ubuntu3.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2-dev | deb | noble | 1.7.2+ds-1ubuntu3.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2-fixtures | deb | noble | 1.7.2+ds-1ubuntu3.1 | Not reported | Not reported | Not reported |
| Ubuntu | libgit2 | deb | pro | 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 | Not reported | UBUNTU-CVE-2018-8098 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libgit2-1.5]Unknown
Source package: [libgit2]
Details (4)
1.5.1+ds-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
- [libgit2-1.8]Unknown
Source package: [libgit2]
Details (2)
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
- [libgit2-dev]Unknown
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
- [libgit2-fixtures]Unknown
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· all · bookwormFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookwormFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· all · bookworm-backportsFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· all · bookworm-backportsFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookworm-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookworm-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · bookworm; usn · libgit2 · debian · 12
[Debian 13 (Trixie)]
- [libgit2-1.9]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
- [libgit2-dev]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
- [libgit2-fixtures]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· all · trixieFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2· all · trixieFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
0.27.0+dfsg.1-0.6usn · libgit2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2024_10943-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-8098]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-8098]
- [https://security-tracker.debian.org/tracker/CVE-2018-8098]
- [https://ubuntu.com/security/notices/USN-8628-1]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]