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".
{
"severity": "MODERATE",
"github_reviewed": true,
"cwe_ids": [
"CWE-1286"
],
"nvd_published_at": "2025-09-27T05:15:29Z",
"github_reviewed_at": "2025-09-29T16:29:27Z"
}