CVE-2018-7183Ntp
Critical 9.8 No auth needed
Follow: this CVE · Ntp · Ntp We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.0
- 9.8
- EPSS
- 8.6% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Mar 8, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-787
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.
What to do
- Apply the vendor's security update for Ntp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ntp | ntp | 4.2.8 |
| ntp | ntp | 4.2.8 |
| ntp | ntp | 4.2.8 |
| ntp | ntp | 4.2.8 |
| ntp | ntp | 4.2.8 |
| freebsd | freebsd | 10.3 |
| freebsd | freebsd | 10.4 |
| freebsd | freebsd | 11.1 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 16.04 |
| canonical | ubuntu_linux | 17.10 |
| canonical | ubuntu_linux | 18.04 |
| netapp | element_software | all |
Official sources
References
Links published by the sources. Open them with care.
- support.ntp.org Vendor Advisory
- support.ntp.org Vendor Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- security.freebsd.org Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- support.hpe.com
- usn.ubuntu.com Third Party Advisory
- usn.ubuntu.com Third Party Advisory
- www.oracle.com
- www.synology.com Third Party Advisory