{"id":"CVE-2023-42444","aliases":["CVE-2023-42444","GHSA-whhr-7f2w-qqj2","RUSTSEC-2023-0082"],"related":[],"kind":"vulnerability","state":"published","title":"phonenumber panics on parsing crafted RF3966 inputs","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThe phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string.\n\nIn a typical deployment of `rust-phonenumber`, this may get triggered by feeding a maliciously crafted phonenumber over the network, specifically the string `.;phone-context=`.\n\n### Patches\nPatches will be published as version `0.3.3+8.13.9` and backported as `0.2.5+8.11.3`.\n\n### Workarounds\nn.a.\n\n### References\nn.a.","format":"markdown","source":"ghsa"},{"lang":"en","text":"### Impact\nThe phonenumber parsing code may panic due to a panic-guarded out-of-bounds access on the phonenumber string.\n\nIn a typical deployment of `rust-phonenumber`, this may get triggered by feeding a maliciously crafted phonenumber over the network, specifically the string `.;phone-context=`.\n\n### Patches\nPatches will be published as version `0.3.3+8.13.9` and backported as `0.2.5+8.11.3`.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Phonenumber es una librería para analizar, formatear y validar números de teléfono internacionales. Antes de las versiones `0.3.3+8.13.9` y `0.2.5+8.11.3`, el código parseado de phonenumber podía entrar en pánico debido a un acceso fuera de los límites protegido contra el pánico en la cadena phonenumber. En una implementación típica de `rust-phonenumber`, esto puede desencadenarse al introducir un phonenumber creado con fines malintencionados a través de la red, específicamente la cadena `.;phone-context=`. Las versiones `0.3.3+8.13.9` y `0.2.5+8.11.3` contienen un parche para este problema. No se conocen workarounds.","source":"nvd"}],"published":"2023-09-19T12:00:00.000Z","modified":"2026-10-13T15:15:51.096Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-248","CWE-392","CWE-1284"],"affected":[{"ranges":[{"version":"< 0.2.5+8.11.3","status":"affected"},{"version":">= 0.3.0, < 0.3.3+8.3.19","status":"affected"}],"vendor":"whisperfish","product":"rust-phonenumber","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.2.5"}],"ecosystem":"crates.io","package":"phonenumber","purl":"pkg:cargo/phonenumber","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.3.0","status":"affected","fixed":"0.3.3"}],"ecosystem":"crates.io","package":"phonenumber","purl":"pkg:cargo/phonenumber","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.2.5"},{"type":"semver","introduced":"0.3.0","status":"affected","fixed":"0.3.3"}],"ecosystem":"crates.io","package":"phonenumber","purl":"pkg:cargo/phonenumber","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.2.5\\+8.11.3"},{"status":"affected","introduced":"0.3.0\\+8.12.9","fixed":"0.3.3\\+8.13.9"}],"vendor":"whisperfish","product":"phonenumber","cpe":"cpe:2.3:a:whisperfish:phonenumber:*:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/whisperfish/rust-phonenumber/security/advisories/GHSA-whhr-7f2w-qqj2","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/whisperfish/rust-phonenumber/commit/2dd44be94539c051b4dee55d1d9d349bd7bedde6","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","rustsec","nvd"]},{"url":"https://github.com/whisperfish/rust-phonenumber/commit/bea8e732b9cada617ede5cf51663dba183747f71","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42444","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/whisperfish/rust-phonenumber","tags":["package"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2023-0082.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/phonenumber","tags":["package"],"sources":["rustsec"]},{"url":"https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-42444","tags":["web"],"sources":["rustsec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-24T20:46:29.902Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-42444","url":"https://www.cve.org/CVERecord?id=CVE-2023-42444","licence":"CVE Terms of Use","modified":"2024-09-24T20:46:54.422Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-whhr-7f2w-qqj2","url":"https://github.com/advisories/GHSA-whhr-7f2w-qqj2","licence":"CC-BY-4.0","modified":"2026-03-13T10:47:43.430Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2023-0082","url":"https://rustsec.org/advisories/RUSTSEC-2023-0082.html","licence":"CC0-1.0","modified":"2026-10-13T15:15:51.096Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-42444","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42444","licence":"Public domain","modified":"2026-06-17T06:23:50.550Z"}],"updatedAt":"2026-11-25T22:58:27.992Z","epss":{"score":0.00867,"percentile":0.5983,"date":"2026-12-02T12:00:21.000Z"}}