Skip to main content
CVE-2025-10954VulnerabilityPublished Updated

CVE-2025-10954: github.com/nyaruka/phonenumbers · Improper Validation of Syntactic Correctness of Input

Affects github.com/nyaruka/phonenumbersSource CVE Database V5

0

Not known to be exploited · CVSS 6.9 Medium.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 27 Sep 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
github.com/nyaruka/phonenumbersAffected
  • =0
Fixed in–

AI-suggested

European organizations should promptly update the github.com/nyaruka/phonenumbers package to version 1.2.2 or later, where this vulnerability has been addressed. If immediate upgrading is not feasible, implement input validation controls at the application level to sanitize and verify phone number inputs before passing them to the phonenumbers.Parse() function, ensuring inputs conform to expected formats and length constraints. Employ runtime monitoring and error handling to gracefully manage unexpected panics or exceptions arising from input parsing. Incorporate fuzz testing and static code analysis in the development lifecycle to detect similar input validation issues proactively. Additionally, deploy Web Application Firewalls (WAFs) or input filtering mechanisms to detect and block suspicious or malformed phone number inputs at network boundaries. Maintain an inventory of all internal and third-party applications using this package to ensure comprehensive patching. Finally, establish incident response procedures to quickly identify and mitigate any exploitation attempts causing service disruptions.

Description

Versions of the package github.com/nyaruka/phonenumbers before 1.2.2 are vulnerable to Improper Validation of Syntactic Correctness of Input in the phonenumbers.Parse() function. An attacker can cause a panic by providing crafted input causing a "runtime error: slice bounds out of range".

References

Community reviews

Loading reviews…