Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-43845

PJSIP is a free and open source multimedia communication library. In version 2.11.1 and prior, if incoming RTCP XR message contain block, the data field is not checked against the received packet size, potentially resulting in an out-of-bound read access. This affects all users that use PJMEDIA and RTCP XR. A malicious actor can send a RTCP XR message with an invalid packet size.

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

Source evidence

CVE-2021-43845

core-osv · Original source

Published 27 Dec 2021, 18:15 UTC

PJSIP is a free and open source multimedia communication library. In version 2.11.1 and prior, if incoming RTCP XR message contain block, the data field is not checked against the received packet size, potentially resulting in an out-of-bound read access. This affects all users that use PJMEDIA and RTCP XR. A malicious actor can send a RTCP XR message with an invalid packet size.

osv:CVE-2021-43845
Complete source record
{
  "id": "5ee0332905e7f03f1b4dcecb3ae7c077f859f525ade2cecfadb1f5358b1cf847",
  "url": "https://osv.dev/vulnerability/CVE-2021-43845",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-43845",
    "summary": "PJSIP is a free and open source multimedia communication library. In version 2.11.1 and prior, if incoming RTCP XR message contain block, the data field is not checked against the received packet size, potentially resulting in an out-of-bound read access. This affects all users that use PJMEDIA and RTCP XR. A malicious actor can send a RTCP XR message with an invalid packet size.",
    "evidence": "osv:CVE-2021-43845",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2021-43845",
      "aliases": [
        "CVE-2021-43845",
        "GHSA-r374-qrwv-86hh"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/pjsip/pjproject",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "513700f74787009241a11eda125284277f7dfc1c"
                },
                {
                  "fixed": "f74c1fc22b760d2a24369aa72c74c4a9ab985859"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:teluu:pjsip:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.11.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f74c1fc22b760d2a24369aa72c74c4a9ab985859"
                      }
                    ],
                    "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-43845.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-43845-1f9c9477",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "4073572344689943911124658718667752297",
                    "209010379036503664911872474770178801417",
                    "171642782584085040410049896457325435756",
                    "51406099031871112102662163582770951807",
                    "101606692147499361841599617856433669746",
                    "39002042882445297833373814622502506687",
                    "93524811712521803336451275932915612712",
                    "219078617565287023457299214877517836405",
                    "93993527446036329088164087373480765830",
                    "294045389916670558896821548348881358083",
                    "164487798707190644002308488821824218494",
                    "14335266818349053158887545740262944328",
                    "216751028195986996072550307876660182928"
                  ]
                },
                "source": "https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859",
                "target": {
                  "file": "pjmedia/src/pjmedia/rtcp_xr.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-43845-8b7a2b25",
                "digest": {
                  "length": 5582,
                  "function_hash": "163415554810497209360073698107880337313"
                },
                "source": "https://github.com/pjsip/pjproject/commit/f74c1fc22b760d2a24369aa72c74c4a9ab985859",
                "target": {
                  "file": "pjmedia/src/pjmedia/rtcp_xr.c",
                  "function": "pjmedia_rtcp_xr_rx_rtcp_xr"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:32:28Z"
          }
        }
      ],
      "modified": "2026-10-20T14:32:28.514900514Z",
      "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/f74c1fc22b760d2a24369aa72c74c4a9ab985859",
        "https://github.com/pjsip/pjproject/pull/2924",
        "https://github.com/pjsip/pjproject/security/advisories/GHSA-r374-qrwv-86hh"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:11.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"
                  },
                  {
                    "introduced": "11.0"
                  },
                  {
                    "last_affected": "11.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2021-43845",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389708,
  "published_at": "2021-12-27T18:15:07.46+00:00"
}