GitHub Advisoryadvisory · Go

GHSA-fmjh-f678-cv3x github.com/nyaruka/phonenumbers Vulnerable to Improper Validation of Syntactic Correctness of Input

MEDIUM Published 2025-09-27 Modified 2025-09-29 Official page ↗
Aliases
CVE-2025-10954
Ecosystem
Go
Packages
github.com/nyaruka/phonenumbers
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-1286
Reviewed
2025-09-29

Affected packages

• Go github.com/nyaruka/phonenumbers: < 1.2.2 → fixed in 1.2.2

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

Related

Alias · CVE (1)

  • CVE-2025-10954 Versions of the package github.com/nyaruka/phonenumbers before 1.2.2 are vulnerable to Improper Validation of Syntactic Correctness of… vulnerability

Weakness · CWE (1)

  • CWE-1286 Improper Validation of Syntactic Correctness of Input weakness

References