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-26551

CVE-2023-26551: NTP Buffer Overflow Vulnerability

CVE-2023-26551 is a buffer overflow vulnerability in NTP 4.2.8p15 affecting the mstolfp function in libntp. Attackers can exploit the ntpq client process. This article covers technical details, affected versions, and mitigation.

Published: February 11, 2026

CVE-2023-26551 Overview

CVE-2023-26551 is an out-of-bounds write vulnerability in the mstolfp function located in libntp/mstolfp.c within NTP version 4.2.8p15. The vulnerability occurs in the cp<cpdec while loop, where improper boundary checking allows an adversary to write data beyond the intended buffer limits. While the vulnerability cannot be used to attack the ntpd daemon directly, it can potentially be exploited to compromise ntpq client processes.

Critical Impact

An attacker with network access may be able to exploit this out-of-bounds write vulnerability to attack NTP client (ntpq) processes, potentially leading to memory corruption, information disclosure, or limited code execution within the client context.

Affected Products

  • NTP version 4.2.8p15
  • Systems running ntpq client processes with vulnerable NTP library
  • Applications linking against vulnerable libntp library

Discovery Timeline

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

Technical Details for CVE-2023-26551

Vulnerability Analysis

This vulnerability is classified as CWE-787 (Out-of-bounds Write), a memory corruption issue that occurs when the mstolfp function in the NTP library fails to properly validate buffer boundaries during string parsing operations. The function is designed to convert millisecond timestamp strings to NTP's internal fixed-point format, but the cp<cpdec while loop contains insufficient bounds checking.

The attack requires network access and involves high complexity to exploit successfully. When successfully exploited, an attacker may achieve limited confidentiality, integrity, and availability impacts on the affected ntpq client process. Importantly, the ntpd daemon is not vulnerable to this specific attack vector, limiting the overall exposure to client-side exploitation scenarios.

Root Cause

The root cause of this vulnerability lies in the improper handling of input string boundaries within the mstolfp function. During the parsing of timestamp strings, the while loop comparing cp<cpdec does not adequately validate that write operations remain within the allocated buffer space. This allows specially crafted input to cause writes beyond the intended memory region, corrupting adjacent memory structures.

Attack Vector

The vulnerability can be exploited remotely over the network, though the attack complexity is high. An adversary would need to craft malicious NTP responses or manipulate network traffic to deliver a specially crafted timestamp string to an ntpq client process. When the client parses this malicious input using the vulnerable mstolfp function, the out-of-bounds write occurs.

The attack is limited to ntpq client processes and cannot be used to compromise ntpd server daemons. This restricts the attack surface to scenarios where an attacker can influence the NTP data received by client applications. Successful exploitation could result in memory corruption, potential information leakage, or limited code execution within the context of the ntpq process.

Technical details and proof-of-concept information are available in the GitHub CVE-2023-26551 PoC repository, with additional discussion in the GitHub Issue Comment Discussion.

Detection Methods for CVE-2023-26551

Indicators of Compromise

  • Unexpected crashes or abnormal termination of ntpq client processes
  • Memory access violations or segmentation faults in NTP client applications
  • Unusual NTP response packets containing malformed timestamp strings
  • Core dumps from ntpq processes showing corruption in libntp memory regions

Detection Strategies

  • Monitor for unusual NTP traffic patterns, particularly responses with abnormally long or malformed timestamp fields
  • Implement application crash monitoring for ntpq processes and correlate with NTP network activity
  • Deploy network intrusion detection signatures to identify potentially malicious NTP response packets
  • Use memory safety tools like AddressSanitizer during testing to detect out-of-bounds write attempts

Monitoring Recommendations

  • Enable detailed logging for NTP client operations to capture parsing errors
  • Configure SIEM rules to alert on repeated ntpq process crashes or restarts
  • Monitor network flows for anomalous NTP traffic originating from untrusted sources
  • Implement endpoint detection to identify memory corruption attempts in NTP-related processes

How to Mitigate CVE-2023-26551

Immediate Actions Required

  • Identify all systems running NTP version 4.2.8p15 and prioritize for remediation
  • Restrict network access to NTP services using firewall rules to trusted time sources only
  • Consider temporarily disabling ntpq client usage in sensitive environments until patches are applied
  • Monitor for vendor security advisories and update to patched versions when available

Patch Information

Users should check for updated NTP versions that address this out-of-bounds write vulnerability. Consult the official NTP project resources and your operating system vendor for security patches. The vulnerability is specific to NTP version 4.2.8p15, and upgrading to a later patched version is the recommended remediation.

Additional technical context and discussion regarding this vulnerability can be found in the GitHub Issue Comment Discussion.

Workarounds

  • Configure firewall rules to restrict NTP traffic to known, trusted time servers only
  • Implement network segmentation to isolate systems running vulnerable NTP clients
  • Use alternative NTP client implementations that are not affected by this vulnerability
  • Deploy application sandboxing for ntpq processes to limit the impact of potential exploitation
bash
# Restrict NTP client traffic to trusted time servers using iptables
iptables -A OUTPUT -p udp --dport 123 -d <trusted_ntp_server_ip> -j ACCEPT
iptables -A OUTPUT -p udp --dport 123 -j DROP

# Verify NTP version to identify vulnerable installations
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.22%

  • 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-26551 PoC

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

  • CVE-2023-26554: 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