
CVE catalog
CVE-2018-12327
Security update for ntp
- Severity
- High · CVSS 7
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 28.02% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ntp | 11 | 1:4.2.8p15+dfsg-1 | vulnerable |
| Debian | ntp | 11 | 1:4.2.8p15+dfsg-2-hurd.1 | vulnerable |
| Debian | ntp | 11 | 1:4.2.8p15+dfsg-2~1.2.1+dfsg1-7+hurd.1 | vulnerable |
| Debian | ntp | 11 | 1:4.2.8p15+dfsg-2~1.2.1+dfsg1-8+hurd.1 | vulnerable |
| Debian | ntp | 11 | 1:4.2.8p15+dfsg-2~1.2.2+dfsg1-2+hurd.1 | vulnerable |
| Debian | ntp | 11 | 1:4.2.8p15+dfsg-2~hurd.1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.2 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.3 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.5 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.6 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.7 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.8 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.10 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.11 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.12 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1 | fixed |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu8 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu8.1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu9 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu2 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu3 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu4 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.2 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.3 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.4 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.5 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.6 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.7 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.8 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.9 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.10 | fixed |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu5 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu6 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.1+esm1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.1+esm2 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.2 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.2+esm1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.3 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | fixed |
| Suse | ntp | linux enterprise server 11 sp4 | 4.2.8p12-64.7.1 | fixed |
| Suse | ntp | linux enterprise server for sap applications 11 sp4 | 4.2.8p12-64.7.1 | fixed |
| Suse | ntp | linux enterprise point of sale 11 sp3 | 4.2.8p12-48.21.1 | fixed |
| Suse | ntp | linux enterprise server 11 sp3-ltss | 4.2.8p12-48.21.1 | fixed |
| Suse | ntp | linux enterprise server 11 sp3-teradata | 4.2.8p12-48.21.1 | fixed |
| Suse | ntp | linux enterprise module for legacy 15 | 4.2.8p12-4.3.2 | fixed |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu5 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu6 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.1+esm1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.1+esm2 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.2 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.2+esm1 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.3 | vulnerable |
| Ubuntu | ntp | pro | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | fixed |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu8 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu8.1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu9 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu2 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu3 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu4 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.2 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.3 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.4 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.5 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.6 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.7 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.8 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.9 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.10 | fixed |
| Suse | ntp | openstack cloud 7 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise desktop 12 sp3 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server for sap applications 12 sp2 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server 12 sp1-ltss | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server 12 sp2-ltss | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server 12 sp2-bcl | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server 12 sp3 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server for sap applications 12 sp3 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | enterprise storage 4 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server for sap applications 12 sp1 | 4.2.8p12-64.8.2 | fixed |
| Suse | ntp | linux enterprise server 12-ltss | 4.2.8p12-46.29.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Ubuntu | ntp | deb | pro | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13+esm1 | Not reported | USN-4229-1 | Not reported |
| Ubuntu | ntp | deb | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.10 | Not reported | USN-4229-1 | Not reported |
| Ubuntu | ntp | deb | pro | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | Not reported | USN-4229-2 | Not reported |
| Suse | ntp | rpm | linux enterprise server 11 sp4 | 4.2.8p12-64.7.1 | Not reported | SUSE-SU-2018:3352-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server for sap applications 11 sp4 | 4.2.8p12-64.7.1 | Not reported | SUSE-SU-2018:3352-1 | Not reported |
| Suse | ntp | rpm | linux enterprise point of sale 11 sp3 | 4.2.8p12-48.21.1 | Not reported | SUSE-SU-2018:3356-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server 11 sp3-ltss | 4.2.8p12-48.21.1 | Not reported | SUSE-SU-2018:3356-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server 11 sp3-teradata | 4.2.8p12-48.21.1 | Not reported | SUSE-SU-2018:3356-1 | Not reported |
| Suse | ntp | rpm | linux enterprise module for legacy 15 | 4.2.8p12-4.3.2 | Not reported | SUSE-SU-2018:3386-1 | Not reported |
| Ubuntu | ntp | deb | pro | 1:4.2.8p10+dfsg-5ubuntu7.3+esm1 | Not reported | UBUNTU-CVE-2018-12327 | Not reported |
| Ubuntu | ntp | deb | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.10 | Not reported | UBUNTU-CVE-2018-12327 | Not reported |
| Suse | ntp | rpm | openstack cloud 7 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise desktop 12 sp3 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server for sap applications 12 sp2 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server 12 sp1-ltss | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server 12 sp2-ltss | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server 12 sp2-bcl | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server 12 sp3 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server for sap applications 12 sp3 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | enterprise storage 4 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-1 | Not reported |
| Suse | ntp | rpm | linux enterprise server for sap applications 12 sp1 | 4.2.8p12-64.8.2 | Not reported | SUSE-SU-2018:3342-2 | Not reported |
| Suse | ntp | rpm | linux enterprise server 12-ltss | 4.2.8p12-46.29.2 | Not reported | SUSE-SU-2018:3351-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://access.redhat.com/errata/RHSA-2018:3853]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2019_2077.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-12327]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3342-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3342-2]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3351-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3352-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3356-1]
- [https://osv.dev/vulnerability/SUSE-SU-2018:3386-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-12327]
- [https://osv.dev/vulnerability/USN-4229-1]
- [https://osv.dev/vulnerability/USN-4229-2]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]