{"id":"CVE-2022-21723","summary":"Out-of-bounds read in multipart parsing in PJSIP","details":"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.","aliases":["GHSA-7fw8-54cv-r7pm"],"modified":"2026-10-22T07:19:14.973142863Z","published":"2022-01-27T00:00:00Z","database_specific":{"cwe_ids":["CWE-125"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21723.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/166227/Asterisk-Project-Security-Advisory-AST-2022-006.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21723.json"},{"type":"ADVISORY","url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-7fw8-54cv-r7pm"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21723"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/202210-37"},{"type":"ADVISORY","url":"https://www.debian.org/security/2022/dsa-5285"},{"type":"FIX","url":"https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896"},{"type":"ARTICLE","url":"http://seclists.org/fulldisclosure/2022/Mar/2"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html"},{"type":"ARTICLE","url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pjsip/pjproject","events":[{"introduced":"0"},{"fixed":"077b465c33f0aec05a49cd2ca456f9a1b112e896"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"last_affected":"2.11.1"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"077b465c33f0aec05a49cd2ca456f9a1b112e896"}]}]}}],"versions":["2.11","2.10"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-21723.json","vanir_signatures":[{"id":"CVE-2022-21723-878201a0","signature_type":"Function","signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896","target":{"file":"pjlib-util/src/pjlib-util/scanner.c","function":"pj_scan_get_char"},"deprecated":false,"digest":{"function_hash":"54029846215899427546026137927943366750","length":228}},{"digest":{"line_hashes":["21257971068237111781312071187184869574","233250210414147396740430857046717289995","23279858301796271446123949414617557610","120513516281041415767505558055386818794","249301324419667515767106270948162594119","154319877163992225251515697916520936624","20108604090800465742998138800067690626","304853177782123302844709029147041279813","295024220067829681274778255276677041068","271855231496254846833924321693337767818"],"threshold":0.9},"id":"CVE-2022-21723-bf2ce579","signature_type":"Line","signature_version":"v1","source":"https://github.com/pjsip/pjproject/commit/077b465c33f0aec05a49cd2ca456f9a1b112e896","target":{"file":"pjlib-util/src/pjlib-util/scanner.c"},"deprecated":false}],"vanir_signatures_modified":"2026-10-22T07:19:14Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"}]}