CVE-2018-7183 in the critical feed json
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 leve…
published 2018-03-08 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-18925
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 10.2%
- EPSS 10.2% chance of exploitation in 30 days, percentile 95%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- ntp Debian 11 1:4.2.8p11+dfsg-1
debian advisories DEBIAN-CVE-2018-7183
- ntp Ubuntu 14.04 LTS 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13
- ntp Ubuntu 16.04 LTS 1:4.2.8p4+dfsg-3ubuntu5.9
- ntp Ubuntu 18.04 LTS 1:4.2.8p10+dfsg-5ubuntu7.1
ubuntu advisories UBUNTU-CVE-2018-7183
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ntp SLES 12 SP3, SLES 12 SP2-BCL, SLED 12 SP3 +7 more 4.2.8p11-64.5.1
- ntp SLES for SAP 12 SP3, SLES 12 SP3, SLED 12 SP3 4.2.8p11-64.3.2
- ntp SLES for SAP 11 SP4, SLES 11 SP4 4.2.8p11-64.4.1
- ntp SLES 12-LTSS 4.2.8p11-46.26.2
suse advisories SUSE-SU-2018:1765-2SUSE-SU-2018:1765-1SUSE-SU-2018:1464-1SUSE-SU-2018:0956-1SUSE-SU-2018:0808-1
- ntp openSUSE Tumbleweed 4.2.8p15-7.2
opensuse advisories openSUSE-SU-2024:11102-1
- ntp Arch Linux 4.2.8.p11-1
arch linux advisories AVG-647
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2018-7183 updated cvss 5.0
ntp: decodearr() can write beyond its buffer limit
-
Red Hat Enterprise Linux 8 ntpaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 ntp Red Hat Enterprise Linux 6 ntp, ntpdate, ntp-perl Red Hat Enterprise Linux 7 ntp, sntp, ntpdate, ntp-perlnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
10.21% chance of exploitation in the next 30 days, higher than 95% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
security.gentoo.org
/glsa/201805-12
vendor-advisory, third-party-advisory
-
security.freebsd.org
/advisories/FreeBSD-SA-18:02.ntp.asc
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3707-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3707-1/
vendor-advisory, third-party-advisory
-
support.ntp.org
/bin/view/Main/SecurityNotice#February_2018_ntp_4_2_8p11_NTP_S
vendor-advisory
-
support.ntp.org
/bin/view/Main/NtpBug3414
vendor-advisory
-
securityfocus.com
/bid/103351
vdb-entry, third-party-advisory
- oracle.com //security-alerts/cpujul2021.html
-
security.netapp.com
/advisory/ntap-20180626-0001/
third-party-advisory
-
synology.com
/support/security/Synology_SA_18_13
third-party-advisory
- support.hpe.com /hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
Sources
- CVE List CVE-2018-7183
- NVD CVE-2018-7183
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.