Skip to content
OpenAdvisories
Unscored CVE-2018-8099 EUVD-2018-19775GHSA-mhmm-r9x5-v638

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…

Published Mar 14, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libgit2 0.27.0+dfsg.1-0.6 —
Debian 13 libgit2 0.27.0+dfsg.1-0.6 —
Debian 12 libgit2 0.27.0+dfsg.1-0.6 —
Debian 9 libgit2 0.25.1+really0.24.6-1+deb9u1 DLA-2936-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS libgit2 0.26.0+dfsg.1-1.1ubuntu0.2+esm2 —
Ubuntu Pro 16.04 LTS libgit2 0.24.1-2ubuntu0.2+esm3 —
Ubuntu Pro 14.04 LTS libgit2 0.19.0-2ubuntu0.4+esm2 —
ReleasePackageFixed inAdvisory
SLES 12 SP3 libgit2 0.24.1-7.6.1 SUSE-SU-2018:3440-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Manager Server 3.2 libgit2 0.24.1-7.6.1 SUSE-SU-2018:3440-1
SUSE Manager Server 3.1 libgit2 0.24.1-7.6.1 SUSE-SU-2018:3440-1

Advisories 2

References