CVE-2015-7852: Input Validation

Published Oct 22, 2015
·
Updated

ntpq in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote attackers to cause a denial of service (crash) via crafted mode 6 response packets.

Other sources

The following flaw was found in ntpd:

A potential off by one vulnerability exists in the cookedprint functionality of ntpq. A specially crafted buffer could cause a buffer overflow potentially resulting in null byte being written out of bounds.

External References:

http://talosintel.com/reports/TALOS-2015-0063/ http://support.ntp.org/bin/view/Main/NtpBug2919

— Red Hat

Affected Software

49 affected componentsFixes available
NTP ntp>=4.2.0<4.2.8
NTP ntp>=4.3.0<4.3.77
NTP ntp=4.2.8
NTP ntp=4.2.8-p1
NTP ntp=4.2.8-p1-beta1
NTP ntp=4.2.8-p1-beta2
NTP ntp=4.2.8-p1-beta3
NTP ntp=4.2.8-p1-beta4
NTP ntp=4.2.8-p1-beta5
NTP ntp=4.2.8-p1-rc1
NTP ntp=4.2.8-p1-rc2
NTP ntp=4.2.8-p2
NTP ntp=4.2.8-p2-rc1
NTP ntp=4.2.8-p2-rc2
NTP ntp=4.2.8-p2-rc3
NTP ntp=4.2.8-p3
NTP ntp=4.2.8-p3-rc1
NTP ntp=4.2.8-p3-rc2
NTP ntp=4.2.8-p3-rc3
Debian Debian Linux=7.0
Debian Debian Linux=8.0
Debian Debian Linux=9.0
NetApp OnCommand Balance
NetApp Oncommand Performance Manager
NetApp Oncommand Unified Manager Clustered Data Ontap
NetApp Clustered Data ONTAP
NetApp Data Ontap 7-mode
Oracle Linux=6
redhat Enterprise Linux Desktop=6.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Server=6.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.3
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Eus=7.3
redhat Enterprise Linux Server Eus=7.4
redhat Enterprise Linux Server Eus=7.5
redhat Enterprise Linux Server Eus=7.6
redhat Enterprise Linux Server Eus=7.7
redhat Enterprise Linux Server Tus=7.3
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Workstation=6.0
redhat Enterprise Linux Workstation=7.0
redhat/ntp<4.2.8
4.2.8
debian/ntp<1:4.2.8p4+dfsg-1
1:4.2.8p4+dfsg-1
debian/ntp
1:4.2.6.p2+dfsg-1+deb6u41:4.2.6.p5+dfsg-2+deb7u61:4.2.6.p5+dfsg-7+deb8u11:4.2.8p4+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.8p4+dfsg-1
  3. Upgrade

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

    Fixed in 1:4.2.6.p2+dfsg-1+deb6u4Fixed in 1:4.2.6.p5+dfsg-2+deb7u6Fixed in 1:4.2.6.p5+dfsg-7+deb8u1Fixed in 1:4.2.8p4+dfsg-1

Event History

Oct 22, 2015
Data Sourced
via Red Hat·11:31 AM
DescriptionSeverityAffected Software
Aug 7, 2017
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Data Sourced
08:29 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:29 PM
DescriptionSeverityAffected 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-7852?

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

2

How do I fix CVE-2015-7852?

To fix CVE-2015-7852, upgrade NTP to version 4.2.8p4 or 4.3.77 or later.

3

What systems are affected by CVE-2015-7852?

CVE-2015-7852 affects NTP versions 4.2.8 prior to p4 and 4.3.x prior to 4.3.77.

4

Is CVE-2015-7852 exploitable remotely?

Yes, CVE-2015-7852 can be exploited remotely via crafted mode 6 response packets.

5

What is the impact of CVE-2015-7852 on my system?

The impact of CVE-2015-7852 is the potential crashing of the NTP daemon, leading to denial of service.

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