cve.bz

CVE-2018-8099 Double Free

6.5 mediumEPSS 1.4%Fix available

Medium (6.5). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
1.4% (unchanged from 1.4% a week ago; 1.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 73rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-415 Double Free
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-8099 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-8099?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-8099?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-8099 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
libgit2:libgit2before 0.26.2
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9libgit20.25.1+really0.24.6-1+deb9u1DLA-2936-1
Debian12, 13, 14libgit20.27.0+dfsg.1-0.6DEBIAN-CVE-2018-8099
UbuntuPro:14.04:LTSlibgit20.19.0-2ubuntu0.4+esm2UBUNTU-CVE-2018-8099
UbuntuPro:16.04:LTSlibgit20.24.1-2ubuntu0.2+esm3UBUNTU-CVE-2018-8099
UbuntuPro:18.04:LTSlibgit20.26.0+dfsg.1-1.1ubuntu0.2+esm2UBUNTU-CVE-2018-8099
SUSELinux Enterprise Software Development Kit 12 SP3, Manager Server 3.1, Manager Server 3.2libgit20.24.1-7.6.1SUSE-SU-2018:3440-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libgit2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-8099.

References

Check your stackJSON