cve.bz

CVE-2018-15501 Out-of-bounds Read

7.5 highExploit referenceEPSS 4.4%Fix available

High (7.5). EPSS 4.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
4.4% (unchanged from 4.4% a week ago; 4.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-125 Out-of-bounds Read
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-15501 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-15501?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-15501?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-15501 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
debian:debian_linux8.0
debian:debian_linux9.0
libgit2:libgit2before 0.26.6
libgit2:libgit2from 0.27.0 before 0.27.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8libgit20.21.1-3+deb8u1DLA-1477-1
Debian9libgit20.25.1+really0.24.6-1+deb9u1DLA-2936-1
Debian12, 13, 14libgit20.27.4+dfsg.1-0.1DEBIAN-CVE-2018-15501
UbuntuPro:14.04:LTSlibgit20.19.0-2ubuntu0.4+esm2UBUNTU-CVE-2018-15501
UbuntuPro:16.04:LTSlibgit20.24.1-2ubuntu0.2+esm3UBUNTU-CVE-2018-15501
UbuntuPro:18.04:LTSlibgit20.26.0+dfsg.1-1.1ubuntu0.2+esm2UBUNTU-CVE-2018-15501
SUSELinux Enterprise Module for Development Tools 15libgit20.26.6-3.5.2SUSE-SU-2018:2469-1
SUSELinux Enterprise Software Development Kit 12 SP3, Manager Server 3.1, Manager Server 3.2libgit20.24.1-7.6.1SUSE-SU-2018:3440-1
Alpinev3.9, v3.11, v3.12 and 8 morelibgit20.27.4-r0ALPINE-CVE-2018-15501
Alpinev3.10libgit2, libgit2-0.270.27.4-r0ALPINE-CVE-2018-15501
Alpinev3.13, v3.14libgit2, libgit2-1.00.27.4-r0ALPINE-CVE-2018-15501
Alpinev3.15, v3.16libgit2, libgit2-1.10.27.4-r0ALPINE-CVE-2018-15501

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · Alpine.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8libgit2Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-15501.

Attack patterns (CAPEC)

  • CAPEC-540 Overread Buffers Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON