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

CVE-2025-10954: Textit Phonenumbers DOS Vulnerability

CVE-2025-10954 is a denial of service flaw in Textit Phonenumbers caused by improper input validation in the Parse() function. Attackers can trigger application crashes with crafted input. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: April 29, 2026

CVE-2025-10954 Overview

CVE-2025-10954 is an Improper Validation of Syntactic Correctness of Input vulnerability affecting the github.com/nyaruka/phonenumbers Go library. Versions prior to 1.2.2 are vulnerable to a denial of service condition where an attacker can trigger a panic by providing maliciously crafted input to the phonenumbers.Parse() function, causing a "runtime error: slice bounds out of range" crash.

Critical Impact

Applications using vulnerable versions of the phonenumbers library can be crashed by remote attackers through carefully crafted phone number input, leading to denial of service conditions.

Affected Products

  • Textit Phonenumbers versions prior to 1.2.2
  • Applications using github.com/nyaruka/phonenumbers Go package
  • Go-based services implementing phone number parsing functionality

Discovery Timeline

  • 2025-09-27 - CVE-2025-10954 published to NVD
  • 2025-10-03 - Last updated in NVD database

Technical Details for CVE-2025-10954

Vulnerability Analysis

This vulnerability stems from improper input validation in the phonenumbers.Parse() function (CWE-1286: Improper Validation of Syntactic Correctness of Input). The library fails to properly validate the boundaries of input data before performing slice operations, allowing specially crafted input to cause an out-of-bounds array access.

When the Parse() function processes malformed phone number strings, it attempts to access slice indices that exceed the actual bounds of the input data. This results in a Go runtime panic with the error message "slice bounds out of range," which terminates the application if unhandled.

The network-accessible nature of this vulnerability makes it particularly concerning for web services and APIs that accept phone number input from untrusted sources. An attacker requires no authentication or special privileges to exploit this flaw—they simply need to submit a crafted string to any endpoint that processes phone numbers using the vulnerable library.

Root Cause

The root cause is insufficient bounds checking in the phone number parsing logic. When parsing certain malformed inputs, the code assumes the input string contains enough characters for slice operations without first validating the actual string length. This leads to runtime panics when the slice indices exceed the available data.

Attack Vector

The attack vector is network-based with low complexity. An attacker can exploit this vulnerability by sending specially crafted phone number strings to any application endpoint that uses the phonenumbers.Parse() function. Since phone number parsing is typically performed on user-supplied input in web applications, SMS services, and validation APIs, the attack surface can be significant.

The vulnerability requires no user interaction and no prior authentication. When exploited, the application will crash due to an unhandled panic, resulting in denial of service. While the confidentiality and integrity impact is negligible, the availability impact makes this a concern for production services.

Detection Methods for CVE-2025-10954

Indicators of Compromise

  • Application crashes with "runtime error: slice bounds out of range" in panic stack traces
  • Repeated crash-restart cycles in services that handle phone number parsing
  • Unusual patterns of malformed phone number submissions in application logs
  • Elevated error rates in phone number validation endpoints

Detection Strategies

  • Monitor application logs for Go runtime panics containing "slice bounds out of range" errors
  • Implement dependency scanning to identify vulnerable versions of github.com/nyaruka/phonenumbers below 1.2.2
  • Use software composition analysis (SCA) tools to detect vulnerable transitive dependencies
  • Configure crash reporting systems to alert on repeated service restarts

Monitoring Recommendations

  • Set up alerting for unusual crash patterns in Go services handling phone number input
  • Monitor for sudden spikes in error rates on phone number parsing endpoints
  • Implement rate limiting on endpoints accepting phone number input to reduce DoS impact
  • Review dependency manifests (go.mod, go.sum) for outdated phonenumbers library versions

How to Mitigate CVE-2025-10954

Immediate Actions Required

  • Upgrade the github.com/nyaruka/phonenumbers package to version 1.2.2 or later immediately
  • Audit all Go applications using this library to identify affected services
  • Implement input validation and length checks before passing data to phonenumbers.Parse()
  • Consider implementing panic recovery handlers to gracefully handle crashes

Patch Information

The vulnerability was fixed in version 1.2.2 of the phonenumbers library. The fix is available in the GitHub commit 0479e35. Organizations should update their go.mod file to require version 1.2.2 or later.

For additional context, see GitHub Issue #148 which documents the vulnerability discovery and resolution. The Snyk vulnerability advisory provides additional tracking information.

Workarounds

  • Implement panic recovery middleware to prevent application crashes from propagating
  • Add input length validation before calling phonenumbers.Parse() to reject suspiciously long or malformed strings
  • Deploy rate limiting on endpoints accepting phone number input to reduce exploitation impact
  • Consider wrapping the Parse() function with additional bounds checking logic
bash
# Update the phonenumbers library to the patched version
go get github.com/nyaruka/phonenumbers@v1.2.2

# Verify the updated version in go.mod
grep phonenumbers go.mod

# Run go mod tidy to clean up dependencies
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/TechTextit Phonenumbers

  • SeverityMEDIUM

  • CVSS Score5.5

  • EPSS Probability0.13%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-1286
  • Technical References
  • Snyk Vulnerability SNYK-GOLANG-GITHUBCOMNYARUKAPHONENUMBERS-6084070
  • Vendor Resources
  • GitHub Commit Change

  • GitHub Issue #148
  • Latest CVEs
  • CVE-2026-8468: Elixir Plug Library DoS Vulnerability

  • CVE-2026-8295: simdjson Information Disclosure Vulnerability

  • CVE-2025-68421: Comarch ERP Optima Auth Bypass Vulnerability

  • CVE-2025-68420: Comarch ERP Optima Privilege Escalation
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