CVE-2015-5195: 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…
Noroxi assessment
Priority: Monitor (action score 33/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 8.7% (FIRST EPSS); higher than 95.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: ntp (Debian:11) 1:4.2.8p3+dfsg-1; ntp (Debian:6.0) 1:4.2.6.p2+dfsg-1+deb6u4; ntp (Debian:7) 1:4.2.6.p5+dfsg-2+deb7u6.
Low priority for now. Upgrade to ntp (Debian:11) 1:4.2.8p3+dfsg-1; ntp (Debian:6.0) 1:4.2.6.p2+dfsg-1+deb6u4; ntp (Debian:7) 1:4.2.6.p5+dfsg-2+deb7u6 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 21, 2017
- Updated
- Jun 16, 2026
- EPSS
- 8.7% · 95th percentile
- CWE
- CWE-20
Report tools
Action score
33
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 3 / 30 · 8.7%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| ntp | ntp | cpe:2.3:a:ntp:ntp |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux hpc node | cpe:2.3:o:redhat:enterprise_linux_hpc_node |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux12.04
- canonical ubuntu linux14.04
- canonical ubuntu linux15.04
- canonical ubuntu linux15.10
- debian debian linux7.0
- debian debian linux8.0
- fedoraproject fedora21
- fedoraproject fedora22
+10 more rows
- fedoraproject fedora23
- ntp ntpup to 4.2.7 inclusive
- redhat enterprise linux desktop6.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux hpc node6.0
- redhat enterprise linux hpc node7.0
- redhat enterprise linux server6.0
- redhat enterprise linux server7.0
- redhat enterprise linux workstation6.0
- redhat enterprise linux workstation7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:11 | ntp | before 1:4.2.8p3+dfsg-1 | 1:4.2.8p3+dfsg-1 |
| Debian:6.0 | ntp | before 1:4.2.6.p2+dfsg-1+deb6u4 | 1:4.2.6.p2+dfsg-1+deb6u4 |
| Debian:7 | ntp | before 1:4.2.6.p5+dfsg-2+deb7u6 | 1:4.2.6.p5+dfsg-2+deb7u6 |
| Debian:8 | ntp | before 1:4.2.6.p5+dfsg-7+deb8u1 | 1:4.2.6.p5+dfsg-7+deb8u1 |
| Red Hat:enterprise_linux:6::client | ntp | before 0:4.2.6p5-10.el6 | 0:4.2.6p5-10.el6 |
| Red Hat:enterprise_linux:6::client | ntp-debuginfo | before 0:4.2.6p5-10.el6 | 0:4.2.6p5-10.el6 |
| Red Hat:enterprise_linux:6::client | ntp-doc | before 0:4.2.6p5-10.el6 | 0:4.2.6p5-10.el6 |
| Red Hat:enterprise_linux:6::client | ntp-perl | before 0:4.2.6p5-10.el6 | 0:4.2.6p5-10.el6 |
| Red Hat:enterprise_linux:6::client | ntpdate | before 0:4.2.6p5-10.el6 | 0:4.2.6p5-10.el6 |
| Red Hat:enterprise_linux:7::client | ntp | before 0:4.2.6p5-25.el7 | 0:4.2.6p5-25.el7 |
| Red Hat:enterprise_linux:7::client | ntp-debuginfo | before 0:4.2.6p5-25.el7 | 0:4.2.6p5-25.el7 |
| Red Hat:enterprise_linux:7::client | ntp-doc | before 0:4.2.6p5-25.el7 | 0:4.2.6p5-25.el7 |
| Red Hat:enterprise_linux:7::client | ntp-perl | before 0:4.2.6p5-25.el7 | 0:4.2.6p5-25.el7 |
| Red Hat:enterprise_linux:7::client | ntpdate | before 0:4.2.6p5-25.el7 | 0:4.2.6p5-25.el7 |
| Red Hat:enterprise_linux:7::client | sntp | before 0:4.2.6p5-25.el7 | 0:4.2.6p5-25.el7 |
Same product
ntp: all recordsOther highest-scoring records for the same primary product.
- CVE-2015-7871Crypto-NAK packets in ntpd in NTP 4.2.x before 4.2.8p4, and 4.3.x before 4.3.77 allows remote attackers to bypass authentication.64This week
- CVE-2014-9295Multiple stack-based buffer overflows in ntpd in NTP before 4.2.8 allow remote attackers to execute arbitrary code via a crafted packet…54Plan
- CVE-2013-5211The monlist feature in ntp_request.c in ntpd in NTP before 4.2.7p26 allows remote attackers to cause a denial of service (traffic…49Plan
Published before and after this one in the same product
- ← EarlierCVE-2017-6464Mar 27, 2017 · NTP before 4.2.8p10 and 4.3.x before 4.3.94 allows remote attackers to cause a denial of service (ntpd crash) via a malformed mode…28Monitor
- ← EarlierCVE-2015-5194Jul 21, 2017 · The log_config_command function in ntp_parser.y in ntpd in NTP before 4.2.7p42 allows remote attackers to cause a denial of service (ntpd…32Monitor
- Later →CVE-2015-5219Jul 21, 2017 · The ULOGTOD function in ntp.d in SNTP before 4.2.7p366 does not properly perform type conversions from a precision value to a double, which…32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:ntp | 1:4.2.8p3+dfsg-1 · Debian:11 | Package registry (OSV) |
| red hat:ntp | 0:4.2.6p5-10.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ntp-debuginfo | 0:4.2.6p5-10.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ntp-doc | 0:4.2.6p5-10.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ntp-perl | 0:4.2.6p5-10.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:ntpdate | 0:4.2.6p5-10.el6 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:sntp | 0:4.2.6p5-25.el7 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2017-03-04 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoC-139 d
- Published
- TodayNov 16, 2026+3405 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (16 more)Show less
- lists.fedoraproject.org/pipermail/package-announce/2015-October/169167.html
- lists.fedoraproject.org/pipermail/package-announce/2015-September/166992.html
- rhn.redhat.com/errata/RHSA-2016-0780.html
- rhn.redhat.com/errata/RHSA-2016-2583.html
- www.debian.org/security/2015/dsa-3388
- www.openwall.com/lists/oss-security/2015/08/25/3
- www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- www.securityfocus.com/bid/76474
- www.ubuntu.com/usn/USN-2783-1
- bugzilla.redhat.com/show_bug.cgi?id=1254544
- github.com/ntp-project/ntp/commit/52e977d79a0c4ace997e5c74af429844da2f27be
- www-01.ibm.com/support/docview.wss?uid=isg3T1024157
- www-01.ibm.com/support/docview.wss?uid=swg21985122
- www-01.ibm.com/support/docview.wss?uid=swg21986956
- www-01.ibm.com/support/docview.wss?uid=swg21988706
- www-01.ibm.com/support/docview.wss?uid=swg21989542
Vendor advisories and official records. Exploit/PoC links are deliberately left out.