CVE-2018-10888
publishedlibgit2: an improper input validation leads to an out-of-bound read in git_delta_apply, allowing to read beyond delta limits
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| libgit2 | — | libgit2before version 0.27.3 | Affected | Not stated | redhat |
| Alpine Linux | edge | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Debian | jessie | libgit2 | Advisory build | 0.21.1-3+deb8u1 | DLA-1477-1 |
| SUSE / openSUSE | SLE-12-SP3 | libgit2-24x86_64 | Advisory build | 0.24.1-7.6.1 | SUSE-SU-2018:3440-1 |
| Alpine Linux | v3.10 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.11 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.12 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.13 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
Show 27 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.14 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.15 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.16 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.17 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.18 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.19 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.20 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.21 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.22 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.23 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.24 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.8 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.9 | libgit2 | Fixed | 0.27.3-r0 | Package fix record |
| Debian | stretch | libgit2 | Advisory build | 0.25.1+really0.24.6-1+deb9u1 | DLA-2936-1 |
| Alpine Linux | v3.10 | libgit2-0.27 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.13 | libgit2-1.0 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.14 | libgit2-1.0 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.15 | libgit2-1.1 | Fixed | 0.27.3-r0 | Package fix record |
| Alpine Linux | v3.16 | libgit2-1.1 | Fixed | 0.27.3-r0 | Package fix record |
| SUSE / openSUSE | SLE-15 | libgit2-26aarch64 | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-26ppc64le | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-26s390x | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-26x86_64 | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-develaarch64 | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-develppc64le | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-devels390x | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
| SUSE / openSUSE | SLE-15 | libgit2-develx86_64 | Advisory build | 0.26.6-3.5.2 | SUSE-SU-2018:2469-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libgit2 | libgit2 | before version 0.27.3 (affected) | redhat · cna |
Weaknesses
1- CWE-20 CWE-20->CWE-125
References
5- https://bugzilla.redhat.com/show_bug.cgi?id=1598024
- https://github.com/libgit2/libgit2/commit/9844d38bed10e9ff17174434b3421b227ae710f3
- https://github.com/libgit2/libgit2/releases/tag/v0.27.3
- [debian-lts-announce] 20180825 [SECURITY] [DLA 1477-1] libgit2 security update https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html
- [debian-lts-announce] 20220321 [SECURITY] [DLA 2936-1] libgit2 security update https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- cdda0f3a062a0f72ea82e2e4b1c72eb7124c102cf83c2d4bb5a9f1a96fe75bf8
- Ingested
- 23 Sep 2026, 07:43:23 UTC
- Source record
- Official CVE record