Description
The log_config_command function in ntp_parser.y in ntpd in NTP before 4.2.7p42 allows remote attackers to cause a denial of service (ntpd crash) via crafted logconfig commands.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 11 | ntp | 1:4.2.8p3+dfsg-1 | — |
| Debian 8 | ntp | 1:4.2.6.p5+dfsg-7+deb8u1 | DSA-3388-1 |
| Debian 7 | ntp | 1:4.2.6.p5+dfsg-2+deb7u6 | DSA-3388-1 |
| Debian 6.0 | ntp | 1:4.2.6.p2+dfsg-1+deb6u4 | DLA-335-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | ntp | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.5 | USN-2783-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ntp +4 | 4.2.6p5-25.el7 | RHSA-2016:2583 |
| RHEL 6 | ntp +3 | 4.2.6p5-10.el6 | RHSA-2016:0780 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 11 SP3 | ntp | 4.2.8p6-41.1 | SUSE-SU-2016:1311-1 |
| SLES 11 SP2 | ntp | 4.2.8p6-41.1 | SUSE-SU-2016:1311-1 |
| SLES 11 SP2 | yast2-ntp-client | 2.17.14.1-1.12.1 | SUSE-SU-2016:1311-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE OpenStack Cloud 5 | ntp | 4.2.8p6-41.1 | SUSE-SU-2016:1311-1 |
| SUSE Manager Proxy 2.1 | ntp | 4.2.8p6-41.1 | SUSE-SU-2016:1311-1 |
| SUSE Manager 2.1 | ntp | 4.2.8p6-41.1 | SUSE-SU-2016:1311-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ntp +4 | 4.2.6p5-25.0.1.el7 | ELSA-2016-2583 |
Advisories 7
- RHSA-2016:2583 Red Hat Security Advisory: ntp security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2016:0780 Red Hat Security Advisory: ntp security and bug fix update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-335-1 ntp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3388-1 ntp - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-2783-1 ntp vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2016:1311-1 Security update for ntp SUSE / openSUSE Security Updates · Feb 4, 2026
- ELSA-2016-2583 Moderate: ntp security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 9, 2016
References
- SUSE-SU:2016:1912 vendor-advisory
- https://www-01.ibm.com/support/docview.wss?uid=isg3T1024157
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- http://bk1.ntp.org/ntp-dev/?PAGE=patch&REV=4c4fc141LwvcoGp-lLGhkAFp3ZvtrA
- 76475 vdb-entry
- USN-2783-1 vendor-advisory
- https://github.com/ntp-project/ntp/commit/553f2fa65865c31c5e3c48812cfd46176cffdd27
- https://www-01.ibm.com/support/docview.wss?uid=swg21986956
- https://www-01.ibm.com/support/docview.wss?uid=swg21988706
- RHSA-2016:2583 vendor-advisory
- FEDORA-2015-77bfbc1bcd vendor-advisory
- RHSA-2016:0780 vendor-advisory
- DSA-3388 vendor-advisory
- [oss-security] 20150825 Several low impact ntp.org ntpd issues mailing-list
- https://bugzilla.redhat.com/show_bug.cgi?id=1254542
- SUSE-SU:2016:2094 vendor-advisory
- SUSE-SU:2016:1311 vendor-advisory
- FEDORA-2015-14212 vendor-advisory
- https://www-01.ibm.com/support/docview.wss?uid=swg21989542
- https://www-01.ibm.com/support/docview.wss?uid=swg21985122