CVEfocus › CVE database › CVE-2018-8099

CVE-2018-8099

CVSS 6.5 MediumEPSS 1.4% (higher than 73% of CVEs)Published 2018-03-14Updated 2024-08-05Assigner: mitre

Incorrect returning of an error code in the index.c:read_entry() function leads to a double free in libgit2 before v0.26.2, which allows an attacker to cause a denial of service via a crafted repository index file.

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
3Fix pending
5Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libgit2Not affected
vulnerable_code_not_present
Ubuntu 25.10libgit2Not affected
vulnerable_code_not_present
Ubuntu 24.04libgit2Not affected
vulnerable_code_not_present
Ubuntu 18.04libgit2Fix pending0.26.0+dfsg.1-1.1ubuntu0.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2018-8099
Ubuntu 16.04libgit2Fix pending0.24.1-2ubuntu0.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2018-8099
Ubuntu 14.04libgit2Fix pending0.19.0-2ubuntu0.4+esm2 (Ubuntu Pro)UBUNTU-CVE-2018-8099
Debian 14libgit2Fixed0.27.0+dfsg.1-0.6DEBIAN-CVE-2018-8099
Debian 13libgit2Fixed0.27.0+dfsg.1-0.6DEBIAN-CVE-2018-8099
Debian 12libgit2Fixed0.27.0+dfsg.1-0.6DEBIAN-CVE-2018-8099
Red Hat Enterprise Linux 8libgit2Not affected
Red Hat Enterprise Linux 8libgit2-develNot affected

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.