CVE-2015-8158: Medium severity NTP ntp vulnerability

Published Jan 20, 2016
·
Updated

A flaw was found in the way the ntpq client certain processed incoming packets in a loop in the getresponse() function:

The loop's only stopping conditions are receiving a complete and correct response or hitting a small number of error conditions. If the packet contains incorrect values that don't trigger one of the error conditions, the loop continues to receive new packets.

A remote attacker could potentially use this flaw to crash an ntpq client instance. This attack requires the attacker to do one of the following:

Own a malicious NTP server that the client trusts

Prevent a legitimate NTP server from sending packets to the 'ntpq' client

MITM the 'ntpq' communications between the 'ntpq' client and the NTP server

Other sources

The getresponse function in ntpq in NTP versions before 4.2.8p9 and 4.3.x before 4.3.90 allows remote attackers to cause a denial of service (infinite loop) via crafted packets with incorrect values.

Affected Software

93 affected componentsFixes available
NTP ntp<=4.2.8
NTP ntp=4.3.0
NTP ntp=4.3.1
NTP ntp=4.3.2
NTP ntp=4.3.3
NTP ntp=4.3.4
NTP ntp=4.3.5
NTP ntp=4.3.6
NTP ntp=4.3.7
NTP ntp=4.3.8
NTP ntp=4.3.10
NTP ntp=4.3.11
NTP ntp=4.3.12
NTP ntp=4.3.13
NTP ntp=4.3.14
NTP ntp=4.3.15
NTP ntp=4.3.16
NTP ntp=4.3.17
NTP ntp=4.3.18
NTP ntp=4.3.19
NTP ntp=4.3.20
NTP ntp=4.3.21
NTP ntp=4.3.22
NTP ntp=4.3.23
NTP ntp=4.3.24
NTP ntp=4.3.25
NTP ntp=4.3.26
NTP ntp=4.3.27
NTP ntp=4.3.28
NTP ntp=4.3.29
NTP ntp=4.3.30
NTP ntp=4.3.31
NTP ntp=4.3.32
NTP ntp=4.3.33
NTP ntp=4.3.34
NTP ntp=4.3.35
NTP ntp=4.3.36
NTP ntp=4.3.37
NTP ntp=4.3.38
NTP ntp=4.3.39
NTP ntp=4.3.40
NTP ntp=4.3.41
NTP ntp=4.3.42
NTP ntp=4.3.43
NTP ntp=4.3.44
NTP ntp=4.3.45
NTP ntp=4.3.46
NTP ntp=4.3.47
NTP ntp=4.3.48
NTP ntp=4.3.49
NTP ntp=4.3.50
NTP ntp=4.3.51
NTP ntp=4.3.52
NTP ntp=4.3.53
NTP ntp=4.3.54
NTP ntp=4.3.55
NTP ntp=4.3.56
NTP ntp=4.3.57
NTP ntp=4.3.58
NTP ntp=4.3.59
NTP ntp=4.3.60
NTP ntp=4.3.61
NTP ntp=4.3.62
NTP ntp=4.3.63
NTP ntp=4.3.64
NTP ntp=4.3.65
NTP ntp=4.3.66
NTP ntp=4.3.67
NTP ntp=4.3.68
NTP ntp=4.3.69
NTP ntp=4.3.70
NTP ntp=4.3.71
NTP ntp=4.3.72
NTP ntp=4.3.73
NTP ntp=4.3.74
NTP ntp=4.3.75
NTP ntp=4.3.76
NTP ntp=4.3.77
NTP ntp=4.3.78
NTP ntp=4.3.79
NTP ntp=4.3.80
NTP ntp=4.3.81
NTP ntp=4.3.82
NTP ntp=4.3.83
NTP ntp=4.3.84
NTP ntp=4.3.85
NTP ntp=4.3.86
NTP ntp=4.3.87
NTP ntp=4.3.88
NTP ntp=4.3.89
redhat/ntp<4.2.8
4.2.8
debian/ntp<1:4.2.8p7+dfsg-1
1:4.2.8p7+dfsg-1
debian/ntp
1:4.2.6.p5+dfsg-2+deb7u71:4.2.6.p5+dfsg-7+deb8u21:4.2.8p7+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ntp to a version that resolves this vulnerability.

    Fixed in 4.2.8
  2. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.8p7+dfsg-1
  3. Upgrade

    Upgrade debian/ntp to a version that resolves this vulnerability.

    Fixed in 1:4.2.6.p5+dfsg-2+deb7u7Fixed in 1:4.2.6.p5+dfsg-7+deb8u2Fixed in 1:4.2.8p7+dfsg-1
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.2.8p9
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.3.90

Event History

Jan 20, 2016
Data Sourced
via Red Hat·11:43 AM
DescriptionSeverityAffected Software
Jan 30, 2017
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description
Data Sourced
09:59 PM
DescriptionSeverityAffected Software
May 13, 2026
Updated
via NVD·12:24 AM
Affected Software
Nov 24, 2026
Withdrawn
via OSV·04:29 AM

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2015-8158?

CVE-2015-8158 has a severity rating of medium due to its potential to cause denial of service.

2

How do I fix CVE-2015-8158?

To fix CVE-2015-8158, upgrade to NTP versions 4.2.8p9 or 4.3.90 or later.

3

What are the affected software versions for CVE-2015-8158?

CVE-2015-8158 affects NTP versions before 4.2.8p9 and 4.3.x prior to 4.3.90.

4

Can CVE-2015-8158 be exploited remotely?

Yes, CVE-2015-8158 can be exploited remotely by attackers sending crafted packets.

5

What type of vulnerability is CVE-2015-8158?

CVE-2015-8158 is categorized as a denial of service vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203