{"id":"CVE-2023-42444","summary":"phonenumber panics on parsing crafted RF3966 inputs","details":"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.","aliases":["GHSA-whhr-7f2w-qqj2","RUSTSEC-2023-0082"],"modified":"2026-08-12T03:51:46.648670038Z","published":"2023-09-19T14:47:22.026Z","database_specific":{"cwe_ids":["CWE-1284","CWE-248","CWE-392"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42444.json","unresolved_ranges":[{"extracted_events":[{"introduced":"\u003e= 0.3.0, \u003c 0.3.3+8.3.19"},{"last_affected":"\u003e= 0.3.0, \u003c 0.3.3+8.3.19"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/42xxx/CVE-2023-42444.json"},{"type":"ADVISORY","url":"https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42444"},{"type":"FIX","url":"https://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6"},{"type":"FIX","url":"https://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/whisperfish/rust-phonenumber","events":[{"introduced":"0"},{"fixed":"723525bd6654abcd658b8a749882f47e34a3cc26"},{"fixed":"226b6fbef89a2670aa1ce540df3f3558314943bf"},{"fixed":"2dd44be94539c051b4dee55d1d9d349bd7bedde6"},{"fixed":"bea8e732b9cada617ede5cf51663dba183747f71"}],"database_specific":{"cpe":"cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.2.5\\+8.11.3"},{"introduced":"0.3.0\\+8.12.9"},{"fixed":"0.3.3\\+8.13.9"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["\u003c 0.2.5+8.11.3","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-42444.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H"}]}