libgit2: out-of-bounds reads when processing smart-protocol ng packets
Published Aug 18, 2018
7.5
HIGHCVSS 3.1
EPSS 4.37%
Description
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.
Affected products
No data.
Configuration 1
- 8.0
- 9.0
No data.
Red Hat Enterprise Linux 8
libgit2
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libgit2 | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (23 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 4.37% (0.04373) | 90.97th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.34% (0.04337) | 89.91th | v5 (v2026.06.15) |
| May 27, 2026 | 2.92% (0.02924) | 86.60th | v4 (v2025.03.14) |
| Apr 5, 2026 | 1.62% (0.01621) | 81.79th | v4 (v2025.03.14) |
| Nov 21, 2025 | 0.34% (0.00342) | 56.25th | v4 (v2025.03.14) |
| Nov 18, 2025 | 2.82% (0.02817) | 84.86th | v4 (v2025.03.14) |
| Mar 30, 2025 | 0.36% (0.00358) | 55.06th | v4 (v2025.03.14) |
| Mar 29, 2025 | 1.44% (0.01441) | 68.78th | v4 (v2025.03.14) |
| Mar 17, 2025 | 0.32% (0.00324) | 53.13th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.39% (0.00393) | 74.22th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.39% (0.00393) | 72.69th | v3 (v2023.03.01) |
| Jan 8, 2024 | 0.39% (0.00393) | 70.61th | v3 (v2023.03.01) |
| Aug 11, 2023 | 0.39% (0.00387) | 69.76th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00366) | 68.07th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.41% (0.01408) | 72.89th | v2 (v2022.01.01) |
| Mar 2, 2023 | 1.41% (0.01408) | 72.88th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.41% (0.01408) | 70.87th | v2 (v2022.01.01) |
| Mar 21, 2022 | 1.41% (0.01408) | 50.70th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.32% (0.01319) | 44.98th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.08% (0.02080) | 50.39th | v1 |
| Jan 6, 2022 | 2.08% (0.02080) | 49.89th | v1 |
| Sep 1, 2021 | 2.08% (0.02080) | 77.32th | v1 |
| Apr 14, 2021 | 2.08% (0.02080) | 0.00th | v1 |
References (12)
- https://access.redhat.com/security/cve/CVE-2018-15501 Vendor Advisory
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=9406 x_refsource_MISCExploitIssue TrackingPatchThird Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1615585 Issue Tracking
- https://bugzilla.suse.com/show_bug.cgi?id=1104641 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/libgit2/libgit2/commit/1f9a8510e1d2f20ed7334eeeddb92c4dd8e7c649 x_refsource_MISCPatchThird Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v0.26.6 x_refsource_MISCRelease NotesThird Party Advisory
- https://github.com/libgit2/libgit2/releases/tag/v0.27.4 x_refsource_MISCRelease NotesThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2018/08/msg00024.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/03/msg00031.html mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-15501
- https://www.cve.org/CVERecord?id=CVE-2018-15501
- https://www.pro-linux.de/sicherheit/2/44650/denial-of-service-in-libgit2.html x_refsource_MISCThird Party Advisory
Change history (0)
No recorded changes yet.