CVE-2018-12327
CVE-2018-12327 is a critical-severity vulnerability in Ntp with a CVSS 3.x base score of 9.8. Its EPSS exploit-prediction score of 29% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Critical (CVSS 3.x base score 9.8)
- CVSS v2: 7.5
- EPSS exploit prediction: 29% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Ntp
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2018-12327?
- 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.
- How severe is CVE-2018-12327?
- CVE-2018-12327 has a CVSS 3.x base score of 9.8, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2018-12327 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 29% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2018-12327?
- CVE-2018-12327 affects Ntp. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2018-12327?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2018-12327 published?
- CVE-2018-12327 was published on 2018-06-20 and last updated on 2026-06-17.
References
- http://www.securityfocus.com/bid/104517
- https://access.redhat.com/errata/RHSA-2018:3853
- https://access.redhat.com/errata/RHSA-2018:3854
- https://access.redhat.com/errata/RHSA-2019:2077
- https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f
- https://security.gentoo.org/glsa/201903-15
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
- https://usn.ubuntu.com/4229-1/
- https://www.exploit-db.com/exploits/44909/
Affected products (1)
- cpe:2.3:a:ntp:ntp:4.2.8:p11:*:*:*:*:*:*
More vulnerabilities in Ntp
- CVE-2018-7183 — Critical (CVSS 9.8): Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute…
- CVE-2015-7871 — Critical (CVSS 9.8): Crypto-NAK packets in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote attackers to bypass…
- CVE-2015-7853 — Critical (CVSS 9.8): The datalen parameter in the refclock driver in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote…
- CVE-2015-7705 — Critical (CVSS 9.8): The rate limiting feature in NTP 4.x before 4.2.8p4 and 4.3.x before 4.3.77 allows remote attackers to have unspecified…
- CVE-2015-7854 — High (CVSS 8.8): Buffer overflow in the password management functionality in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows…
- CVE-2015-7849 — High (CVSS 8.8): Use-after-free vulnerability in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote authenticated…
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…
Browse all CWE-787 (Out-of-bounds Write) vulnerabilities →
Threat intelligence
Threat-intel indicators referencing this CVE:
- 197.248.207.139 (ipv4-addr)
- 135.129.128.247 (ipv4-addr)
- 119.201.59.224 (ipv4-addr)
- 125.212.244.35 (ipv4-addr)
- 202.29.220.126 (ipv4-addr)
- 93.42.227.251 (ipv4-addr)
- 82.209.191.11 (ipv4-addr)
- 119.204.60.250 (ipv4-addr)