{"id":"CVE-2022-23547","published":"2022-12-23T14:00:22Z","modified":"2025-11-04T16:09:33Z","title":"Heap buffer overflow in pjproject when decoding STUN message","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. This issue is similar to GHSA-9pfh-r8x4-w26w. Possible buffer overread when parsing a certain STUN message. The vulnerability affects applications that uses STUN including PJNATH and PJSUA-LIB. The patch is available as commit in the master branch.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01026,"percentile":0.64408,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-cxwq-5g9x-x7fr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w","tags":["x_refsource_MISC"]},{"url":"https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36","tags":["x_refsource_MISC"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html","tags":[]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":12.88},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"pjsip","affectedVersions":[{"vendor":"pjsip","product":"pjproject","versions":["<= 2.13"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-15T03:11:54.620501Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-28565","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pjsip-pjproject-cve-2021-37706","parents":[{"from":"CVE-2021-37706","to":"CVE-2022-23547","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pjnath/src/pjnath/stun_msg.c"],"commits":["https://github.com/pjsip/pjproject/commit/15663e3f37091069b8c98a7fce680dc04bc8e865","https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36"],"basis":"shared function","functions":["decode_errcode_attr"]}]},{"from":"CVE-2022-23537","to":"CVE-2022-23547","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pjnath/src/pjnath/stun_msg.c"],"commits":["https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1","https://github.com/pjsip/pjproject/commit/bc4812d31a67d5e2f973fbfaf950d6118226cf36"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.82,"basis":"same product + CWE + description similarity"}]}]}}