Advisory

GHSA-fmjh-f678-cv3x

Also known as: CVE-2025-10954, GO-2025-3987

Summary

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

Details

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

Medium Basis: The source's own band: MODERATE

Dates

Published
2025-09-27 06:30 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/nyaruka/phonenumbers

Go · All systems

Affected

  • introduced 0, fixed 1.2.2 (semver)

Fixed versions

1.2.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences