CVE-2025-10954
Wolfi vulnerability analysis and mitigation

Overview

CVE-2025-10954 affects versions of the package github.com/nyaruka/phonenumbers before 1.2.2. The vulnerability was discovered on September 27, 2025, and involves improper validation of syntactic correctness of input in the phonenumbers.Parse() function. This vulnerability was reported by Snyk and assigned a CVSS v3.1 base score of 7.5 (HIGH) by NIST NVD (NVD).

Technical details

The vulnerability exists in the phonenumbers.Parse() function where improper validation of input can lead to a runtime panic. Specifically, the issue occurs in the buildNationalNumberForParsing function when handling phone numbers formatted according to RFC3966 that include a phone-context parameter. The vulnerable code attempts to access an index beyond the string bounds when processing certain malformed inputs, resulting in a 'slice bounds out of range' error (Miggo).

Impact

When exploited, this vulnerability can cause a denial of service (DoS) condition by triggering a panic in the application. The impact is primarily on availability, with no direct effect on confidentiality or integrity of the system (Snyk).

Mitigation and workarounds

The recommended mitigation is to upgrade github.com/nyaruka/phonenumbers to version 1.2.2 or higher. The fix has been implemented through the introduction of two new functions: extractPhoneContext and isPhoneContextValid, which properly validate the phone-context parameter and perform explicit boundary checks (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Wolfi vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-59937HIGH8.2
  • WolfiWolfi
  • github.com/wneessen/go-mail
NoYesSep 29, 2025
CVE-2025-10954MEDIUM5.5
  • WolfiWolfi
  • hydra-fips
NoYesSep 27, 2025
CVE-2025-61786LOW3.3
  • WolfiWolfi
  • deno
NoYesOct 08, 2025
CVE-2025-61785LOW3.3
  • RustRust
  • deno
NoYesOct 08, 2025
CVE-2025-59842LOW2.1
  • JupyterLabJupyterLab
  • tensorflow-gpu-jupyter
NoYesSep 26, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management