CVE-2021-43804
Out-of-bounds read when parsing RTCP BYE message in PJSIP
- State
- Published
- Severity
- 7.3 High
- Published
- Dec 22, 2021
- Updated
- Nov 4, 2025
- Reserved
- Nov 16, 2021
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | GitHub_M |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
pjprojectpjsip |
|
References
- https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9
- https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e
- [debian-lts-announce] 20220328 [SECURITY] [DLA 2962-1] pjproject security updatemailing-list
- GLSA-202210-37vendor-advisory
- [debian-lts-announce] 20221117 [SECURITY] [DLA 3194-1] asterisk security updatemailing-list
- DSA-5285vendor-advisory
- [debian-lts-announce] 20230829 [SECURITY] [DLA 3549-1] ring security updatemailing-list
- https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.