NetSight
medium5.3

CVE-2025-10954

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

Impact

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

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/nyaruka/phonenumbers< 1.2.21.2.2

Affected products

VendorProductAffected versions
TextitPhonenumbers
before 1.2.2

Weakness classification

References