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".
{
"cna_assigner": "snyk",
"cwe_ids": [
"CWE-1286"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/10xxx/CVE-2025-10954.json"
}{
"cpe": "cpe:2.3:a:textit:phonenumbers:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "1.2.2"
}
],
"source": [
"CPE_RANGE",
"REFERENCES"
]
}