Vulnerability database / CVE-2018-7183
CVE-2018-7183
CRITICAL 9.8 CVSS 3.0 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.
Published 8 Mar 2018
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-787 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.0
CRITICAL 9.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
HIGH 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
ntp
ntpcpe:2.3:a:ntp:ntp:4.2.8:p10:*:*:*:*:*:*
= 4.2.8
NVD
ntp
ntpcpe:2.3:a:ntp:ntp:4.2.8:p6:*:*:*:*:*:*
= 4.2.8
NVD
ntp
ntpcpe:2.3:a:ntp:ntp:4.2.8:p7:*:*:*:*:*:*
= 4.2.8
NVD
ntp
ntpcpe:2.3:a:ntp:ntp:4.2.8:p8:*:*:*:*:*:*
= 4.2.8
NVD
ntp
ntpcpe:2.3:a:ntp:ntp:4.2.8:p9:*:*:*:*:*:*
= 4.2.8
NVD
freebsd
freebsdcpe:2.3:o:freebsd:freebsd:10.3:*:*:*:*:*:*:*
= 10.3
NVD
freebsd
freebsdcpe:2.3:o:freebsd:freebsd:10.4:*:*:*:*:*:*:*
= 10.4
NVD
freebsd
freebsdcpe:2.3:o:freebsd:freebsd:11.1:*:*:*:*:*:*:*
= 11.1
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*
= 12.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*
= 17.10
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*
= 18.04
NVD
netapp
element_softwarecpe:2.3:a:netapp:element_software:-:*:*:*:*:*:*:*
(no version)
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 8 Mar 2018)