{"id":"CVE-2022-21723","published":"2022-01-27T00:00:00Z","modified":"2025-11-04T16:09:30Z","title":"Out-of-bounds read in multipart parsing in PJSIP","vendor":"pjsip","product":"pjproject","tier":"tail","description":{"text":"PJSIP is a free and open source multimedia communication library written in C language implementing standard based protocols such as SIP, SDP, RTP, STUN, TURN, and ICE. In versions 2.11.1 and prior, parsing an incoming SIP message that contains a malformed multipart can potentially cause out-of-bound read access. This issue affects all PJSIP users that accept SIP multipart. The patch is available as commit in the `master` branch. There are no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04682,"percentile":0.91992,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-7fw8-54cv-r7pm","tags":[]},{"url":"https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Mar/2","tags":["mailing-list"]},{"url":"http://packetstormsecurity.com/files/166227/Asterisk-Project-Security-Advisory-AST-2022-006.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202210-37","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5285","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html","tags":[]}],"priority":{"score":29.8,"factors":[{"name":"EPSS percentile","points":18.4},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"pjsip","affectedVersions":[{"vendor":"pjsip","product":"pjproject","versions":["<= 2.11.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:57:51.215676Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The flaw is an out-of-bounds read in the multipart parsing code of PJSIP, the pjproject library that implements SIP, SDP, RTP and related protocols. An attacker can trigger it by sending a SIP message containing a malformed multipart body to a system that accepts SIP multipart, requiring only network access with no authentication or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:28:05Z"},"euvd":{"id":"EUVD-2022-26905","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/166227/Asterisk-Project-Security-Advisory-AST-2022-006.html"],"lineage":{"familyId":"fam-pjsip-pjproject-cve-2021-43804","children":[{"from":"CVE-2022-21723","to":"CVE-2022-39244","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pjlib-util/src/pjlib-util/scanner.c"],"commits":["https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896","https://github.com/pjsip/pjproject/commit/c4d34984ec92b3d5252a7d5cddd85a1d3a8001ae"],"basis":"shared function","functions":["PJ_DEF"]}]}]}}