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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2025-65637

CVE-2025-65637: Turbopuffer Logrus DOS Vulnerability

CVE-2025-65637 is a denial-of-service flaw in Turbopuffer Logrus that causes application unavailability when logging large payloads. This article covers technical details, affected versions, impact, and mitigation.

Published: April 15, 2026

CVE-2025-65637 Overview

A denial-of-service vulnerability exists in the popular Go logging library github.com/sirupsen/logrus when using Entry.Writer() to log single-line payloads larger than 64KB without newline characters. Due to limitations in the internal bufio.Scanner, the read operation fails with a "token too long" error and the writer pipe is closed, leaving Writer() unusable and causing application unavailability. This vulnerability falls under the Resource Exhaustion category (CWE-400), allowing attackers to render applications unresponsive by sending specially crafted large payloads.

Critical Impact

Applications using Logrus Entry.Writer() can be rendered completely unavailable when processing payloads exceeding 64KB without newlines, as the writer becomes permanently unusable after encountering this condition.

Affected Products

  • Turbopuffer Logrus versions < 1.8.3
  • Turbopuffer Logrus version 1.9.0
  • Turbopuffer Logrus version 1.9.2

Discovery Timeline

  • 2025-12-04 - CVE CVE-2025-65637 published to NVD
  • 2025-12-23 - Last updated in NVD database

Technical Details for CVE-2025-65637

Vulnerability Analysis

This denial-of-service vulnerability stems from how Logrus handles large single-line log entries through its Entry.Writer() function. When an application attempts to log a payload exceeding 64KB (65,536 bytes) that contains no newline characters, the underlying bufio.Scanner encounters its default token size limit and returns a "token too long" error.

The critical issue is not just the initial failure, but that the writer pipe is permanently closed after this error occurs. This means any subsequent attempts to use the same Writer() instance will fail, effectively disabling the logging functionality and potentially causing the entire application to become unavailable if it depends on successful logging operations.

Applications that accept user-controlled input and log it using Entry.Writer() are particularly vulnerable, as an attacker can craft malicious payloads specifically designed to trigger this condition.

Root Cause

The root cause lies in Go's bufio.Scanner default configuration, which has a maximum token size of 64KB. When Entry.Writer() uses bufio.Scanner internally to process incoming data, it expects newline-delimited input. A single line exceeding this limit causes the scanner to fail irrecoverably, and the implementation did not properly handle this edge case, resulting in the writer pipe being closed and becoming permanently unusable.

Attack Vector

This vulnerability is exploitable over the network with low attack complexity and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending a specially crafted payload larger than 64KB without any newline characters to an application endpoint that logs the received data using Logrus Entry.Writer().

The attack scenario involves:

  1. Identifying an application using Logrus that logs user-controllable input via Entry.Writer()
  2. Crafting a single-line payload exceeding 64KB without newline characters
  3. Sending this payload to the vulnerable application
  4. The Logrus writer encounters the "token too long" error and closes the pipe
  5. The application's logging functionality becomes permanently broken, causing denial of service

For detailed technical information about exploitation, see the GitHub PoC Repository and the README Documentation.

Detection Methods for CVE-2025-65637

Indicators of Compromise

  • Application logs containing "token too long" errors from the bufio.Scanner
  • Sudden cessation of logging activity following processing of unusually large requests
  • Application monitoring alerts indicating logging subsystem failures

Detection Strategies

  • Monitor application error logs for "token too long" scanner errors associated with Logrus
  • Implement request size monitoring to detect abnormally large single-line payloads approaching or exceeding 64KB
  • Deploy Software Composition Analysis (SCA) tools to identify vulnerable Logrus versions in your codebase

Monitoring Recommendations

  • Configure alerting for logging subsystem failures or unexpected writer pipe closures
  • Track request payload sizes at the application boundary to identify potential exploitation attempts
  • Establish baseline metrics for logging throughput to detect sudden drops that may indicate DoS conditions

How to Mitigate CVE-2025-65637

Immediate Actions Required

  • Update Logrus to a patched version: 1.8.3, 1.9.1, or 1.9.3+
  • Audit applications to identify usage of Entry.Writer() with user-controllable input
  • Implement input validation to reject or truncate payloads exceeding reasonable size limits before logging

Patch Information

The vulnerability has been fixed in Logrus versions 1.8.3, 1.9.1, and 1.9.3+. The fix implements input chunking, ensuring that the writer continues to function even if an error is logged during processing of large payloads. Review the GitHub Pull Request for implementation details.

Patched releases are available:

  • Release v1.8.3
  • Release v1.9.1
  • Release v1.9.3

For additional vulnerability details, consult the Snyk Vulnerability Report and the GitHub Logrus Issue.

Workarounds

  • Implement input validation to ensure logged data does not exceed 64KB without newlines
  • Insert artificial newline characters into large payloads before passing them to Entry.Writer()
  • Consider using alternative Logrus logging methods that do not utilize Entry.Writer() for handling potentially large payloads
bash
# Update Logrus to patched version using Go modules
go get github.com/sirupsen/logrus@v1.9.3
go mod tidy

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechLogrus

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Technical References
  • GitHub PoC Repository

  • GitHub README Documentation

  • GitHub Release v1.8.3

  • GitHub Release v1.9.1

  • GitHub Release v1.9.3

  • Snyk Vulnerability Report
  • Vendor Resources
  • GitHub Logrus Issue

  • GitHub Pull Request
  • Latest CVEs
  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability

  • CVE-2026-40259: SiYuan Auth Bypass Vulnerability

  • CVE-2026-40255: AdonisJS HTTP Server CSRF Vulnerability
Default Legacy - Prefooter | 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