# CVE-2018-12327: ntp: Stack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows an attacker to achieve code execution or...

CVE-2018-12327 is fixed in 3 products on 1 platform, first by ntp 1:4.2.8p10+dfsg-5ubuntu7.3+esm1, released June 20, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-12327
- Priority: Routine
- CVSS: n/a (Negligible)
- EPSS: 0.2751
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jun 20, 2018

## Description

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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ntp Ubuntu 18.04.6 LTS (bionic) | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | [ntp 1:4.2.8p10+dfsg-5ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ntp-1-4.2.8p10-dfsg-5ubuntu7.3-esm1.md) | Jun 20, 2018 |
| Linux | ntpdate Ubuntu 18.04.6 LTS (bionic) | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | [ntpdate 1:4.2.8p10+dfsg-5ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ntpdate-1-4.2.8p10-dfsg-5ubuntu7.3-esm1.md) | Jun 20, 2018 |
| Linux | sntp Ubuntu 18.04.6 LTS (bionic) | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | [sntp 1:4.2.8p10+dfsg-5ubuntu7.3+esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-sntp-1-4.2.8p10-dfsg-5ubuntu7.3-esm1.md) | Jun 20, 2018 |

---

Data as of 2026-11-08T00:53:09Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
