BreachSpiderVerified, not vibes

CVE-2018-12327 in Ntp

Critical 9.8 Public exploit reported

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 ...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.09.8
EPSS27.1%
EPSS percentile98th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Ntp Ntp 4.2.8

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitReported · reference

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2018-12327
BreachSpider IDBS-2018-GLOBAL-300501-C
CVSS vectorCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2018-06-20
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-787: Out-of-Bounds Write

Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.

Analysis AI-written, not human-reviewed

A stack-based buffer overflow vulnerability in ntpq and ntpdc of NTP version 4.2.8p11 can lead to code execution or privilege escalation through a long string argument for an IPv4 or IPv6 command-line parameter.

The vulnerability is triggered by providing a long string as an argument for an IPv4 or IPv6 command-line parameter in ntpq or ntpdc, which can cause a buffer overflow and potentially allow an attacker to execute arbitrary code or escalate privileges.

Questions

What is CVE-2018-12327?

A stack-based buffer overflow vulnerability in ntpq and ntpdc of NTP version 4.2.8p11 can lead to code execution or privilege escalation through a long string argument for an IPv4 or IPv6 command-line parameter.

What is the CVSS score for CVE-2018-12327?

CVE-2018-12327 has CVSS 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 27.1%.

Is CVE-2018-12327 actively exploited?

Public exploit available for CVE-2018-12327. Exploitation risk elevated.

How do I remediate CVE-2018-12327?

Priority: HIGH.

What systems are affected by CVE-2018-12327?

CVE-2018-12327 affects Ntp Ntp.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Ntp","product":"Ntp","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.