Search

Find a vulnerability

Search criteria ⓘ Use this form to refine search results.
Full-text search supports keyword queries with ranking and filtering.
You can combine vendor, product, and sources to narrow results.
Enable “Apply ordering” to sort by date instead of relevance.

    25 vulnerabilities found for libgit2 by debian

    DEBIAN-CVE-2018-15501

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    In ng_pkt in transports/smart_pkt.c in libgit2 before 0.26.6 and 0.27.x before 0.27.4, a remote attacker can send a crafted smart-protocol "ng" packet that lacks a '\0' byte to trigger an out-of-bounds read that leads to DoS.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedlow 0.27.4+dfsg.1-0.1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvedlow 0.27.4+dfsg.1-0.1 forky: 1.9.7+ds-1
    sidresolvedlow 0.27.4+dfsg.1-0.1 sid: 1.9.7+ds-1
    trixieresolvedlow 0.27.4+dfsg.1-0.1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2018-8098

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    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.

    Scope: local

    Debian bug: 892961

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedlow 0.27.0+dfsg.1-0.6 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvedlow 0.27.0+dfsg.1-0.6 forky: 1.9.7+ds-1
    sidresolvedlow 0.27.0+dfsg.1-0.6 sid: 1.9.7+ds-1
    trixieresolvedlow 0.27.0+dfsg.1-0.6 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2020-12279

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. checkout.c mishandles equivalent filenames that exist because of NTFS short names. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1353.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.28.4+dfsg.1-2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.28.4+dfsg.1-2 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.28.4+dfsg.1-2 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.28.4+dfsg.1-2 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2016-8569

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    cargo

    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.

    Scope: local

    Debian bug: 860989

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.17.0-1 bookworm: 0.66.0+ds1-1
    libgit2

    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.

    Scope: local

    Debian bug: 840227

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.24.2-2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.24.2-2 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.24.2-2 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.24.2-2 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2018-10888

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    A flaw was found in libgit2 before version 0.27.3. A missing check in git_delta_apply function in delta.c file, may lead to an out-of-bound read while reading a binary delta file. An attacker may use this flaw to cause a Denial of Service.

    Scope: local

    Debian bug: 903508

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedlow 0.27.4+dfsg.1-0.1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvedlow 0.27.4+dfsg.1-0.1 forky: 1.9.7+ds-1
    sidresolvedlow 0.27.4+dfsg.1-0.1 sid: 1.9.7+ds-1
    trixieresolvedlow 0.27.4+dfsg.1-0.1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2018-8099

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    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.

    Scope: local

    Debian bug: 892962

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedlow 0.27.0+dfsg.1-0.6 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvedlow 0.27.0+dfsg.1-0.6 forky: 1.9.7+ds-1
    sidresolvedlow 0.27.0+dfsg.1-0.6 sid: 1.9.7+ds-1
    trixieresolvedlow 0.27.0+dfsg.1-0.6 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2016-10128

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    cargo

    Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.

    Scope: local

    Debian bug: 860990

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.17.0-1 bookworm: 0.66.0+ds1-1
    libgit2

    Buffer overflow in the git_pkt_parse_line function in transports/smart_pkt.c in the Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to have unspecified impact via a crafted non-flush packet.

    Scope: local

    Debian bug: 851406

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.25.1+really0.24.6-1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.25.1+really0.24.6-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.25.1+really0.24.6-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.25.1+really0.24.6-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2016-10129

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    cargo

    The Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to cause a denial of service (NULL pointer dereference) via an empty packet line.

    Scope: local

    Debian bug: 860990

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.17.0-1 bookworm: 0.66.0+ds1-1
    libgit2

    The Git Smart Protocol support in libgit2 before 0.24.6 and 0.25.x before 0.25.1 allows remote attackers to cause a denial of service (NULL pointer dereference) via an empty packet line.

    Scope: local

    Debian bug: 851406

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.25.1+really0.24.6-1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.25.1+really0.24.6-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.25.1+really0.24.6-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.25.1+really0.24.6-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2026-53585

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, git_delta_apply in src/libgit2/delta.c trusts the attacker-controlled res_sz value parsed by hdr_sz from a delta object header and passes that amount to git__malloc before validating delta instructions. Malicious pack data supplied through git_clone, git_fetch, git_remote_fetch, git_indexer_append, or a local attacker-supplied repository can use a very small multi-level OFS_DELTA chain to retain extremely large allocations and exhaust memory. This issue is fixed in versions 1.8.6 and 1.9.5.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1+deb12u2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.9.6+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.9.6+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.9.0+ds-2+deb13u1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2016-10130

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    cargo

    The http_connect function in transports/http.c in libgit2 before 0.24.6 and 0.25.x before 0.25.1 might allow man-in-the-middle attackers to spoof servers by leveraging clobbering of the error variable.

    Scope: local

    Debian bug: 860990

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.17.0-1 bookworm: 0.66.0+ds1-1
    libgit2

    The http_connect function in transports/http.c in libgit2 before 0.24.6 and 0.25.x before 0.25.1 might allow man-in-the-middle attackers to spoof servers by leveraging clobbering of the error variable.

    Scope: local

    Debian bug: 851406

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.25.1+really0.24.6-1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.25.1+really0.24.6-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.25.1+really0.24.6-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.25.1+really0.24.6-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2024-24575

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_revparse_single` can cause the function to enter an infinite loop, potentially causing a Denial of Service attack in the calling application. The revparse function in `src/libgit2/revparse.c` uses a loop to parse the user-provided spec string. There is an edge-case during parsing that allows a bad actor to force the loop conditions to access arbitrary memory. Potentially, this could also leak memory if the extracted rev spec is reflected back to the attacker. As such, libgit2 versions before 1.4.0 are not affected. Users should upgrade to version 1.6.5 or 1.7.2.

    Scope: local

    Debian bug: 1063415

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1+deb12u1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.7.2+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.7.2+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.7.2+ds-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2020-12278

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    An issue was discovered in libgit2 before 0.28.4 and 0.9x before 0.99.0. path.c mishandles equivalent filenames that exist because of NTFS Alternate Data Streams. This may allow remote code execution when cloning a repository. This issue is similar to CVE-2019-1352.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.28.4+dfsg.1-2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.28.4+dfsg.1-2 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.28.4+dfsg.1-2 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.28.4+dfsg.1-2 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2016-8568

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    cargo

    The git_commit_message function in oid.c in libgit2 before 0.24.3 allows remote attackers to cause a denial of service (out-of-bounds read) via a cat-file command with a crafted object file.

    Scope: local

    Debian bug: 860989

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.17.0-1 bookworm: 0.66.0+ds1-1
    libgit2

    The git_commit_message function in oid.c in libgit2 before 0.24.3 allows remote attackers to cause a denial of service (out-of-bounds read) via a cat-file command with a crafted object file.

    Scope: local

    Debian bug: 840227

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.24.5-1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.24.5-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.24.5-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.24.5-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2014-9390

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    dulwich

    Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.10.1-1 bookworm: 0.21.2-1
    forkyresolvednot yet assigned 0.10.1-1 forky: 1.2.17-1
    sidresolvednot yet assigned 0.10.1-1 sid: 1.2.17-1
    trixieresolvednot yet assigned 0.10.1-1 trixie: 0.22.7-1
    git

    Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1:2.1.4-1 bookworm: 1:2.39.5-0+deb12u3
    bookworm-security: 1:2.39.5-0+deb12u2
    forkyresolvednot yet assigned 1:2.1.4-1 forky: 1:2.53.0-1
    sidresolvednot yet assigned 1:2.1.4-1 sid: 1:2.55.0-1
    trixieresolvednot yet assigned 1:2.1.4-1 trixie: 1:2.47.3-0+deb13u1
    jgit

    Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.

    Scope: local

    Debian bug: 774050

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 3.7.0-1 bookworm: 4.11.9-2
    forkyresolvednot yet assigned 3.7.0-1 forky: 7.7.1-1
    sidresolvednot yet assigned 3.7.0-1 sid: 7.7.1-1
    trixieresolvednot yet assigned 3.7.0-1 trixie: 6.7.0-2
    libgit2

    Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.

    Scope: local

    Debian bug: 774048

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 0.21.3-1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 0.21.3-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 0.21.3-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 0.21.3-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1
    mercurial

    Git before 1.8.5.6, 1.9.x before 1.9.5, 2.0.x before 2.0.5, 2.1.x before 2.1.4, and 2.2.x before 2.2.1 on Windows and OS X; Mercurial before 3.2.3 on Windows and OS X; Apple Xcode before 6.2 beta 3; mine all versions before 08-12-2014; libgit2 all versions up to 0.21.2; Egit all versions before 08-12-2014; and JGit all versions before 08-12-2014 allow remote Git servers to execute arbitrary commands via a tree containing a crafted .git/config file with (1) an ignorable Unicode codepoint, (2) a git~1/config representation, or (3) mixed case that is improperly handled on a case-insensitive filesystem.

    Scope: local

    Debian bug: 773640

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 3.1.2-2 bookworm: 6.3.2-1+deb12u1
    bookworm-security: 6.3.2-1+deb12u1
    forkyresolvednot yet assigned 3.1.2-2 forky: 7.2.4-2
    sidresolvednot yet assigned 3.1.2-2 sid: 7.2.4-2
    trixieresolvednot yet assigned 3.1.2-2 trixie: 7.0.1-2

    DEBIAN-CVE-2024-24577

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Using well-crafted inputs to `git_index_add` can cause heap corruption that could be leveraged for arbitrary code execution. There is an issue in the `has_dir_name` function in `src/libgit2/index.c`, which frees an entry that should not be freed. The freed entry is later used and overwritten with potentially bad actor-controlled data leading to controlled heap corruption. Depending on the application that uses libgit2, this could lead to arbitrary code execution. This issue has been patched in version 1.6.5 and 1.7.2.

    Scope: local

    Debian bug: 1063416

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1+deb12u1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.7.2+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.7.2+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.7.2+ds-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2026-5917

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 versions before 1.8.7 and 1.9.0 before 1.9.7 built with the libssh2 SSH backend (USE_SSH=libssh2) contain a shell command injection vulnerability that allows remote attackers to execute arbitrary commands on an SSH server by supplying a repository path containing unescaped shell metacharacters such as single quotes, semicolons, or pipes. The gen_proto() function in ssh_libssh2.c inserts the repository path directly into a shell command string without escaping special characters before passing it to libssh2_channel_exec(), enabling an attacker to craft a malicious submodule URL in a .gitmodules file that, when processed during a recursive clone, causes the remote server's shell to interpret injected commands under the victim's SSH user account.

    Scope: local

    Debian bug: 1144465

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1+deb12u2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.9.7+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.9.7+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.9.0+ds-2+deb13u1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2026-53586

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, the built-in HTTP transport in src/libgit2/transports/http.c follows an offsite initial redirect, and handle_remote_auth and handle_auth pass transport->owner->url instead of transport->server.url to the credential callback when the redirected host returns 401 Unauthorized. A callback that scopes credentials to the original trusted URL can therefore return GIT_CREDENTIAL_USERPASS_PLAINTEXT credentials that libgit2 stores in transport->server.cred and sends as an Authorization header to the redirected host. An attacker who controls a trusted Git host or an open redirect on that host can disclose HTTP Basic credentials, personal access tokens, or equivalent credentials. This issue is fixed in versions 1.8.6 and 1.9.5.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1+deb12u2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.9.6+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.9.6+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.9.0+ds-2+deb13u1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2026-53584

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, libgit2 does not reject traversal components in a submodule path loaded from .gitmodules. The affected src/libgit2/submodule.c paths include git_submodule_lookup and git_submodule_add_setup. A crafted repository can specify a path such as ../escape-target, and applications that initialize the submodule can create directories outside the repository working tree. This issue is fixed in versions 1.8.6 and 1.9.5.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1+deb12u2 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.9.6+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.9.6+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.9.0+ds-2+deb13u1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2018-10887

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    A flaw was found in libgit2 before version 0.27.3. It has been discovered that an unexpected sign extension in git_delta_apply function in delta.c file may lead to an integer overflow which in turn leads to an out of bound read, allowing to read before the base object. An attacker may use this flaw to leak memory addresses or cause a Denial of Service.

    Scope: local

    Debian bug: 903509

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedlow 0.27.4+dfsg.1-0.1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvedlow 0.27.4+dfsg.1-0.1 forky: 1.9.7+ds-1
    sidresolvedlow 0.27.4+dfsg.1-0.1 sid: 1.9.7+ds-1
    trixieresolvedlow 0.27.4+dfsg.1-0.1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2026-53583

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, verify_server_cert in src/libgit2/streams/openssl.c uses an inverted !!memcmp result in the GEN_IPADD branch when comparing an IP-literal host with a certificate IP SubjectAltName. OpenSSL builds reject matching IP addresses and accept mismatched IP addresses, allowing a network attacker with a CA-trusted certificate containing any IP SubjectAltName to intercept libgit2 connections to IP-literal HTTPS URLs. DNS SubjectAltName validation and non-OpenSSL TLS backends are not affected. This issue is fixed in versions 1.8.6 and 1.9.5.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedunimportant 0 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.9.6+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.9.6+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.9.0+ds-2+deb13u1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2026-53587

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a portable C implementation of the Git core methods provided as a linkable library with a solid API, allowing to build Git functionality into your application. Prior to 1.8.6 and 1.9.5, libgit2 performs a fixed-size strncmp in set_data in src/libgit2/transports/smart_pkt.c without first verifying that the smart-protocol pkt-line capability buffer contains 14 bytes. A malicious Git server can make bytes after the pkt-line complete object-format=, causing format_str to advance beyond the pkt-line and the following memchr length calculation to underflow. The resulting heap out-of-bounds walk can crash a client during the first refs-advertisement packet over HTTP, HTTPS, SSH, or the Git protocol. This issue is fixed in versions 1.8.6 and 1.9.5.

    Scope: local

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvedunimportant 0 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.9.6+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.9.6+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.9.0+ds-2+deb13u1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    DEBIAN-CVE-2023-22742

    Debian Security Tracker Change observed: 2026-11-19T13:02:31.384564+00:00

    Release statuses come from Debian. The change time records when this instance observed an update.

    libgit2

    libgit2 is a cross-platform, linkable library implementation of Git. When using an SSH remote with the optional libssh2 backend, libgit2 does not perform certificate checking by default. Prior versions of libgit2 require the caller to set the `certificate_check` field of libgit2's `git_remote_callbacks` structure - if a certificate check callback is not set, libgit2 does not perform any certificate checking. This means that by default - without configuring a certificate check callback, clients will not perform validation on the server SSH keys and may be subject to a man-in-the-middle attack. Users are encouraged to upgrade to v1.4.5 or v1.5.1. Users unable to upgrade should ensure that all relevant certificates are manually checked.

    Scope: local

    Debian bug: 1029368

    ReleaseStatusUrgencyFixed versionNotesRepositories
    bookwormresolvednot yet assigned 1.5.1+ds-1 bookworm: 1.5.1+ds-1+deb12u1
    bookworm-security: 1.5.1+ds-1+deb12u2
    forkyresolvednot yet assigned 1.5.1+ds-1 forky: 1.9.7+ds-1
    sidresolvednot yet assigned 1.5.1+ds-1 sid: 1.9.7+ds-1
    trixieresolvednot yet assigned 1.5.1+ds-1 trixie: 1.9.0+ds-2+deb13u1
    trixie-security: 1.9.0+ds-2+deb13u1

    ELA-1309-1

    Vulnerability from osv_debian_elts – Updated: 2025-01-30 00:00 – Source website
    VLAI

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Debian:8",
            "name": "libgit2",
            "purl": "pkg:deb/debian/libgit2?distro=jessie\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.21.1-3+deb8u2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "type": "security update"
      },
      "id": "ELA-1309-1",
      "modified": "2025-01-30T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/ELA-1309-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2016-8568"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2016-8569"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2016-10128"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2016-10129"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2018-8099"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2018-10887"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2018-10888"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2020-12278"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2020-12279"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2024-24577"
        }
      ],
      "related": [
        "CVE-2016-8568",
        "CVE-2016-8569",
        "CVE-2016-10128",
        "CVE-2016-10129",
        "CVE-2018-8099",
        "CVE-2018-10887",
        "CVE-2018-10888",
        "CVE-2020-12278",
        "CVE-2020-12279",
        "CVE-2024-24577"
      ]
    }

    ELA-1053-1

    Vulnerability from osv_debian_elts – Updated: 2024-03-03 00:00 – Source website
    VLAI
    Related
    Impacted products
    Ecosystem Package Version
    Debian:9 libgit2
    pkg:deb/debian/libgit2?distro=stretch&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts
    Affected: < 0.25.1+really0.24.6-1+deb9u3 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Debian:9",
            "name": "libgit2",
            "purl": "pkg:deb/debian/libgit2?distro=stretch\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.25.1+really0.24.6-1+deb9u3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "type": "security update"
      },
      "id": "ELA-1053-1",
      "modified": "2024-03-03T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/ELA-1053-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2024-24577"
        }
      ],
      "related": [
        "CVE-2024-24577"
      ]
    }

    ELA-805-1

    Vulnerability from osv_debian_elts – Updated: 2023-02-21 00:00 – Source website
    VLAI
    Related
    Impacted products
    Ecosystem Package Version
    Debian:9 libgit2
    pkg:deb/debian/libgit2?distro=stretch&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts
    Affected: < 0.25.1+really0.24.6-1+deb9u2 (ecosystem)

    {
      "affected": [
        {
          "package": {
            "ecosystem": "Debian:9",
            "name": "libgit2",
            "purl": "pkg:deb/debian/libgit2?distro=stretch\u0026repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.25.1+really0.24.6-1+deb9u2"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ]
        }
      ],
      "database_specific": {
        "type": "security update"
      },
      "id": "ELA-805-1",
      "modified": "2023-02-21T00:00:00Z",
      "references": [
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/ELA-805-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2023-22742"
        }
      ],
      "related": [
        "CVE-2023-22742"
      ]
    }