CVE-2018-7182 in Canonical Ubuntu Linux and 2 more products
The ctl_getitem method in ntpd in ntp-4.2.8p6 before 4.2.8p11 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted mode 6 packet with a ntpd instance from 4.2.8p6 through 4.2.8p10.
Affects 3 products from 3 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 17.10 18.04 |
| Netapp | Element Software | No version listed by the source |
| Ntp | Ntp | 4.2.8 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
The ctl_getitem method in ntpd in ntp-4.2.8p6 before 4.2.8p11 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted mode 6 packet with a ntpd instance from 4.2.8p6 through 4.2.8p10.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2018-7182 |
|---|---|
| BreachSpider ID | BS-2018-GLOBAL-158678-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2018-03-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-125: Out-of-Bounds Read
Software reads data past the boundary of an allocated buffer, leaking sensitive information or causing crashes.
Related attack patterns (CAPEC)
CAPEC-540 Overread Buffers via CWE-125
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the ctl_getitem method of ntpd in versions of ntp prior to 4.2.8p11 allows remote attackers to perform an out-of-bounds read via a crafted mode 6 packet, potentially leading to a denial of service.
The attack involves sending a specially crafted NTP packet with mode 6 to the ntpd service. This packet triggers an out-of-bounds read, which can cause the ntpd service to crash or behave unpredictably.
Questions
What is CVE-2018-7182?
A vulnerability in the ctl_getitem method of ntpd in versions of ntp prior to 4.2.8p11 allows remote attackers to perform an out-of-bounds read via a crafted mode 6 packet, potentially leading to a denial of service.
What is the CVSS score for CVE-2018-7182?
CVE-2018-7182 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 28.8%.
Is CVE-2018-7182 actively exploited?
Public exploit available for CVE-2018-7182. Exploitation risk elevated.
How do I remediate CVE-2018-7182?
Priority: HIGH. Advisory: http://support.ntp.org/bin/view/Main/NtpBug3412 PSIRT: [email protected]
What systems are affected by CVE-2018-7182?
CVE-2018-7182 affects Canonical Ubuntu Linux; Netapp Element Software; Ntp Ntp.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Canonical","product":"Ubuntu Linux","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.