{"id":"CVE-2022-23537","published":"2022-12-20T18:50:45Z","modified":"2025-11-04T16:09:32Z","title":"PJSIP vulnerable to heap buffer overflow 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. Buffer overread is possible when parsing a specially crafted STUN message with unknown attribute. The vulnerability affects applications that uses STUN including PJNATH and PJSUA-LIB. The patch is available as a commit in the master branch (2.13.1).","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.01114,"percentile":0.66812,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-9pfh-r8x4-w26w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/pjsip/pjproject/commit/d8440f4d711a654b511f50f79c0445b26f9dd1e1","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.9,"factors":[{"name":"EPSS percentile","points":13.36},{"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-16T14:52:00.847785Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-28560","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pjsip-pjproject-cve-2021-37706","parents":[{"from":"CVE-2021-37706","to":"CVE-2022-23537","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/d8440f4d711a654b511f50f79c0445b26f9dd1e1"],"basis":"rarely changed file"}]}],"children":[{"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"}]}]}}