Vulnerability · Published Sep 27, 2025 · Assigned by snyk

CVE-2025-10954

Medium 5.3

In plain English

A medium-severity security flaw in github.com/nyaruka/phonenumbers. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.5%top 60.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/nyaruka/phonenumbers1.2.2GHSA-fmjh-f678-cv3x
Gogithub.com/nyaruka/phonenumbers1.2.2GO-2025-3987

Affected products (as reported)

VendorProductVersions
n/a github.com/nyaruka/phonenumbers 0 – before 1.2.2

Weakness: CWE-1286 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P

References