CVE-2017-6460
Stack-based buffer overflow in the reslist function in ntpq in NTP before 4.2.8p10 and 4.3.x...
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
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 High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.5 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
ntpDebian:11 |
before 1:4.2.8p10+dfsg-1 | 1:4.2.8p10+dfsg-1 |
ntpSUSE:Linux Enterprise Server for SAP Applications 12 |
before 4.2.8p10-46.23.1 | 4.2.8p10-46.23.1 |
ntpSUSE:Linux Enterprise Server 12-LTSS |
before 4.2.8p10-46.23.1 | 4.2.8p10-46.23.1 |
ntpSUSE:Linux Enterprise Desktop 12 SP1 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
ntpSUSE:Linux Enterprise Desktop 12 SP2 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
ntpSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
ntpSUSE:Linux Enterprise Server 12 SP1 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
ntpSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
ntpSUSE:Linux Enterprise Server 12 SP2 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
ntpSUSE:Linux Enterprise Server for SAP Applications 12 SP2 |
before 4.2.8p10-60.1 | 4.2.8p10-60.1 |
Show 5 moreShow less
| Package | Affected | Fixed |
|---|---|---|
ntpSUSE:Linux Enterprise Server 11 SP4 |
before 4.2.8p10-63.1 | 4.2.8p10-63.1 |
ntpSUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 4.2.8p10-63.1 | 4.2.8p10-63.1 |
ntpUbuntu: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 less1: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 |
ntpUbuntu: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 less1: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 |
ntpopenSUSE:Tumbleweed |
before 4.2.8p15-7.2 | 4.2.8p15-7.2 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
securitytracker.com/id/1038123
support.apple.com/HT208144
securityfocus.com/bid/97052
support.ntp.org/bin/view/Main/NtpBug3377
support.ntp.org/bin/view/Main/SecurityNotice
support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us
Show 46 moreShow less
security.paloaltonetworks.com/CVE-2017-6460
nvd.nist.gov/vuln/detail/CVE-2017-6460
github.com/advisories/GHSA-8c4c-pjc2-qr4r
security-tracker.debian.org/tracker/CVE-2017-6460
suse.com/support/update/announcement/2017/suse-su-20171047-1
bugzilla.suse.com/1014172
bugzilla.suse.com/1030050
suse.com/security/cve/CVE-2016-9042
suse.com/security/cve/CVE-2017-6451
suse.com/security/cve/CVE-2017-6458
suse.com/security/cve/CVE-2017-6460
suse.com/security/cve/CVE-2017-6462
suse.com/security/cve/CVE-2017-6463
suse.com/security/cve/CVE-2017-6464
suse.com/support/update/announcement/2017/suse-su-20171048-1
suse.com/support/update/announcement/2017/suse-su-20171052-1
bugzilla.suse.com/1031085
ubuntu.com/security/CVE-2017-6460
ubuntu.com/security/notices/USN-3349-1
cve.org/CVERecord?id=CVE-2017-6460
ubuntu.com/security/CVE-2016-2519
ubuntu.com/security/CVE-2016-7426
ubuntu.com/security/CVE-2016-7427
ubuntu.com/security/CVE-2016-7428
ubuntu.com/security/CVE-2016-7429
ubuntu.com/security/CVE-2016-7431
ubuntu.com/security/CVE-2016-7433
ubuntu.com/security/CVE-2016-7434
ubuntu.com/security/CVE-2016-9042
ubuntu.com/security/CVE-2016-9310
ubuntu.com/security/CVE-2016-9311
ubuntu.com/security/CVE-2017-6458
ubuntu.com/security/CVE-2017-6462
ubuntu.com/security/CVE-2017-6463
ubuntu.com/security/CVE-2017-6464
suse.com/security/cve/CVE-2018-12327
suse.com/security/cve/CVE-2018-7170
suse.com/security/cve/CVE-2018-7182
suse.com/security/cve/CVE-2018-7183
suse.com/security/cve/CVE-2018-7184
suse.com/security/cve/CVE-2018-7185
suse.com/security/cve/CVE-2018-8956
suse.com/security/cve/CVE-2019-8936
suse.com/security/cve/CVE-2020-11868
suse.com/security/cve/CVE-2020-13817
suse.com/security/cve/CVE-2020-15025