CVE-2018-12327
publishedntp: Stack-based buffer overflow in ntpq and ntpdc allows denial of service or code execution
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1367 | Fixed | Not stated | Amazon Linux assessment |
| Oracle Linux | 6 | ntpi686 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpi686 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| SUSE / openSUSE | SLE-11-SP3 | ntpi586 | Advisory build | 4.2.8p12-48.21.1 | SUSE-SU-2018:3356-1 |
| Oracle Linux | 6 | ntpx86_64 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Oracle Linux | 6 | ntp-doci686 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Oracle Linux | 6 | ntp-docx86_64 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | ntp-perli686 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Oracle Linux | 6 | ntp-perlx86_64 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Oracle Linux | 6 | ntpdatei686 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Oracle Linux | 6 | ntpdatex86_64 | Advisory build | 0:4.2.6p5-15.0.1.el6_10 | ELSA-2018-3854 |
| Oracle Linux | 7 | ntpaarch64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntpx86_64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntp-docaarch64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntp-docx86_64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntp-perlaarch64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntp-perlx86_64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntpdateaarch64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | ntpdatex86_64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | sntpaarch64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Oracle Linux | 7 | sntpx86_64 | Advisory build | 0:4.2.6p5-29.0.1.el7 | ELSA-2019-2077 |
| Red Hat Enterprise Linux | RHEL-6 | ntpi686 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpppc64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpppc64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntps390x | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntps390x | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpsrc | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpsrc | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpx86_64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpx86_64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfoi686 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfoi686 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfoppc64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfoppc64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfos390x | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfos390x | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfox86_64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-debuginfox86_64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-docnoarch | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-docnoarch | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perli686 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perli686 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perlppc64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perlppc64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perls390x | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perls390x | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perlx86_64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntp-perlx86_64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdatei686 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdatei686 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdateppc64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdateppc64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdates390x | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdates390x | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdatex86_64 | Advisory build | 4.2.6p5-15.el6_10 | RHSA-2018:3854 |
| Red Hat Enterprise Linux | RHEL-6 | ntpdatex86_64 | Advisory build | 4.2.6p5-5.el6_7.6 | RHSA-2018:3853 |
| Red Hat Enterprise Linux | RHEL-7 | ntpppc64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpppc64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpppc64le | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpppc64le | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntps390x | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntps390x | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpsrc | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpsrc | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpx86_64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpx86_64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfoppc64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfoppc64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfoppc64le | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfoppc64le | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfos390x | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfos390x | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfox86_64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-debuginfox86_64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-docnoarch | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-docnoarch | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-perlnoarch | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntp-perlnoarch | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdateppc64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdateppc64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdateppc64le | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdateppc64le | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdates390x | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdates390x | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdatex86_64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | ntpdatex86_64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | sntpppc64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | sntpppc64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | sntpppc64le | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | sntpppc64le | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | sntps390x | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | sntps390x | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| Red Hat Enterprise Linux | RHEL-7 | sntpx86_64 | Advisory build | 4.2.6p5-28.el7_6.1 | RHSA-2020:1470 |
| Red Hat Enterprise Linux | RHEL-7 | sntpx86_64 | Advisory build | 4.2.6p5-29.el7 | RHSA-2019:2077 |
| SUSE / openSUSE | SLE-11-SP3 | ntps390x | Advisory build | 4.2.8p12-48.21.1 | SUSE-SU-2018:3356-1 |
| SUSE / openSUSE | SLE-11-SP3 | ntpx86_64 | Advisory build | 4.2.8p12-48.21.1 | SUSE-SU-2018:3356-1 |
| SUSE / openSUSE | SLE-11-SP3 | ntp-doci586 | Advisory build | 4.2.8p12-48.21.1 | SUSE-SU-2018:3356-1 |
| SUSE / openSUSE | SLE-11-SP3 | ntp-docs390x | Advisory build | 4.2.8p12-48.21.1 | SUSE-SU-2018:3356-1 |
| SUSE / openSUSE | SLE-11-SP3 | ntp-docx86_64 | Advisory build | 4.2.8p12-48.21.1 | SUSE-SU-2018:3356-1 |
| SUSE / openSUSE | SLE-11-SP4 | ntpi586 | Advisory build | 4.2.8p12-64.7.1 | SUSE-SU-2018:3352-1 |
| SUSE / openSUSE | SLE-11-SP4 | ntpia64 | Advisory build | 4.2.8p12-64.7.1 | SUSE-SU-2018:3352-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- 104517 http://www.securityfocus.com/bid/104517
- RHSA-2018:3853 https://access.redhat.com/errata/RHSA-2018:3853
- RHSA-2018:3854 https://access.redhat.com/errata/RHSA-2018:3854
- RHSA-2019:2077 https://access.redhat.com/errata/RHSA-2019:2077
- https://gist.github.com/fakhrizulkifli/9b58ed8e0354e8deee50b0eebd1c011f
- GLSA-201903-15 https://security.gentoo.org/glsa/201903-15
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
- USN-4229-1 https://usn.ubuntu.com/4229-1/
- 44909 https://www.exploit-db.com/exploits/44909/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ce5b7f9aa9d6403f85d8495f613ce95b49dc79efab346e3e29410b49dc199f72
- Ingested
- 23 Sep 2026, 07:43:34 UTC
- Source record
- Official CVE record