CyberSecBulletin
CVE-2025-10954NVD status: Analyzed

github.com/nyaruka/phonenumbers: Improper Validation of Syntactic Correctness of Input

CVE-2025-10954 is a high-severity improper validation of syntactic correctness of input vulnerability in github.com/nyaruka/phonenumbers, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 1.2.2 as the first without the flaw, so updating github.com/nyaruka/phonenumbers to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.46% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update github.com/nyaruka/phonenumbers to 1.2.2 or a later version.
  2. Update Phonenumbers to 1.2.2 or a later version.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Github.com/nyaruka/phonenumbersgithub.com/nyaruka/phonenumbersbefore 1.2.21.2.2
TextitPhonenumbersbefore 1.2.21.2.2

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 4.05.5MediumCNA (snyk.io)
CVSS 3.15.3MediumCNA (snyk.io)
CVSS 3.17.5HighNVD

Official 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".

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Validation of Syntactic Correctness of Input

The product receives input that is expected to be well-formed - i.e., to comply with a certain syntax - but it does not validate or incorrectly validates that the input complies with the syntax.

More Improper Validation of Syntactic Correctness of Input vulnerabilities (CWE-1286)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: yes, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Recent Improper Validation of Syntactic Correctness of Input vulnerabilities

Spotted an error? Tell us.