Every CVE Search/ Get API key

CVE-2015-5195

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of...

7.5 HighPublic exploitFix available

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

8.75%Up 5.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 7.5

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
CVE-2015-5195
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-20
Updated
2026-11-02
CVE List No score

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
CVE-2015-5195
Updated
2026-11-02
EUVDEUVD-2015-5196 No score

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
EUVD-2015-5196
Updated
2026-11-03
GitHub AdvisoriesGHSA-rr6m-2g2v-4vm5 7.5

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of...

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
GHSA-rr6m-2g2v-4vm5
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-20
Updated
2026-11-02
OSV 7.5

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
CVE-2015-5195
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2015-5195 7.5

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
DEBIAN-CVE-2015-5195
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2015-5195 7.5

ntp_openssl.m4 in ntpd in NTP before 4.2.7p112 allows remote attackers to cause a denial of service (segmentation fault) via a crafted statistics or filegen configuration command that is not enabled during compilation.

Record
UBUNTU-CVE-2015-5195
CVSS 3.0
7.5 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVMGASA-2015-0348 No score

Updated ntp packages fix security vulnerabilities

Updated ntp packages fix security vulnerability:

A flaw was found in the way ntpd processed certain remote configuration packets. An attacker could use a specially crafted package to cause ntpd to crash if the attacker had authenticated access to remote ntpd configuration (CVE-2015-5146).

It was found that ntpd could crash due to an uninitialized variable when processing malformed logconfig configuration commands, for example, ntpq -c ":config logconfig a" (CVE-2015-5194).

It was found that ntpd exits with a segmentation fault when a statistics type that was not enabled during compilation (e.g. timingstats) is referenced by the statistics or filegen configuration command, for example, ntpq -c ':config statistics timingstats' ntpq -c ':config filegen timingstats' (CVE-2015-5195).

It was found that the :config command can be used to set the pidfile and driftfile paths without any restrictions. A remote attacker could use this flaw to overwrite a file on the file system with a file containing the pid of the ntpd process (immediately) or the current estimated drift of the system clock (in hourly intervals). For example, ntpq -c ':config pidfile /tmp/ntp.pid' ntpq -c ':config driftfile /tmp/ntp.drift' (CVE-2015-5196).

It was discovered that sntp would hang in an infinite loop when a crafted NTP packet was received, related to the conversion of the precision value in the packet to double (CVE-2015-5219).

Record
MGASA-2015-0348
Updated
2026-11-02
OSVUSN-2783-1 No score

ntp vulnerabilities

Aleksis Kauppinen discovered that NTP incorrectly handled certain remote config packets. In a non-default configuration, a remote authenticated attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2015-5146)

Miroslav Lichvar discovered that NTP incorrectly handled logconfig directives. In a non-default configuration, a remote authenticated attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2015-5194)

Miroslav Lichvar discovered that NTP incorrectly handled certain statistics types. In a non-default configuration, a remote authenticated attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2015-5195)

Miroslav Lichvar discovered that NTP incorrectly handled certain file paths. In a non-default configuration, a remote authenticated attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service, or overwrite certain files. (CVE-2015-5196, CVE-2015-7703)

Miroslav Lichvar discovered that NTP incorrectly handled certain packets. A remote attacker could possibly use this issue to cause NTP to hang, resulting in a denial of service. (CVE-2015-5219)

Aanchal Malhotra, Isaac E. Cohen, and Sharon Goldberg discovered that NTP incorrectly handled restarting after hitting a panic threshold. A remote attacker could possibly use this issue to alter the system time on clients. (CVE-2015-5300)

It was discovered that NTP incorrectly handled autokey data packets. A remote attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-7691, CVE-2015-7692, CVE-2015-7702)

It was discovered that NTP incorrectly handled memory when processing certain autokey messages. A remote attacker could possibly use this issue to cause NTP to consume memory, resulting in a denial of service. (CVE-2015-7701)

Aanchal Malhotra, Isaac E. Cohen, and Sharon Goldberg discovered that NTP incorrectly handled rate limiting. A remote attacker could possibly use this issue to cause clients to stop updating their clock. (CVE-2015-7704, CVE-2015-7705)

Yves Younan discovered that NTP incorrectly handled logfile and keyfile directives. In a non-default configuration, a remote authenticated attacker could possibly use this issue to cause NTP to enter a loop, resulting in a denial of service. (CVE-2015-7850)

Yves Younan and Aleksander Nikolich discovered that NTP incorrectly handled ascii conversion. A remote attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-7852)

Yves Younan discovered that NTP incorrectly handled reference clock memory. A malicious refclock could possibly use this issue to cause NTP to crash, resulting in a denial of service, or possibly execute arbitrary code. (CVE-2015-7853)

John D "Doug" Birdwell discovered that NTP incorrectly handled decoding certain bogus values. An attacker could possibly use this issue to cause NTP to crash, resulting in a denial of service. (CVE-2015-7855)

Stephen Gray discovered that NTP incorrectly handled symmetric association authentication. A remote attacker could use this issue to possibly bypass authentication and alter the system clock. (CVE-2015-7871)

In the default installation, attackers would be isolated by the NTP AppArmor profile.

Record
USN-2783-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
ntp
Debian:11
before 1:4.2.8p3+dfsg-1
1:4.2.8p3+dfsg-1
ntp
Debian:6.0
From an advisory covering 16 CVEs
before 1:4.2.6.p2+dfsg-1+deb6u4, plus listed versions
1:4.2.6.p2+dfsg-1
1:4.2.6.p2+dfsg-1+deb6u4
ntp
Debian:7
From an advisory covering 16 CVEs
before 1:4.2.6.p5+dfsg-2+deb7u6, plus listed versions
1:4.2.6.p5+dfsg-21:4.2.6.p5+dfsg-2+deb7u11:4.2.6.p5+dfsg-2+deb7u21:4.2.6.p5+dfsg-2+deb7u31:4.2.6.p5+dfsg-2+deb7u41:4.2.6.p5+dfsg-2+deb7u5
1:4.2.6.p5+dfsg-2+deb7u6
ntp
Debian:8
From an advisory covering 16 CVEs
before 1:4.2.6.p5+dfsg-7+deb8u1, plus listed versions
1:4.2.6.p5+dfsg-7
1:4.2.6.p5+dfsg-7+deb8u1
ntp
Mageia:4
From an advisory covering 5 CVEs
before 4.2.6p5-15.6.mga4
4.2.6p5-15.6.mga4
ntp
Mageia:5
From an advisory covering 5 CVEs
before 4.2.6p5-24.1.mga5
4.2.6p5-24.1.mga5
ntp-debuginfo
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-doc
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-perl
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
Show 42 moreShow less
Affected packages
PackageAffectedFixed
ntpdate
Red Hat:enterprise_linux:6::client
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-debuginfo
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-doc
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-perl
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntpdate
Red Hat:enterprise_linux:6::computenode
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-debuginfo
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-doc
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-perl
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntpdate
Red Hat:enterprise_linux:6::server
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-debuginfo
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-doc
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-perl
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntpdate
Red Hat:enterprise_linux:6::workstation
From an advisory covering 11 CVEs
before 0:4.2.6p5-10.el6
0:4.2.6p5-10.el6
ntp-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-doc
Red Hat:enterprise_linux:7::client
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-perl
Red Hat:enterprise_linux:7::client
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
sntp
Red Hat:enterprise_linux:7::client
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp
Red Hat:enterprise_linux:7::client
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntpdate
Red Hat:enterprise_linux:7::client
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-doc
Red Hat:enterprise_linux:7::computenode
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-perl
Red Hat:enterprise_linux:7::computenode
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
sntp
Red Hat:enterprise_linux:7::computenode
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp
Red Hat:enterprise_linux:7::computenode
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntpdate
Red Hat:enterprise_linux:7::computenode
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-doc
Red Hat:enterprise_linux:7::server
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-perl
Red Hat:enterprise_linux:7::server
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
sntp
Red Hat:enterprise_linux:7::server
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp
Red Hat:enterprise_linux:7::server
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntpdate
Red Hat:enterprise_linux:7::server
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-doc
Red Hat:enterprise_linux:7::workstation
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp-perl
Red Hat:enterprise_linux:7::workstation
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
sntp
Red Hat:enterprise_linux:7::workstation
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp
Red Hat:enterprise_linux:7::workstation
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntpdate
Red Hat:enterprise_linux:7::workstation
From an advisory covering 15 CVEs
before 0:4.2.6p5-25.el7
0:4.2.6p5-25.el7
ntp
Ubuntu:14.04:LTS
before 1:4.2.6.p5+dfsg-3ubuntu2.14.04.5, plus listed versions
1:4.2.6.p5+dfsg-3ubuntu21:4.2.6.p5+dfsg-3ubuntu2.14.04.11:4.2.6.p5+dfsg-3ubuntu2.14.04.21:4.2.6.p5+dfsg-3ubuntu2.14.04.3
1:4.2.6.p5+dfsg-3ubuntu2.14.04.5
ntp
Ubuntu:14.04:LTS
From an advisory covering 18 CVEs
before 1:4.2.6.p5+dfsg-3ubuntu2.14.04.5, plus listed versions
1:4.2.6.p5+dfsg-3ubuntu21:4.2.6.p5+dfsg-3ubuntu2.14.04.11:4.2.6.p5+dfsg-3ubuntu2.14.04.21:4.2.6.p5+dfsg-3ubuntu2.14.04.3
1:4.2.6.p5+dfsg-3ubuntu2.14.04.5

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubtheglife214/CVE-2015-51952017-03-04

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2015-5195 is a high vulnerability (CVSS 7.5) in Ntp, published August 25, 2015. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 8.75%, the 95th percentile. Fixed in ntp 1:4.2.8p3+dfsg-1.

References

Show 110 moreShow less
MoveEnter Open