CVE-2018-12327: Buffer Overflow

Published Jun 20, 2018
·
Updated

Last updated 25 August 2025

Other sources

Stack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows an attacker to achieve code execution or escalate to higher privileges via a long string as the argument for an IPv4 or IPv6 command-line parameter. NOTE: It is unclear whether there are any common situations in which ntpq or ntpdc is used with a command line from an untrusted source.

Launchpad

Affected Software

2 affected components
debian/ntp<=1:4.2.8p15+dfsg-1
NTP ntp=4.2.8-p11

Event History

Jun 20, 2018
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description
Data Sourced
via NVD·02:29 PM
DescriptionSeverityWeaknessAffected Software
Jun 21, 2018
Data Sourced
via Red Hat·07:04 AM
DescriptionSeverityAffected Software
Feb 20, 2026
Data Sourced
via Ubuntu·04:28 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·04:28 PM
Description

Frequently Asked Questions

1

What is CVE-2018-12327?

CVE-2018-12327 is a stack-based buffer overflow vulnerability in ntpq and ntpdc of NTP version 4.2.8p11.

2

How severe is CVE-2018-12327?

CVE-2018-12327 has a severity rating of 9.8 out of 10, indicating it is critical.

3

Which software is affected by CVE-2018-12327?

The affected software includes NTP version 4.2.8p11 and some versions of the ntp package in Debian and Ubuntu.

4

How can an attacker exploit CVE-2018-12327?

An attacker can exploit CVE-2018-12327 by providing a long string as the argument for an IPv4 or IPv6 command-line parameter, which can lead to code execution or privilege escalation.

5

Where can I find more information about CVE-2018-12327?

You can find more information about CVE-2018-12327 on the MITRE CVE website, a GitHub gist, and the Ubuntu security notices.

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