{"id":"CVE-2022-24764","published":"2022-03-22T00:00:00Z","modified":"2025-11-04T16:09:37Z","title":"Stack buffer overflow in pjproject","vendor":"pjsip","product":"pjproject","tier":"tail","description":{"text":"PJSIP is a free and open source multimedia communication library written in C. Versions 2.12 and prior contain a stack buffer overflow vulnerability that affects PJSUA2 users or users that call the API `pjmedia_sdp_print(), pjmedia_sdp_media_print()`. Applications that do not use PJSUA2 and do not directly call `pjmedia_sdp_print()` or `pjmedia_sdp_media_print()` should not be affected. A patch is available on the `master` branch of the `pjsip/pjproject` GitHub repository. There are currently no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02376,"percentile":0.84267,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"},{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-f5qg-pqcg-765m","tags":[]},{"url":"https://github.com/pjsip/pjproject/commit/560a1346f87aabe126509bb24930106dea292b00","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":22.1,"factors":[{"name":"EPSS percentile","points":16.85},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"pjsip","affectedVersions":[{"vendor":"pjsip","product":"pjproject","versions":["<= 2.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-23T15:56:28.954605Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-29591","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pjsip-pjproject-cve-2021-43804","children":[{"from":"CVE-2022-24764","to":"CVE-2022-39244","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pjmedia/src/pjmedia/sdp.c"],"commits":["https://github.com/pjsip/pjproject/commit/560a1346f87aabe126509bb24930106dea292b00","https://github.com/pjsip/pjproject/commit/c4d34984ec92b3d5252a7d5cddd85a1d3a8001ae"],"basis":"rarely changed file"}]}]}}