Read the docs
TI-2018-08842 Aliases CVE-2018-12327GHSA-gmx7-j3pp-2gxp

Stack-based buffer overflow in ntpq and ntpdc of NTP version 4.2.8p11 allows an attacker…

Priority MEDIUM 64CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 26 fixed, 1 without a fix

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-787 and the CVSS impact.

Summary

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.

Why it matters now

EPSS 0.27514 98th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by NVD and the CNA
Fix Partial Red Hat: 4 advisoriesRed Hat: 26 fixed, 1 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ntp:ntp:4.2.8:p11:*:*:*:*:*:*4.2.8 p11VulnerableNTP Project
  • cpe:2.3:a:ntp:ntp:4.2.8:p11:*:*:*:*:*:* Versions 4.2.8 p11 Vulnerable ·NTP Project

Remediation

Red Hat 4 advisories

  • RHSA-2020:1470 Released 2020-04-14 · Red Hat rating Low
    ntp security update
    • Red Hat Enterprise Linux ComputeNode EUS (v. 7.6) ntp-4.2.6p5-28.el7_6.1, ntpdate-4.2.6p5-28.el7_6.1
    • Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6) ntp-doc-4.2.6p5-28.el7_6.1, ntp-perl-4.2.6p5-28.el7_6.1, sntp-4.2.6p5-28.el7_6.1
    • Red Hat Enterprise Linux Server EUS (v. 7.6) ntp-4.2.6p5-28.el7_6.1, ntpdate-4.2.6p5-28.el7_6.1
    • Red Hat Enterprise Linux Server Optional EUS (v. 7.6) ntp-doc-4.2.6p5-28.el7_6.1, ntp-perl-4.2.6p5-28.el7_6.1, sntp-4.2.6p5-28.el7_6.1
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) ntp-4.2.6p5-28.el7_6.1, ntpdate-4.2.6p5-28.el7_6.1
    • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) ntp-doc-4.2.6p5-28.el7_6.1, ntp-perl-4.2.6p5-28.el7_6.1, sntp-4.2.6p5-28.el7_6.1
  • RHSA-2019:2077 Released 2019-08-06 · Red Hat rating Low
    ntp security, bug fix, and enhancement update
    • Red Hat Enterprise Linux Client (v. 7) ntp-4.2.6p5-29.el7, ntpdate-4.2.6p5-29.el7
    • Red Hat Enterprise Linux Client Optional (v. 7) ntp-doc-4.2.6p5-29.el7, ntp-perl-4.2.6p5-29.el7, sntp-4.2.6p5-29.el7
    • Red Hat Enterprise Linux ComputeNode (v. 7) ntp-4.2.6p5-29.el7, ntpdate-4.2.6p5-29.el7
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) ntp-doc-4.2.6p5-29.el7, ntp-perl-4.2.6p5-29.el7, sntp-4.2.6p5-29.el7
    • Red Hat Enterprise Linux Server (v. 7) ntp-4.2.6p5-29.el7, ntpdate-4.2.6p5-29.el7
    • Red Hat Enterprise Linux Server Optional (v. 7) ntp-doc-4.2.6p5-29.el7, ntp-perl-4.2.6p5-29.el7, sntp-4.2.6p5-29.el7
    • Red Hat Enterprise Linux Workstation (v. 7) ntp-4.2.6p5-29.el7, ntpdate-4.2.6p5-29.el7
    • Red Hat Enterprise Linux Workstation Optional (v. 7) ntp-doc-4.2.6p5-29.el7, ntp-perl-4.2.6p5-29.el7, sntp-4.2.6p5-29.el7
  • RHSA-2018:3854 Released 2018-12-19 · Red Hat rating Low
    ntp security update
    • Red Hat Enterprise Linux Desktop (v. 6) ntp-4.2.6p5-15.el6_10, ntpdate-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux Desktop Optional (v. 6) ntp-doc-4.2.6p5-15.el6_10, ntp-perl-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux HPC Node (v. 6) ntp-4.2.6p5-15.el6_10, ntpdate-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux HPC Node Optional (v. 6) ntp-doc-4.2.6p5-15.el6_10, ntp-perl-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux Server (v. 6) ntp-4.2.6p5-15.el6_10, ntpdate-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux Server Optional (v. 6) ntp-doc-4.2.6p5-15.el6_10, ntp-perl-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux Workstation (v. 6) ntp-4.2.6p5-15.el6_10, ntpdate-4.2.6p5-15.el6_10
    • Red Hat Enterprise Linux Workstation Optional (v. 6) ntp-doc-4.2.6p5-15.el6_10, ntp-perl-4.2.6p5-15.el6_10
Show 1 more Red Hat advisories
  • RHSA-2018:3853 Released 2018-12-19 · Red Hat rating Low
    ntp security update
    • Red Hat Enterprise Linux HPC Node EUS (v. 6.7) ntp-4.2.6p5-5.el6_7.6, ntpdate-4.2.6p5-5.el6_7.6
    • Red Hat Enterprise Linux HPC Node Optional EUS (v. 6.7) ntp-doc-4.2.6p5-5.el6_7.6, ntp-perl-4.2.6p5-5.el6_7.6
    • Red Hat Enterprise Linux Server EUS (v. 6.7) ntp-4.2.6p5-5.el6_7.6, ntpdate-4.2.6p5-5.el6_7.6
    • Red Hat Enterprise Linux Server Optional EUS (v. 6.7) ntp-doc-4.2.6p5-5.el6_7.6, ntp-perl-4.2.6p5-5.el6_7.6

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux ComputeNode (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux ComputeNode EUS (v. 7.6)Fixed RHSA-2020:1470
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.6)Fixed RHSA-2020:1470
Red Hat Enterprise Linux Desktop (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux Desktop Optional (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux HPC Node (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux HPC Node EUS (v. 6.7)Fixed RHSA-2018:3853
Red Hat Enterprise Linux HPC Node Optional (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux HPC Node Optional EUS (v. 6.7)Fixed RHSA-2018:3853
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux Server EUS (v. 6.7)Fixed RHSA-2018:3853
Red Hat Enterprise Linux Server EUS (v. 7.6)Fixed RHSA-2020:1470
Red Hat Enterprise Linux Server Optional (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux Server Optional EUS (v. 6.7)Fixed RHSA-2018:3853
Red Hat Enterprise Linux Server Optional EUS (v. 7.6)Fixed RHSA-2020:1470
Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux Workstation Optional (v. 6)Fixed RHSA-2018:3854
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2019:2077
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7)Fixed RHSA-2020:1470
Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7)Fixed RHSA-2020:1470

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-12327
  2. 2026-10-03 Alias added: GHSA-gmx7-j3pp-2gxp
  3. 2026-10-27 Priority changed: HIGH → MEDIUM

References

  • TI-2015-06541 Crypto-NAK packets in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows… CVSS 3.1CRITICAL 9.8
  • TI-2014-07543 Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers… CVSS 2.0HIGH 7.5
  • TI-2013-04524 The monlist feature in ntp_request.c in ntpd in NTP before 4.2.7p26 allows remote… CVSS 2.0MEDIUM 5.0
  • TI-2016-06333 The read_mru_list function in NTP before 4.2.8p9 allows remote attackers to cause a… CVSS 3.1HIGH 7.5
  • TI-2016-04280 ntpd in NTP before 4.2.8p8 allows remote attackers to cause a denial of service (daemon… CVSS 3.1HIGH 7.5
  • TI-2023-11691 mstolfp in libntp/mstolfp.c in NTP 4.2.8p15 has an out-of-bounds write when adding a '\0'… CVSS 3.1MEDIUM 5.6
See all 98 →

Sources