Skip to main content

NTPsec EUVDEUVD-2026-51593

| CVE-2026-18321 MEDIUM
Classic Buffer Overflow (CWE-120)
2026-07-31 GitLab GHSA-6978-pcpc-2c45
4.7
CVSS 3.1 · Vendor: GitLab
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain low-privileged local shell access
  2. Delivery
    Identify Zyfer refclock driver is active in ntpd config
  3. Exploit
    Craft malformed input satisfying AC:H conditions
  4. Execution
    Trigger CWE-120 buffer overflow in Zyfer driver
  5. Persist
    ntpd process crashes
  6. Impact
    Time synchronization service disrupted

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all of the following: (1) a Zyfer hardware reference clock must be physically connected to the target system and the Zyfer refclock driver must be explicitly enabled in ntpd's configuration - systems without this hardware or with the driver disabled are unaffected regardless of NTPsec version; (2) the attacker must hold a local, low-privileged system account (CVSS PR:L), ruling out remote or unauthenticated exploitation; (3) high attack complexity (CVSS AC:H) means the attacker must satisfy specific preconditions - likely precise input crafting or race conditions - making reliable exploitation non-trivial. Limiting factors are: local-only vector, requirement for Zyfer hardware presence, non-default refclock configuration, and AC:H trigger difficulty.

Impact

The CVSS 3.1 vector AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H yields a Medium score of 4.7, which accurately reflects the constrained exploitation scenario. The local attack vector (AV:L) eliminates remote exploitation entirely, and the high attack complexity (AC:H) indicates the attacker cannot reliably trigger the overflow without meeting specific additional conditions - likely precise input timing or format constraints. Low privileges (PR:L) require the attacker to already hold a local system account. No EPSS data was provided, no KEV listing is present, and no public exploit has been identified - all signals point to a low-urgency issue. The impact is exclusively availability: a crash of ntpd, which on systems serving as time sources for downstream infrastructure (authentication servers, financial ledgers, logging pipelines) could have cascading effects. This vulnerability is a real but low-priority remediation target; only environments using Zyfer hardware refclocks with untrusted local users face meaningful exposure.

Exploit ScenarioDerived

A local attacker with a low-privileged shell account on a system running NTPsec with a Zyfer hardware refclock configured manipulates input handled by the Zyfer driver - under specific timing or format conditions meeting the AC:H bar - to trigger the CWE-120 buffer overflow in ntpd, causing the daemon to crash. On infrastructure where ntpd serves as a stratum source for downstream systems such as authentication services or financial transaction logs, this crash degrades time accuracy until the service is manually restarted. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

Buffer overflow in NTPsec's Zyfer refclock driver crashes the ntpd daemon on affected systems running versions prior to 1.2.5. A local, low-privileged attacker with high attack complexity can trigger the CWE-120 classic buffer overflow, resulting in a denial-of-service impact limited to availability - no confidentiality or integrity exposure exists. No public exploit has been identified at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

Upgrade NTPsec to version 1.2.5 or later, which contains the vendor-provided fix for this buffer overflow as tracked at https://gitlab.com/NTPsec/ntpsec/-/work_items/890. Patch availability is confirmed per vendor and EUVD-2026-51593, though an explicit patch advisory URL beyond the GitLab work item was not present in the provided data. If an immediate upgrade is not feasible, disable the Zyfer refclock driver in the ntpd configuration file by removing or commenting out the relevant 'refclock' directive referencing the Zyfer unit - this eliminates the vulnerable code path entirely at the cost of losing Zyfer hardware clock input; another time source should be substituted. Additionally, restricting local shell access to trusted users reduces the PR:L attack surface while the patch is being applied.

Affected VersionsENISA

NTPSec 0 <1.2.5

Affected Packages

euvd ntpsec fix: 1.2.5

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NTPsec is a security-hardened fork of the NTP reference implementation designed for auditability and reduced attack surface. The Zyfer refclock is a driver for Zyfer brand hardware reference clocks - precision timing sources used in environments requiring GPS-disciplined or rubidium-standard timekeeping. CWE-120 (Classic Buffer Copy without Checking Size of Input) occurs when data is written into a fixed-size buffer without bounds validation, allowing adjacent memory to be overwritten. In this case the overflow lies within the Zyfer refclock driver code path of ntpd, reachable only when that hardware clock is physically present and configured. The affected CPE is cpe:2.3:a:ntpsec:ntpsec:*:*:*:*:*:*:*:*, covering all NTPsec releases from version 0 up to but not including 1.2.5 per EUVD-2026-51593.

Know when Ntpsec gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitLab) PRIMARY 4.7 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.7 MEDIUM

Local-only vector, low privilege, and high complexity match Zyfer driver access constraints; no C/I impact, A:H from ntpd crash.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM
Red Hat 4.7 LOW

Primary rating from Vendor (GitLab).

CVSS VectorVendor: GitLab

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 31, 2026 - 19:02 EUVD

DescriptionCVE.org

Buffer overflow in NTPsec's Zyfer refclock allows local attacker to crash ntpd

Threat Intelligence Overview

EPSS Score
0.1%
Top 100% exploitable
Prevalence
Low
NTPsec is a niche security-hardened NTP fork with limited production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in Ntpsec

View all
CVE-2019-6444 CRITICAL POC
9.1 Jan 16

An issue was discovered in NTPsec before 1.1.3. Rated critical severity (CVSS 9.1), this vulnerability is remotely explo

CVE-2019-6443 CRITICAL POC
9.1 Jan 16

An issue was discovered in NTPsec before 1.1.3. Rated critical severity (CVSS 9.1), this vulnerability is remotely explo

CVE-2019-6445 MEDIUM POC
6.5 Jan 16

An issue was discovered in NTPsec before 1.1.3. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2019-6442 MEDIUM POC
6.5 Jan 16

An issue was discovered in NTPsec before 1.1.3. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploit

CVE-2026-58459 HIGH
8.4 Jul 09

Arbitrary shell command execution in gpsd's gpsprof profiling tool (through release-3.27.5) allows an attacker who contr

CVE-2026-102486 HIGH
7.5 Oct 21

Remote denial of service in NTPsec ntpd 1.1.4 through 1.2.5 lets an unauthenticated network attacker crash the daemon by

CVE-2026-102483 HIGH
7.5 Oct 21

Denial of service in NTPsec ntpd 1.1.4 through 1.2.5 allows a remote unauthenticated attacker to terminate the daemon by

CVE-2023-4012 HIGH
7.5 Aug 07

ntpd will crash if the server is not NTS-enabled (no certificate) and it receives an NTS-enabled client request (mode 3)

CVE-2021-22212 HIGH
7.4 Jun 08

ntpkeygen can generate keys that ntpd fails to parse. Rated high severity (CVSS 7.4), this vulnerability is remotely exp

CVE-2026-102484 MEDIUM
6.4 Oct 21

Heap-based memory corruption in NTPsec ntpd before 1.2.6 affects deployments that explicitly enable the non-default JJY

CVE-2026-102485 MEDIUM
5.2 Oct 21

Out-of-bounds read in NTPsec ntpd before 1.2.6 can crash the daemon or disclose limited memory when an attacker controls

CVE-2016-1551 LOW
3.7 Jan 27

ntpd in NTP 4.2.8p3 and NTPsec a5fb34b9cc89b92a8fef2f459004865c93bb7f92 relies on the underlying operating system to pro

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
openSUSE Tumbleweed Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy