
CVE catalog
CVE-2018-10887
libgit2: CVE-2018-10887
- Severity
- Medium · CVSS 6.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.05% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libgit2 | sid | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | forky | 1.9.7+ds-1 | fixed |
| Debian | libgit2 | trixie | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | trixie-security | 1.9.0+ds-2+deb13u1 | fixed |
| Debian | libgit2 | bookworm | 1.5.1+ds-1+deb12u1 | fixed |
| Debian | libgit2 | bookworm-security | 1.5.1+ds-1+deb12u2 | fixed |
| Ubuntu | libgit2 | 14.04 | 0.19.0-2 | vulnerable |
| Ubuntu | libgit2 | 14.04 | 0.19.0-2ubuntu0.4 | fixed |
| Ubuntu | libgit2 | 16.04 | 0.22.2-2 | vulnerable |
| Ubuntu | libgit2 | 16.04 | 0.23.1-1 | vulnerable |
| Ubuntu | libgit2 | 16.04 | 0.24.1-2 | vulnerable |
| Ubuntu | libgit2 | 16.04 | 0.24.1-2ubuntu0.2 | fixed |
| Ubuntu | libgit2 | 18.04 | 0.25.1+really0.24.6-1 | vulnerable |
| Ubuntu | libgit2 | 18.04 | 0.26.0+dfsg.1-1.1 | vulnerable |
| Ubuntu | libgit2 | 18.04 | 0.26.0+dfsg.1-1.1build1 | vulnerable |
| Ubuntu | libgit2 | 18.04 | 0.26.0+dfsg.1-1.1ubuntu0.2 | fixed |
| Suse | libgit2 | linux enterprise software development kit 12 sp3 | 0.24.1-7.6.1 | fixed |
| Suse | libgit2 | manager server 3.1 | 0.24.1-7.6.1 | fixed |
| Suse | libgit2 | manager server 3.2 | 0.24.1-7.6.1 | fixed |
| Suse | libgit2 | linux enterprise module for development tools 15 | 0.26.6-3.5.2 | fixed |
| Alpine | libgit2 | 3.10 | 0.27.3-r0 | fixed |
| Alpine | libgit2 | 3.11 | 0.27.3-r0 | fixed |
| Alpine | libgit2 | 3.8 | 0.27.3-r0 | fixed |
| Alpine | libgit2 | 3.9 | 0.27.3-r0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libgit2 | source | sid | 0.27.4+dfsg.1-0.1 | low | Not reported | [903509] |
| Debian | libgit2 | source | forky | 0.27.4+dfsg.1-0.1 | low | Not reported | [903509] |
| Debian | libgit2 | source | trixie | 0.27.4+dfsg.1-0.1 | low | Not reported | [903509] |
| Debian | libgit2 | source | bookworm | 0.27.4+dfsg.1-0.1 | low | Not reported | [903509] |
| Ubuntu | libgit2 | deb | 14.04 | 0.19.0-2ubuntu0.4 | Not reported | UBUNTU-CVE-2018-10887 | Not reported |
| Ubuntu | libgit2 | deb | 16.04 | 0.24.1-2ubuntu0.2 | Not reported | UBUNTU-CVE-2018-10887 | Not reported |
| Ubuntu | libgit2 | deb | 18.04 | 0.26.0+dfsg.1-1.1ubuntu0.2 | Not reported | UBUNTU-CVE-2018-10887 | Not reported |
| Suse | libgit2 | rpm | linux enterprise software development kit 12 sp3 | 0.24.1-7.6.1 | Not reported | SUSE-SU-2018:3440-1 | Not reported |
| Suse | libgit2 | rpm | manager server 3.1 | 0.24.1-7.6.1 | Not reported | SUSE-SU-2018:3440-1 | Not reported |
| Suse | libgit2 | rpm | manager server 3.2 | 0.24.1-7.6.1 | Not reported | SUSE-SU-2018:3440-1 | Not reported |
| Suse | libgit2 | rpm | linux enterprise module for development tools 15 | 0.26.6-3.5.2 | Not reported | SUSE-SU-2018:2469-1 | Not reported |
| Alpine | libgit2 | apk | 3.10 | 0.27.3-r0 | Not reported | ALPINE-CVE-2018-10887 | Not reported |
| Alpine | libgit2 | apk | 3.11 | 0.27.3-r0 | Not reported | ALPINE-CVE-2018-10887 | Not reported |
| Alpine | libgit2 | apk | 3.8 | 0.27.3-r0 | Not reported | ALPINE-CVE-2018-10887 | Not reported |
| Alpine | libgit2 | apk | 3.9 | 0.27.3-r0 | Not reported | ALPINE-CVE-2018-10887 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [libgit2-1.5]Unknown
Source package: [libgit2]
Details (4)
1.5.1+ds-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
- [libgit2-1.8]Unknown
Source package: [libgit2]
Details (2)
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
- [libgit2-dev]Unknown
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· amd64 · bookwormFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookwormFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· amd64 · bookworm-backportsFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· arm64 · bookworm-backportsFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
- [libgit2-fixtures]Unknown
Source package: [libgit2]
Details (6)
1.5.1+ds-1+deb12u1· all · bookwormFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookwormFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· all · bookworm-backportsFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.8.4+ds-3~bpo12+1· all · bookworm-backportsFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookworm-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
1.5.1+ds-1+deb12u1· all · bookworm-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · bookworm; dsa · libgit2 · debian · 12
[Debian 13 (Trixie)]
- [libgit2-1.9]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
- [libgit2-dev]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· amd64 · trixieFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2· arm64 · trixieFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· amd64 · trixie-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· arm64 · trixie-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
- [libgit2-fixtures]Unknown
Source package: [libgit2]
Details (4)
1.9.0+ds-2· all · trixieFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2· all · trixieFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
1.9.0+ds-2+deb13u1· all · trixie-securityFixed · Fixed:
0.27.4+dfsg.1-0.1dsa · libgit2 · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_2469-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-10887]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-10887]
- [https://osv.dev/vulnerability/DLA-1477-1]
- [https://osv.dev/vulnerability/DLA-2936-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:2469-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3440-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-10887]
- [https://security-tracker.debian.org/tracker/CVE-2018-10887]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-10887.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]