# CVE-2021-43804: Out-of-bounds read when parsing RTCP BYE message in PJSIP

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.29%, higher than 83% of CVEs (2026-12-01)
- Published: 2021-12-22T00:00:00.000Z
- Modified: 2026-06-17T04:11:28.337Z
- Weaknesses: CWE-125
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pjsip pjproject: <= 2.11.1
- teluu pjsip: up to 2.11.1
- debian debian_linux: 9.0; 10.0

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9> (patch, third-party-advisory)
- <https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e> (patch, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html> (mailing-list, third-party-advisory)
- <https://security.gentoo.org/glsa/202210-37> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2022/dsa-5285> (third-party-advisory, vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html> (mailing-list)
- <https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html>

## Sources

- CVE List: [CVE-2021-43804](https://www.cve.org/CVERecord?id=CVE-2021-43804), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2021-43804](https://nvd.nist.gov/vuln/detail/CVE-2021-43804), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43804 · Whole record: https://cve.day/CVE-2021-43804.json · Rebuilt by cve.day 2026-11-25T22:24:36.355Z
