Every CVE Search/ Get API key

CVE-2017-6460

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x...

8.8 HighFix available

CVE-2017-6460 is a high vulnerability (CVSS 8.8) in Ntp, published March 27, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.68%, the 85th percentile. Fixed in ntp 1:4.2.8p10+dfsg-1.

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.68%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 8.8

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
CVE-2017-6460
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
6.5 MediumAV:N/AC:L/Au:S/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
CVE-2017-6460
Updated
2026-11-02
EUVDEUVD-2017-15517 No score

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
EUVD-2017-15517
Updated
2026-11-03
GitHub AdvisoriesGHSA-8c4c-pjc2-qr4r 8.8

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x...

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
GHSA-8c4c-pjc2-qr4r
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-119
Updated
2026-11-02
OSV 8.8

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
CVE-2017-6460
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2017-6460 8.8

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
DEBIAN-CVE-2017-6460
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVUBUNTU-CVE-2017-6460 8.8

Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote servers have unspecified impact via a long flagstr variable in a restriction list response.

Record
UBUNTU-CVE-2017-6460
CVSS 3.0
8.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVopenSUSE-SU-2024:11102-1 No score

ntp-4.2.8p15-7.2 on GA media

These are all security issues fixed in the ntp-4.2.8p15-7.2 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:11102-1
Updated
2026-11-02
OSVSUSE-SU-2017:1047-1 No score

Security update for ntp

This ntp update to version 4.2.8p10 fixes serveral issues.

This updated enables leap smearing. See /usr/share/doc/packages/ntp/README.leapsmear for details.

Security issues fixed (bsc#1030050):

  • CVE-2017-6464: Denial of Service via Malformed Config
  • CVE-2017-6462: Buffer Overflow in DPTS Clock
  • CVE-2017-6463: Authenticated DoS via Malicious Config Option
  • CVE-2017-6458: Potential Overflows in ctl_put() functions
  • CVE-2017-6451: Improper use of snprintf() in mx4200_send()
  • CVE-2017-6460: Buffer Overflow in ntpq when fetching reslist
  • CVE-2016-9042: 0rigin (zero origin) DoS.
  • ntpq_stripquotes() returns incorrect Value
  • ereallocarray()/eallocarray() underused
  • Copious amounts of Unused Code
  • Off-by-one in Oncore GPS Receiver
  • Makefile does not enforce Security Flags

Bugfixes:

  • Remove spurious log messages (bsc#1014172).
  • clang scan-build findings
  • Support for openssl-1.1.0 without compatibility modes
  • Bugfix 3072 breaks multicastclient
  • forking async worker: interrupted pipe I/O
  • (...) time_pps_create: Exec format error
  • Incorrect Logic for Peer Event Limiting
  • Change the process name of forked DNS worker
  • Trap Configuration Fail
  • Nothing happens if minsane < maxclock < minclock
  • allow -4/-6 on restrict line with mask
  • out-of-bound pointers in ctl_putsys and decode_bitflags
  • Move ntp-kod to /var/lib/ntp, because /var/db is not a standard directory and causes problems for transactional updates.
Record
SUSE-SU-2017:1047-1
Updated
2026-11-02
OSVSUSE-SU-2017:1048-1 No score

Security update for ntp

This ntp update to version 4.2.8p10 fixes serveral issues.

This updated enables leap smearing. See /usr/share/doc/packages/ntp/README.leapsmear for details.

Security issues fixed (bsc#1030050):

  • CVE-2017-6464: Denial of Service via Malformed Config
  • CVE-2017-6462: Buffer Overflow in DPTS Clock
  • CVE-2017-6463: Authenticated DoS via Malicious Config Option
  • CVE-2017-6458: Potential Overflows in ctl_put() functions
  • CVE-2017-6451: Improper use of snprintf() in mx4200_send()
  • CVE-2017-6460: Buffer Overflow in ntpq when fetching reslist
  • CVE-2016-9042: 0rigin (zero origin) DoS.
  • ntpq_stripquotes() returns incorrect Value
  • ereallocarray()/eallocarray() underused
  • Copious amounts of Unused Code
  • Off-by-one in Oncore GPS Receiver
  • Makefile does not enforce Security Flags

Bugfixes:

  • Remove spurious log messages (bsc#1014172).
  • clang scan-build findings
  • Support for openssl-1.1.0 without compatibility modes
  • Bugfix 3072 breaks multicastclient
  • forking async worker: interrupted pipe I/O
  • (...) time_pps_create: Exec format error
  • Incorrect Logic for Peer Event Limiting
  • Change the process name of forked DNS worker
  • Trap Configuration Fail
  • Nothing happens if minsane < maxclock < minclock
  • allow -4/-6 on restrict line with mask
  • out-of-bound pointers in ctl_putsys and decode_bitflags
  • Move ntp-kod to /var/lib/ntp, because /var/db is not a standard directory and causes problems for transactional updates.
Record
SUSE-SU-2017:1048-1
Updated
2026-11-02
OSVSUSE-SU-2017:1052-1 No score

Security update for ntp

This ntp update to version 4.2.8p10 fixes the following issues:

Security issues fixed (bsc#1030050):

  • CVE-2017-6464: Denial of Service via Malformed Config
  • CVE-2017-6462: Buffer Overflow in DPTS Clock
  • CVE-2017-6463: Authenticated DoS via Malicious Config Option
  • CVE-2017-6458: Potential Overflows in ctl_put() functions
  • CVE-2017-6451: Improper use of snprintf() in mx4200_send()
  • CVE-2017-6460: Buffer Overflow in ntpq when fetching reslist
  • CVE-2016-9042: 0rigin (zero origin) DoS.
  • ntpq_stripquotes() returns incorrect Value
  • ereallocarray()/eallocarray() underused
  • Copious amounts of Unused Code
  • Off-by-one in Oncore GPS Receiver
  • Makefile does not enforce Security Flags

Bugfixes:

  • Remove spurious log messages (bsc#1014172).
  • Fixing ppc and ppc64 linker issue (bsc#1031085).
  • clang scan-build findings
  • Support for openssl-1.1.0 without compatibility modes
  • Bugfix 3072 breaks multicastclient
  • forking async worker: interrupted pipe I/O
  • (...) time_pps_create: Exec format error
  • Incorrect Logic for Peer Event Limiting
  • Change the process name of forked DNS worker
  • Trap Configuration Fail
  • Nothing happens if minsane < maxclock < minclock
  • allow -4/-6 on restrict line with mask
  • out-of-bound pointers in ctl_putsys and decode_bitflags
  • Move ntp-kod to /var/lib/ntp, because /var/db is not a standard directory and causes problems for transactional updates.
Record
SUSE-SU-2017:1052-1
Updated
2026-11-02
OSVUSN-3349-1 No score

ntp vulnerabilities

Yihan Lian discovered that NTP incorrectly handled certain large request data values. A remote attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS. (CVE-2016-2519)

Miroslav Lichvar discovered that NTP incorrectly handled certain spoofed addresses when performing rate limiting. A remote attacker could possibly use this issue to perform a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10. (CVE-2016-7426)

Matthew Van Gundy discovered that NTP incorrectly handled certain crafted broadcast mode packets. A remote attacker could possibly use this issue to perform a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10. (CVE-2016-7427, CVE-2016-7428)

Miroslav Lichvar discovered that NTP incorrectly handled certain responses. A remote attacker could possibly use this issue to perform a denial of service. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, and Ubuntu 16.10. (CVE-2016-7429)

Sharon Goldberg and Aanchal Malhotra discovered that NTP incorrectly handled origin timestamps of zero. A remote attacker could possibly use this issue to bypass the origin timestamp protection mechanism. This issue only affected Ubuntu 16.10. (CVE-2016-7431)

Brian Utterback, Sharon Goldberg and Aanchal Malhotra discovered that NTP incorrectly performed initial sync calculations. This issue only applied to Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-7433)

Magnus Stubman discovered that NTP incorrectly handled certain mrulist queries. A remote attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. This issue only affected Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-7434)

Matthew Van Gund discovered that NTP incorrectly handled origin timestamp checks. A remote attacker could possibly use this issue to perform a denial of service. This issue only affected Ubuntu Ubuntu 16.10, and Ubuntu 17.04. (CVE-2016-9042)

Matthew Van Gundy discovered that NTP incorrectly handled certain control mode packets. A remote attacker could use this issue to set or unset traps. This issue only applied to Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-9310)

Matthew Van Gundy discovered that NTP incorrectly handled the trap service. A remote attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. This issue only applied to Ubuntu 14.04 LTS, Ubuntu 16.04 LTS and Ubuntu 16.10. (CVE-2016-9311)

It was discovered that NTP incorrectly handled memory when processing long variables. A remote authenticated user could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2017-6458)

It was discovered that NTP incorrectly handled memory when processing long variables. A remote authenticated user could possibly use this issue to cause NTP to crash, resulting in a denial of service. This issue only applied to Ubuntu 16.04 LTS, Ubuntu 16.10 and Ubuntu 17.04. (CVE-2017-6460)

It was discovered that the NTP legacy DPTS refclock driver incorrectly handled the /dev/datum device. A local attacker could possibly use this issue to cause a denial of service. (CVE-2017-6462)

It was discovered that NTP incorrectly handled certain invalid settings in a :config directive. A remote authenticated user could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2017-6463)

It was discovered that NTP incorrectly handled certain invalid mode configuration directives. A remote authenticated user could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2017-6464)

Record
USN-3349-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ntp
Debian:11
before 1:4.2.8p10+dfsg-1
1:4.2.8p10+dfsg-1
ntp
SUSE:Linux Enterprise Server for SAP Applications 12
before 4.2.8p10-46.23.1
4.2.8p10-46.23.1
ntp
SUSE:Linux Enterprise Server 12-LTSS
before 4.2.8p10-46.23.1
4.2.8p10-46.23.1
ntp
SUSE:Linux Enterprise Desktop 12 SP1
before 4.2.8p10-60.1
4.2.8p10-60.1
ntp
SUSE:Linux Enterprise Desktop 12 SP2
before 4.2.8p10-60.1
4.2.8p10-60.1
ntp
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 4.2.8p10-60.1
4.2.8p10-60.1
ntp
SUSE:Linux Enterprise Server 12 SP1
before 4.2.8p10-60.1
4.2.8p10-60.1
ntp
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 4.2.8p10-60.1
4.2.8p10-60.1
ntp
SUSE:Linux Enterprise Server 12 SP2
before 4.2.8p10-60.1
4.2.8p10-60.1
ntp
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 4.2.8p10-60.1
4.2.8p10-60.1
Show 5 moreShow less
Affected packages
PackageAffectedFixed
ntp
SUSE:Linux Enterprise Server 11 SP4
before 4.2.8p10-63.1
4.2.8p10-63.1
ntp
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
before 4.2.8p10-63.1
4.2.8p10-63.1
ntp
Ubuntu:16.04:LTS
before 1:4.2.8p4+dfsg-3ubuntu5.5, plus listed versions
1:4.2.6.p5+dfsg-3ubuntu81:4.2.6.p5+dfsg-3ubuntu8.11:4.2.6.p5+dfsg-3ubuntu91:4.2.8p4+dfsg-3ubuntu11:4.2.8p4+dfsg-3ubuntu2
Show 7 moreShow less
1:4.2.8p4+dfsg-3ubuntu31:4.2.8p4+dfsg-3ubuntu41:4.2.8p4+dfsg-3ubuntu51:4.2.8p4+dfsg-3ubuntu5.11:4.2.8p4+dfsg-3ubuntu5.21:4.2.8p4+dfsg-3ubuntu5.31:4.2.8p4+dfsg-3ubuntu5.4
1:4.2.8p4+dfsg-3ubuntu5.5
ntp
Ubuntu:14.04:LTS
before 1:4.2.6.p5+dfsg-3ubuntu2.14.04.11, plus listed versions
1:4.2.6.p5+dfsg-3ubuntu21:4.2.6.p5+dfsg-3ubuntu2.14.04.11:4.2.6.p5+dfsg-3ubuntu2.14.04.21:4.2.6.p5+dfsg-3ubuntu2.14.04.31:4.2.6.p5+dfsg-3ubuntu2.14.04.5
Show 4 moreShow less
1:4.2.6.p5+dfsg-3ubuntu2.14.04.61:4.2.6.p5+dfsg-3ubuntu2.14.04.71:4.2.6.p5+dfsg-3ubuntu2.14.04.81:4.2.6.p5+dfsg-3ubuntu2.14.04.10
1:4.2.6.p5+dfsg-3ubuntu2.14.04.11
ntp
openSUSE:Tumbleweed
before 4.2.8p15-7.2
4.2.8p15-7.2

History

History
WhenChangedSources
2026-11-03aliasesEUVD
2026-11-02createdCVE List, GitHub Advisories, NVD, OSV

References

Show 46 moreShow less
MoveEnter Open