CVE-2023-42444
HIGH 7.5CVSS 3.1phonenumber panics on parsing crafted RFC3966 inputs
phonenumber is a library for parsing, formatting and validating international phone numbers. Prior to versions 0.3.3+8.13.9 and 0.2.5+8.11.3, 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=. Versions 0.3.3+8.13.9 and 0.2.5+8.11.3 contain a patch for this issue. There are no known workarounds.
- Published
- 19 Sep 2023
- Last modified
- 13 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-1284CWE-248CWE-392
- Also known as
- GHSA-whhr-7f2w-qqj2RUSTSEC-2023-0082
- Sources
- NVDJSONOSV GHSA-whhr-7f2w-qqj2JSONOSV RUSTSEC-2023-0082JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | whisperfish | phonenumbercpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:* |
< 0.2.5\+8.11.3 | 0.2.5\+8.11.3 |
| NVD | whisperfish | phonenumbercpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:* |
>= 0.3.0\+8.12.9, < 0.3.3\+8.13.9 | 0.3.3\+8.13.9 |
| OSV | crates.io | phonenumber | < 0.2.5 | 0.2.5 |
| OSV | crates.io | phonenumber | >= 0.3.0, < 0.3.3 | 0.3.3 |
| OSV | crates.io | phonenumber | >= 0.0.0-0, < 0.2.5; >= 0.3.0, < 0.3.3 | 0.2.5, 0.3.3 |
References
- https://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6 · Patch, WEB
- https://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71 · Patch, WEB
- https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-42444 · ADVISORY
- https://github.com/whisperfish/rust-phonenumber · PACKAGE
- https://rustsec.org/advisories/RUSTSEC-2023-0082.html · WEB, ADVISORY
- https://crates.io/crates/phonenumber · PACKAGE
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42444 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 19 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Sep 2023)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Sep 2023)