Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43804

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-43804
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:02 UTC · Revision 1

Source evidence

CVE-2021-43804

core-osv · Original source

Published 22 Dec 2021, 18:15 UTC

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.

osv:CVE-2021-43804
Complete source record
{
  "id": "033cf6ca10547acdaddba0ae5bced63990e93ec780dca7a8be0086e187a00e14",
  "url": "https://osv.dev/vulnerability/CVE-2021-43804",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43804",
    "summary": "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.",
    "evidence": "osv:CVE-2021-43804",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-43804",
      "aliases": [
        "CVE-2021-43804",
        "GHSA-3qx3-cg72-wrh9"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pjsip/pjproject",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "513700f74787009241a11eda125284277f7dfc1c"
                },
                {
                  "fixed": "8b621f192cae14456ee0b0ade52ce6c6f258af1e"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8b621f192cae14456ee0b0ade52ce6c6f258af1e"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.11.1",
            "2.11",
            "2.10"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-43804.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-43804-21f02fcb",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "103894779853426178814937399479854292327",
                    "130803791047819453649259362093641933649",
                    "122525548633403368601872048441338313566",
                    "129850034086129389672742617489432174938",
                    "106737951759900644022218887804782806478",
                    "169713399488750805111827828987683376328"
                  ]
                },
                "source": "https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e",
                "target": {
                  "file": "pjmedia/src/pjmedia/rtcp.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-43804-252f8bbe",
                "digest": {
                  "length": 456,
                  "function_hash": "276740140683552634685635405292978235453"
                },
                "source": "https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e",
                "target": {
                  "file": "pjmedia/src/pjmedia/rtcp.c",
                  "function": "parse_rtcp_bye"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:32:27Z"
          }
        }
      ],
      "modified": "2026-10-20T14:32:27.745097163Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2023/08/msg00038.html",
        "https://lists.debian.org/debian-lts-announce/2024/09/msg00030.html",
        "https://lists.debian.org/debian-lts-announce/2022/03/msg00035.html",
        "https://lists.debian.org/debian-lts-announce/2022/11/msg00021.html",
        "https://security.gentoo.org/glsa/202210-37",
        "https://www.debian.org/security/2022/dsa-5285",
        "https://github.com/pjsip/pjproject/commit/8b621f192cae14456ee0b0ade52ce6c6f258af1e",
        "https://github.com/pjsip/pjproject/security/advisories/GHSA-3qx3-cg72-wrh9"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  },
                  {
                    "introduced": "10.0"
                  },
                  {
                    "last_affected": "10.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-43804",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389706,
  "published_at": "2021-12-22T18:15:07.9+00:00"
}