CVE Vulnerabilities

CVE-2016-8569

NULL Pointer Dereference

Published: Feb 03, 2017 | Modified: Apr 20, 2025
CVSS 3.x
5.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

The git_oid_nfmt function in commit.c in libgit2 before 0.24.3 allows remote attackers to cause a denial of service (NULL pointer dereference) via a cat-file command with a crafted object file.

Weakness

The product dereferences a pointer that it expects to be valid but is NULL.

Affected Software

NameVendorStart VersionEnd Version
Libgit2Libgit2_project*0.24.2 (including)
Libgit2Ubuntuartful*
Libgit2Ubuntuesm-apps/xenial*
Libgit2Ubuntuesm-infra-legacy/trusty*
Libgit2Ubuntutrusty*
Libgit2Ubuntutrusty/esm*
Libgit2Ubuntuupstream*
Libgit2Ubuntuxenial*
Libgit2Ubuntuyakkety*
Libgit2Ubuntuzesty*

Potential Mitigations

References