CVE-2018-8098
Publication date 14 March 2018
Last updated 26 August 2025
Ubuntu priority
Cvss 3 Severity Score
Description
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.
Status
| Package | Ubuntu Release | Status | 
|---|---|---|
| libgit2 | 25.10 questing | 
                                Not affected 
                                
                               | 
| 25.04 plucky | 
                                Not affected 
                                
                               | |
| 24.04 LTS noble | 
                                Not affected 
                                
                               | |
| 22.04 LTS jammy | 
                                Not affected 
                                
                               | |
| 20.04 LTS focal | 
                                Not affected 
                                
                               | |
| 18.04 LTS bionic | 
                                Vulnerable 
                                
                               | |
| 16.04 LTS xenial | 
                                Vulnerable 
                                
                               | |
| 14.04 LTS trusty | 
                                Vulnerable 
                                
                               | 
Notes
msalvatore
Downgrading to low: "As the index is never transferred via the network, exploitation requires an attacker to have access to the local repository."
Severity score breakdown
| Parameter | Value | 
|---|---|
| Base score |  | 
| Attack vector | Network | 
| Attack complexity | Low | 
| Privileges required | None | 
| User interaction | Required | 
| Scope | Unchanged | 
| Confidentiality | None | 
| Integrity impact | None | 
| Availability impact | High | 
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |