Skip to content
OpenAdvisories
Unscored CVE-2018-8098 EUVD-2018-19774GHSA-m334-hpp6-wjh3

Integer overflow in the index.c:read_entry() function while decompressing a compressed prefix length in libgit2 before v0.26.2 allows an at…

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

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.

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 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libgit2 1.1.1-1.2 openSUSE-SU-2024:10943-1

Advisories 2

References