Description
Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute arbitrary code by leveraging an ntpq query and sending a response with a crafted array.
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.8p11+dfsg-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | ntp | 1:4.2.8p10+dfsg-5ubuntu7.1 | USN-3707-1 |
| Ubuntu 16.04 LTS | ntp | 1:4.2.8p4+dfsg-3ubuntu5.9 | USN-3707-1 |
| Ubuntu 14.04 LTS | ntp | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13 | USN-3707-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP3 | ntp | 4.2.8p11-64.3.2 | SUSE-SU-2018:1765-1, SUSE-SU-2018:0956-1 |
| SLES 12 SP2 | ntp | 4.2.8p11-64.5.1 | SUSE-SU-2018:1765-2, SUSE-SU-2018:1765-1 |
| SLES 12 SP1 | ntp | 4.2.8p11-64.5.1 | SUSE-SU-2018:1765-1 |
| SLES 12 | ntp | 4.2.8p11-46.26.2 | SUSE-SU-2018:1464-1 |
| SLES 11 SP4 | ntp | 4.2.8p11-64.4.1 | SUSE-SU-2018:0808-1 |
Show 6 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP3 | ntp | 4.2.8p11-64.3.2 | SUSE-SU-2018:1765-1, SUSE-SU-2018:0956-1 |
| SLES for SAP 12 SP2 | ntp | 4.2.8p11-64.5.1 | SUSE-SU-2018:1765-1 |
| SLES for SAP 12 SP1 | ntp | 4.2.8p11-64.5.1 | SUSE-SU-2018:1765-1 |
| SLES for SAP 11 SP4 | ntp | 4.2.8p11-64.4.1 | SUSE-SU-2018:0808-1 |
| SUSE OpenStack Cloud 7 | ntp | 4.2.8p11-64.5.1 | SUSE-SU-2018:1765-1 |
| SUSE Enterprise Storage 4 | ntp | 4.2.8p11-64.5.1 | SUSE-SU-2018:1765-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | ntp | 4.2.8p15-7.2 | openSUSE-SU-2024:11102-1 |
Advisories 8
- USN-3707-1 ntp vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2018:1765-2 Security update for ntp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0956-1 Security update for ntp SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11102-1 ntp-4.2.8p15-7.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1765-1 Security update for ntp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:0808-1 Security update for ntp SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:1464-1 Security update for ntp SUSE / openSUSE Security Updates · May 2, 2025
- VDE-2022-032 AUMA: Multiple Vulnerabilities in Automation Runtime NTP Service CERT@VDE · Aug 9, 2022
References
- GLSA-201805-12 vendor-advisory
- FreeBSD-SA-18:02 vendor-advisory
- USN-3707-2 vendor-advisory
- USN-3707-1 vendor-advisory
- 103351 vdb-entry
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://security.netapp.com/advisory/ntap-20180626-0001/
- http://support.ntp.org/bin/view/Main/SecurityNotice#February_2018_ntp_4_2_8p11_NTP_S
- https://www.synology.com/support/security/Synology_SA_18_13
- http://support.ntp.org/bin/view/Main/NtpBug3414
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03962en_us