{"id":"CVE-2018-12327","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-12327","generatedAt":"2026-10-29T04:16:05.599Z","title":"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.","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.","published":"2018-06-20T14:29:00.000Z","lastModified":"2026-06-17T01:37:34.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.0","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-787"],"affected":["ntp/ntp"],"epss":{"score":0.27514,"percentile":0.98067,"date":"2026-10-28","history":[{"date":"2026-09-21","score":0.2386,"percentile":0.97766},{"date":"2026-09-22","score":0.28709,"percentile":0.98054}]},"kev":{"listed":false},"exploits":{"count":1,"verified":false,"firstPublished":"2018-06-20","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":44909,"kind":"exploit","title":"ntp 4.2.8p11 - Local Buffer Overflow (PoC)","url":"https://www.exploit-db.com/exploits/44909","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/linux/dos/44909.txt","file":"exploits/linux/dos/44909.txt","published":"2018-06-20","added":"2018-06-20","updated":"2018-06-20","author":"Fakhri Zulkifli","type":"dos","platform":"linux","port":null,"verified":false,"codes":["CVE-2018-12327"],"tags":"Denial of Service (DoS)","aliases":null,"applicationUrl":"http://www.exploit-db.comntp-4.2.8p11.tar.gz","screenshotUrl":null,"referenceUrl":null}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 27.5%, higher than 98% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://www.securityfocus.com/bid/104517","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:3853","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2018:3854","source":"cve@mitre.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:2077","source":"cve@mitre.org"},{"url":"https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://security.gentoo.org/glsa/201903-15","source":"cve@mitre.org"},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","source":"cve@mitre.org"},{"url":"https://usn.ubuntu.com/4229-1/","source":"cve@mitre.org"},{"url":"https://www.exploit-db.com/exploits/44909/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/104517","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:3853","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2018:3854","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:2077","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f","tags":["Exploit","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.gentoo.org/glsa/201903-15","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://usn.ubuntu.com/4229-1/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/44909/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-12327","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}