{"id":"CVE-2021-43804","published":"2021-12-22T00:00:00Z","modified":"2025-11-04T16:09:25Z","title":"Out-of-bounds read when parsing RTCP BYE message 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 affected versions if the incoming RTCP BYE message contains a reason's length, this declared length is not checked against the actual received packet size, potentially resulting in an out-of-bound read access. This issue affects all users that use PJMEDIA and RTCP. A malicious actor can send a RTCP BYE message with an invalid reason length. Users are advised to upgrade as soon as possible. There are no known workarounds.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02293,"percentile":0.83668,"provenance":"source"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9","tags":[]},{"url":"https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e","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":21.8,"factors":[{"name":"EPSS percentile","points":16.73},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"pjsip","affectedVersions":[{"vendor":"pjsip","product":"pjproject","versions":["<= 2.11.1"]}],"euvd":{"id":"EUVD-2021-30695","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-pjsip-pjproject-cve-2021-43804","children":[{"from":"CVE-2021-43804","to":"CVE-2022-21722","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pjmedia/src/pjmedia/rtcp.c"],"commits":["https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e","https://github.com/pjsip/pjproject/commit/22af44e68a0c7d190ac1e25075e1382f77e9397a"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.64,"basis":"same product + CWE + description similarity"}]},{"from":"CVE-2021-43804","to":"CVE-2022-24786","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["pjmedia/src/pjmedia/rtcp.c"],"commits":["https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e","https://github.com/pjsip/pjproject/commit/11559e49e65bdf00922ad5ae28913ec6a198d508"],"basis":"rarely changed file"}]}]}}