
CVE catalog
CVE-2018-7182
ntpsec: CVE-2018-7182
- Severity
- Medium · CVSS 5.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 28.83% · Oct 25, 2026
The ctl_getitem method in ntpd in ntp-4.2.8p6 before 4.2.8p11 allows remote attackers to cause a denial of service (out-of-bounds read) via a crafted mode 6 packet with a ntpd instance from 4.2.8p6 through 4.2.8p10.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | ntpsec | sid | 1.2.5+dfsg-1 | fixed |
| Debian | ntpsec | forky | 1.2.5+dfsg-1 | fixed |
| Debian | ntpsec | trixie | 1.2.3+dfsg1-8 | fixed |
| Debian | ntpsec | bookworm | 1.2.2+dfsg1-1+deb12u1 | fixed |
| Debian | ntpsec | bookworm-security | 1.2.2+dfsg1-1+deb12u1 | fixed |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.1 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.2 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.3 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.5 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.6 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.7 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.8 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.10 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.11 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.12 | vulnerable |
| Ubuntu | ntp | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13 | fixed |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu8 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu8.1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.6.p5+dfsg-3ubuntu9 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu2 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu3 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu4 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.1 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.2 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.3 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.4 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.5 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.6 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.7 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.8 | vulnerable |
| Ubuntu | ntp | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.9 | fixed |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu5 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu6 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu7 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu7.1 | fixed |
| Opensuse | ntpsec | tumbleweed | 1.2.1-1.2 | fixed |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu3 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu4 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu5 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu6 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu7 | vulnerable |
| Ubuntu | ntp | 18.04 | 1:4.2.8p10+dfsg-5ubuntu7.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | ntpsec | source | sid | 1.0.0+dfsg1-5 | not yet assigned | Not reported | Not reported |
| Debian | ntpsec | source | forky | 1.0.0+dfsg1-5 | not yet assigned | Not reported | Not reported |
| Debian | ntpsec | source | trixie | 1.0.0+dfsg1-5 | not yet assigned | Not reported | Not reported |
| Debian | ntpsec | source | bookworm | 1.0.0+dfsg1-5 | not yet assigned | Not reported | Not reported |
| Ubuntu | ntp | deb | 14.04 | 1:4.2.6.p5+dfsg-3ubuntu2.14.04.13 | Not reported | USN-3707-1 | Not reported |
| Ubuntu | ntp | deb | 16.04 | 1:4.2.8p4+dfsg-3ubuntu5.9 | Not reported | USN-3707-1 | Not reported |
| Ubuntu | ntp | deb | 18.04 | 1:4.2.8p10+dfsg-5ubuntu7.1 | Not reported | USN-3707-1 | Not reported |
| Opensuse | ntpsec | rpm | tumbleweed | 1.2.1-1.2 | Not reported | OPENSUSE-SU-2024:11103-1 | Not reported |
| Ubuntu | ntp | deb | 18.04 | 1:4.2.8p10+dfsg-5ubuntu7.1 | Not reported | UBUNTU-CVE-2018-7182 | Not reported |
OpenFactory catalog packages
[openSUSE Tumbleweed]
- [libntpc1]Unknown
Source package: [ntpsec]
Details (1)
1.2.5-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.2.1-1.2Version impact unknown
dsa · ntpsec · opensuse · tumbleweed
- [ntpsec-devel]Unknown
Source package: [ntpsec]
Details (1)
1.2.5-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.2.1-1.2Version impact unknown
dsa · ntpsec · opensuse · tumbleweed
- [ntpsec-doc]Unknown
Source package: [ntpsec]
Details (1)
1.2.5-1.1· noarch · tumbleweedUnknown · Fixed:
1.2.1-1.2Version impact unknown
dsa · ntpsec · opensuse · tumbleweed
- [ntpsec-utils]Unknown
Source package: [ntpsec]
Details (1)
1.2.5-1.1· noarch · tumbleweedUnknown · Fixed:
1.2.1-1.2Version impact unknown
dsa · ntpsec · opensuse · tumbleweed
- [python3-ntp]Unknown
Source package: [ntpsec]
Details (1)
1.2.5-1.1· x86_64 · tumbleweedUnknown · Fixed:
1.2.1-1.2Version impact unknown
dsa · ntpsec · opensuse · tumbleweed
[Debian 12 (Bookworm)]
- [ntp]Fixed
Source package: [ntpsec]
Details (4)
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntpdate]Fixed
Source package: [ntpsec]
Details (4)
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntp-doc]Fixed
Source package: [ntpsec]
Details (4)
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntpsec]Fixed
Details (4)
1.2.2+dfsg1-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntpsec-doc]Fixed
Source package: [ntpsec]
Details (4)
1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntpsec-ntpdate]Fixed
Source package: [ntpsec]
Details (4)
1.2.2+dfsg1-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntpsec-ntpdig]Fixed
Source package: [ntpsec]
Details (4)
1.2.2+dfsg1-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [ntpsec-ntpviz]Fixed
Source package: [ntpsec]
Details (4)
1.2.2+dfsg1-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [python3-ntp]Fixed
Source package: [ntpsec]
Details (4)
1.2.2+dfsg1-1+deb12u1· amd64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· amd64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1.2.2+dfsg1-1+deb12u1· arm64 · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
- [sntp]Fixed
Source package: [ntpsec]
Details (4)
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookwormFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
1:4.2.8p15+dfsg-2~1.2.2+dfsg1-1+deb12u1· all · bookworm-securityFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · bookworm; dsa · ntpsec · debian · 12
[Debian 13 (Trixie)]
- [ntpsec]Fixed
Details (2)
1.2.3+dfsg1-8· amd64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
1.2.3+dfsg1-8· arm64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
- [ntpsec-doc]Fixed
Source package: [ntpsec]
Details (2)
1.2.3+dfsg1-8· all · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
1.2.3+dfsg1-8· all · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
- [ntpsec-ntpdate]Fixed
Source package: [ntpsec]
Details (2)
1.2.3+dfsg1-8· amd64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
1.2.3+dfsg1-8· arm64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
- [ntpsec-ntpdig]Fixed
Source package: [ntpsec]
Details (2)
1.2.3+dfsg1-8· amd64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
1.2.3+dfsg1-8· arm64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
- [ntpsec-ntpviz]Fixed
Source package: [ntpsec]
Details (2)
1.2.3+dfsg1-8· amd64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
1.2.3+dfsg1-8· arm64 · trixieFixed · Fixed:
1.0.0+dfsg1-5dsa · ntpsec · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2018_0808-1.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-7182]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-7182]
- [https://osv.dev/vulnerability/USN-3707-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11103-1]
- [https://security-tracker.debian.org/tracker/CVE-2018-7182]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]