Libgit2 vulnerabilities
We track 4 vulnerabilities in Libgit2 products. 4 are rated high or critical, and none are known to be exploited. The most recent was published on August 20, 2026.
Latest Libgit2 vulnerabilities
- 7.5 High severity
libgit2 is a portable C implementation of the Git core methods provided as a linkable library…
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/libgit
- 8.8 High severity
libgit2: Improper Neutralization of Special Elements used in an OS Command
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
- 9.8 Critical severity
libgit2: Improper Restriction of Operations within the Bounds of a Memory Buffer
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 leve
- 7.5 High severity
libgit2: Uncontrolled Resource Consumption
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 inf