CVE-2016-2518
The MATCH_ASSOC function in NTP before version 4.2.8p9 and 4.3.x before 4.3.92 allows remote attackers to cause an out-of-bounds…
Check your servers for CVE-2016-2518
The Vulnpocalypse agent sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2016-2518 affects a package, with the command that installs the fix. The free plan covers one server and does not need a credit card.
Description
The MATCH_ASSOC function in NTP before version 4.2.8p9 and 4.3.x before 4.3.92 allows remote attackers to cause an out-of-bounds reference via an addpeer request with a large hmode value.
Exploitation
EPSS 15.0%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.3% of all scored CVEs. Scores of 27 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2016-2518 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2016-2518RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2016-2518Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2016-2518
trivy image --scanners vuln IMAGE | grep CVE-2016-2518
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server or read how to install the agent.
References
Advisories
- USN-3096-1 ubuntu.com · vendor advisory
- DSA-3629 debian.org · vendor advisory
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html oracle.com
- http://support.ntp.org/bin/view/Main/NtpBug3009 support.ntp.org
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html oracle.com
- RHSA-2016:1141 access.redhat.com · vendor advisory
- SUSE-SU-2016:1912 lists.opensuse.org · vendor advisory
- VU#718152 kb.cert.org · third party advisory
- RHSA-2016:1552 rhn.redhat.com · vendor advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html oracle.com
- https://security.netapp.com/advisory/ntap-20171004-0002/ security.netapp.com
- http://support.ntp.org/bin/view/Main/SecurityNotice#April_2016_ntp_4_2_8p7_Security support.ntp.org
15 more
- 20160428 Multiple Vulnerabilities in Network Time Protocol Daemon Affecting Cisco Products: April 2016 tools.cisco.com · vendor advisory
- FreeBSD-SA-16:16 security.FreeBSD.org · vendor advisory
- SUSE-SU-2016:2094 lists.opensuse.org · vendor advisory
- openSUSE-SU-2016:1423 lists.opensuse.org · vendor advisory
- GLSA-201607-15 security.gentoo.org · vendor advisory
- openSUSE-SU-2016:1329 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:1471 lists.opensuse.org · vendor advisory
- FEDORA-2016-5b2eb0bf9c lists.fedoraproject.org · vendor advisory
- SUSE-SU-2016:1291 lists.opensuse.org · vendor advisory
- DSA-3629 debian.org · vendor advisory
- https://support.f5.com/csp/article/K20804323 support.f5.com
- SUSE-SU-2016:1568 lists.opensuse.org · vendor advisory
- SUSE-SU-2016:1278 lists.opensuse.org · vendor advisory
- FEDORA-2016-ed8c6c0426 lists.fedoraproject.org · vendor advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-211752.pdf cert-portal.siemens.com
Other references
- 1035705 securitytracker.com · vdb entry
- 88226 securityfocus.com · vdb entry
- http://packetstormsecurity.com/files/136864/Slackware-Security-Advisory-ntp-Updates.html packetstormsecurity.com
- 20160429 [slackware-security] ntp (SSA:2016-120-01) securityfocus.com · mailing list
- 20160429 [slackware-security] ntp (SSA:2016-120-01) securityfocus.com · mailing list
- https://us-cert.cisa.gov/ics/advisories/icsa-21-159-11 us-cert.cisa.gov
Source: the record CVE-2016-2518 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse