# CVE-2018-7183: ntp: Buffer overflow in the decodearr function in ntpq in ntp 4.2.8p6 through 4.2.8p10 allows remote attackers to execute...

CVE-2018-7183 is fixed in 3 products on 1 platform, first by ntp 1:4.2.8p10+dfsg-5ubuntu7.1, released March 7, 2018. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2018-7183
- Priority: Routine
- CVSS: n/a (Medium)
- EPSS: 0.1021
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Mar 7, 2018

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | ntp Ubuntu 18.04.6 LTS (bionic) | 1:4.2.8p10+dfsg-5ubuntu7.1 | [ntp 1:4.2.8p10+dfsg-5ubuntu7.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ntp-1-4.2.8p10-dfsg-5ubuntu7.1.md) | Mar 7, 2018 |
| Linux | ntpdate Ubuntu 18.04.6 LTS (bionic) | 1:4.2.8p10+dfsg-5ubuntu7.1 | [ntpdate 1:4.2.8p10+dfsg-5ubuntu7.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ntpdate-1-4.2.8p10-dfsg-5ubuntu7.1.md) | Mar 7, 2018 |
| Linux | sntp Ubuntu 18.04.6 LTS (bionic) | 1:4.2.8p10+dfsg-5ubuntu7.1 | [sntp 1:4.2.8p10+dfsg-5ubuntu7.1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-sntp-1-4.2.8p10-dfsg-5ubuntu7.1.md) | Mar 7, 2018 |

---

Data as of 2026-11-07T12:40:37Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo
