CVE-2018-7183: Buffer Overflow

Published Mar 8, 2018
·
Updated

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.

Affected Software

16 affected componentsFixes available
NTP ntp=4.2.8-p10
NTP ntp=4.2.8-p6
NTP ntp=4.2.8-p7
NTP ntp=4.2.8-p8
NTP ntp=4.2.8-p9
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
debian/ntp
1:4.2.8p15+dfsg-1
debian/ntpsec
1.2.0+dfsg1-41.2.2+dfsg1-1+deb12u11.2.3+dfsg1-81.2.4+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.8p15+dfsg-1
  2. Upgrade

    Upgrade debian/ntpsec to a version that resolves this vulnerability.

    Fixed in 1.2.0+dfsg1-4Fixed in 1.2.2+dfsg1-1+deb12u1Fixed in 1.2.3+dfsg1-8Fixed in 1.2.4+dfsg-1
  3. Upgrade

    Upgrade ntpq (NTP) to a version that resolves this vulnerability.

    Fixed in 4.2.8p6 through 4.2.8p10

Event History

Mar 8, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
via NVD·08:29 PM
DescriptionSeverityWeaknessAffected Software
Feb 19, 2026
Data Sourced
via Ubuntu·06:26 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Debian·06:26 PM
DescriptionAffected Software
Data Sourced
via Launchpad·06:26 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-7183?

CVE-2018-7183 is a buffer overflow vulnerability in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10.

2

How does CVE-2018-7183 impact my system?

CVE-2018-7183 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.

3

What is the severity of CVE-2018-7183?

CVE-2018-7183 has a severity rating of 9.8 (Critical).

4

Which software versions are affected by CVE-2018-7183?

Ntp 4.2.8p6 through 4.2.8p10, Freebsd 10.3 through 10.4, Freebsd 11.1, and various versions of Ubuntu Linux and Netapp Element Software are affected by CVE-2018-7183.

5

How can I fix CVE-2018-7183?

To fix CVE-2018-7183, update to at least ntp 4.2.8p12+dfsg-4, ntpsec 1.2.2+dfsg1-2, or the appropriate patched version based on your software distribution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203