GHSA-fmjh-f678-cv3x

Suggest an improvement
Source
https://github.com/advisories/GHSA-fmjh-f678-cv3x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-fmjh-f678-cv3x/GHSA-fmjh-f678-cv3x.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-fmjh-f678-cv3x
Aliases
Downstream
CGA (6)
MINI (8)
Published
2025-09-27T06:30:52Z
Modified
2026-07-17T21:09:04Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
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".

Database specific
{
    "cwe_ids":  [
        "CWE-1286"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2025-09-29T16:29:27Z",
    "nvd_published_at":  "2025-09-27T05:15:29Z",
    "severity":  "MODERATE"
}
References

Affected packages

Go / github.com/nyaruka/phonenumbers

Package

Name
github.com/nyaruka/phonenumbers
View open source insights on deps.dev
Purl
pkg:golang/github.com/nyaruka/phonenumbers

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-fmjh-f678-cv3x/GHSA-fmjh-f678-cv3x.json"