{"id":"CVE-2021-43804","state":"PUBLISHED","title":"Out-of-bounds read when parsing RTCP BYE message in PJSIP","description":"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.","publishedAt":"2021-12-22T00:00:00.000Z","updatedAt":"2025-11-04T16:09:25.648Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","source":"GitHub_M"},"assigner":"GitHub_M","products":["pjsip pjproject"],"affected":[{"vendor":"pjsip","product":"pjproject","versions":[{"version":"<= 2.11.1","status":"affected"}]}],"references":["https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9","https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e","https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html","https://security.gentoo.org/glsa/202210-37","https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html","https://www.debian.org/security/2022/dsa-5285","https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html","https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:49:07.642Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/43xxx/CVE-2021-43804.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-43804","state":"PUBLISHED","datePublished":"2021-12-22T00:00:00.000Z","dateUpdated":"2025-11-04T16:09:25.648Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2021-11-16T00:00:00.000Z"},"containers":{"cna":{"title":"Out-of-bounds read when parsing RTCP BYE message in PJSIP","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"pjsip","product":"pjproject","versions":[{"version":"<= 2.11.1","status":"affected"}]}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9"},{"url":"https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e"},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html","name":"[debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202210-37","name":"GLSA-202210-37","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html","name":"[debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update","tags":["mailing-list"]},{"url":"https://www.debian.org/security/2022/dsa-5285","name":"DSA-5285","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html","name":"[debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update","tags":["mailing-list"]}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"LOW","baseScore":7.3,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"CWE-125: Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-08-30T00:06:32.522Z"},"source":{"advisory":"GHSA-3qx3-cg72-wrh9","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9","tags":["x_transferred"]},{"url":"https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html","name":"[debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security update","tags":["mailing-list","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202210-37","name":"GLSA-202210-37","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html","name":"[debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security update","tags":["mailing-list","x_transferred"]},{"url":"https://www.debian.org/security/2022/dsa-5285","name":"DSA-5285","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html","name":"[debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security update","tags":["mailing-list","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T16:09:25.648Z"}}]}}}