CVE-2023-42444
HIGH7.5EPSS 0.55%phonenumber: panic on parsing crafted RF3966 phonenumber inputs
Published: 9/21/2023Modified: 3/13/2026
Description
### Impact The phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string. In a typical deployment of `rust-phonenumber`, this may get triggered by feeding a maliciously crafted phonenumber over the network, specifically the string `.;phone-context=`. ### Patches Patches will be published as version `0.3.3+8.13.9` and backported as `0.2.5+8.11.3`.
Affected packages (2)
- crates.io/phonenumberfrom 0, < 0.2.5
- crates.io/phonenumber>= 0.0.0-0, < 0.2.5, >= 0.3.0, < 0.3.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (8)
- ADVISORYhttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42444
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-42444
- PATCHhttps://crates.io/crates/phonenumber
- PATCHhttps://github.com/whisperfish/rust-phonenumber
- WEBhttps://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6
- WEBhttps://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71
- WEBhttps://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2
- WEBhttps://rustsec.org/advisories/RUSTSEC-2023-0082.html