The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-26554

CVE-2023-26554: NTP Buffer Overflow Vulnerability

CVE-2023-26554 is a buffer overflow flaw in NTP 4.2.8p15 affecting the mstolfp function in libntp. Attackers can target client ntpq processes through out-of-bounds writes. This article covers technical details, impact, and mitigation.

Published: February 4, 2026

CVE-2023-26554 Overview

CVE-2023-26554 is an out-of-bounds write vulnerability discovered in the mstolfp function within libntp/mstolfp.c in NTP version 4.2.8p15. The vulnerability occurs when the function adds a null terminator character (\0) during string processing, potentially writing beyond allocated buffer boundaries. An adversary may be able to exploit this flaw to attack client ntpq processes, though the vulnerability does not affect the ntpd daemon directly.

Critical Impact

Successful exploitation could allow an attacker to compromise NTP client query tools (ntpq), potentially leading to memory corruption, information disclosure, or denial of service conditions on systems running the vulnerable NTP version.

Affected Products

  • NTP version 4.2.8p15
  • Systems running ntpq client from the affected NTP package
  • Linux, Unix, and BSD distributions shipping NTP 4.2.8p15

Discovery Timeline

  • 2023-04-11 - CVE-2023-26554 published to NVD
  • 2025-02-11 - Last updated in NVD database

Technical Details for CVE-2023-26554

Vulnerability Analysis

This out-of-bounds write vulnerability (CWE-787) exists in the mstolfp function, which is responsible for converting millisecond timestamps to NTP's internal long floating-point format. The flaw occurs during string manipulation when the function appends a null terminator character without properly validating buffer boundaries.

The attack requires network access and involves some complexity, as the adversary must craft specific input that triggers the vulnerable code path. While the vulnerability is exploitable remotely, it specifically affects the ntpq client process rather than the main ntpd daemon. This limitation means that time synchronization services remain unaffected, but client-side query operations could be compromised.

The potential impact includes partial compromise of confidentiality, integrity, and availability of the affected ntpq process, which could lead to information leakage, memory corruption, or process crashes.

Root Cause

The root cause of CVE-2023-26554 lies in improper bounds checking within the mstolfp function in libntp/mstolfp.c. When processing input strings and appending the null terminator character, the function fails to verify that sufficient buffer space exists for the additional character. This oversight allows writing beyond the allocated buffer boundaries, resulting in an out-of-bounds write condition.

Attack Vector

The vulnerability is exploitable over the network, though with high attack complexity. An attacker would need to interact with a vulnerable ntpq client process by providing specially crafted input that triggers the mstolfp function to perform the out-of-bounds write. The attack does not require any privileges or user interaction, but the specific conditions needed to successfully exploit the vulnerability increase the difficulty of a successful attack.

The attack is limited to client-side ntpq processes, meaning attackers cannot directly compromise the ntpd daemon that handles time synchronization. This architectural separation provides some protection for critical NTP server functionality.

The vulnerability mechanism involves the mstolfp function improperly handling buffer boundaries when adding a null terminator character during string processing. Technical details and analysis can be found in the GitHub CVE-2023-26554 Listing.

Detection Methods for CVE-2023-26554

Indicators of Compromise

  • Unexpected crashes or segmentation faults in ntpq client processes
  • Anomalous memory access patterns in NTP-related processes
  • Core dumps containing evidence of buffer overflows in libntp components
  • Unusual network traffic targeting NTP client query interfaces

Detection Strategies

  • Monitor for abnormal ntpq process behavior including unexpected terminations or restarts
  • Implement memory corruption detection tools (AddressSanitizer, Valgrind) in development and testing environments
  • Review system logs for NTP client process crashes or error conditions
  • Deploy network monitoring to detect malformed NTP-related traffic patterns

Monitoring Recommendations

  • Enable process monitoring for ntpq client applications on systems running NTP 4.2.8p15
  • Configure crash reporting and core dump analysis to capture potential exploitation attempts
  • Implement endpoint detection capabilities to identify memory corruption exploitation patterns
  • Monitor network traffic for suspicious connections to systems running vulnerable NTP versions

How to Mitigate CVE-2023-26554

Immediate Actions Required

  • Identify all systems running NTP version 4.2.8p15 and prioritize them for updates
  • Update to a patched version of NTP when available from your distribution vendor
  • Limit network exposure of systems running vulnerable NTP client tools
  • Restrict access to ntpq functionality to trusted administrators only

Patch Information

Organizations should check with their operating system vendor for patched versions of NTP that address CVE-2023-26554. Additional technical information and discussion regarding this vulnerability can be found in the GitHub Issue Discussion #1. Apply vendor-provided patches as they become available through standard package management systems.

Workarounds

  • Restrict network access to systems running ntpq using firewall rules
  • Consider using alternative NTP implementations such as chrony or systemd-timesyncd where applicable
  • Disable or limit access to ntpq functionality on systems where it is not required
  • Implement network segmentation to isolate NTP client systems from untrusted networks
bash
# Configuration example
# Restrict ntpq access via firewall rules (iptables example)
iptables -A INPUT -p udp --dport 123 -s trusted_network_cidr -j ACCEPT
iptables -A INPUT -p udp --dport 123 -j DROP

# Verify NTP version on your system
ntpq --version

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechNtp

  • SeverityMEDIUM

  • CVSS Score5.6

  • EPSS Probability0.21%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-787
  • Technical References
  • GitHub CVE-2023-26554 Listing

  • GitHub Issue Discussion #1
  • Related CVEs
  • CVE-2023-26555: NTP Buffer Overflow Vulnerability

  • CVE-2023-26551: NTP Buffer Overflow Vulnerability

  • CVE-2020-13817: NTP Daemon Denial of Service Vulnerability

  • CVE-2020-11868: NTP Denial of Service Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English