CVE-2021-37706
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 ...
Affects 4 products across 4 vendors.
CVE-2021-37706 affects PJSIP versions where an integer underflow can occur due to improper header length checking in STUN messages with ERROR-CODE attributes, potentially leading to memory corruption or denial of service.
BSID: BS-2021-GLOBAL-304554-C • Model: /workspace/models/qwen2.5-coder-32b-instruct-bf16 • Confidence: HIGH
Is this CVE in your environment?
BreachSpider monitors your ICS/OT environment for vulnerabilities like this one. No agents or network access required. Free to start.
Check My Environment →What is CVE-2021-37706?
What is the CVSS score for CVE-2021-37706?
Is CVE-2021-37706 actively exploited?
How do I remediate CVE-2021-37706?
What systems are affected by CVE-2021-37706?
| CVE ID | CVE-2021-37706 |
|---|---|
| BSID | BS-2021-GLOBAL-304554-C BreachSpider Global ID |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2021-12-22 |
| Last Modified | 2026-06-17 |
| ICS Relevance | 0% |
| Weakness (CWE) | |
| Source | NVD |
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 STUN message contains an ERROR-CODE attribute, the header length is not checked before performing a subtraction operation, potentially resulting in an integer underflow scenario. This issue affects all users that use STUN. A malicious actor located within the victim’s network may forge and send a specially crafted UDP (STUN) message that could remotely execute arbitrary code on the victim’s machine. Users are advised to upgrade as soon as possible. There are no known workarounds.
Source: NIST NVD / MITRE CVE Database
An attacker can craft a malicious STUN message containing an ERROR-CODE attribute with a specific length to trigger an integer underflow in the PJSIP library, which could result in memory corruption or a denial of service condition.
Exploitation Likelihood: HIGH
| Vendor | Product | Affected Versions |
|---|---|---|
| Asterisk | Certified Asterisk | 16.8.0 < 16.8.0 |
| Debian | Debian Linux | 9.0 10.0 |
| Sangoma | Asterisk | ≥ 16.0.0, < 16.24.1 ≥ 18.0.0, < 18.10.1 ≥ 19.0.0, < 19.2.1 |
| Teluu | Pjsip | ≤ 2.11.1 |
No official vendor advisory link on record. See the CVE record →
| CISA known-exploited | Not in KEV catalog |
|---|---|
| Public Exploit | Not confirmed |
| PoC Code | Not confirmed |
AI Enrichment Record — provenance & audit hash
| Model | /workspace/models/qwen2.5-coder-32b-instruct-bf16 |
|---|---|
| Confidence | HIGH |
| Enriched At | 2026-05-24 |
| SHA-512 Audit Hash | 21541092fb0ab3ff1833bf9050c8ebcad9a971520cc409696c456991a8b80304b7c518aef04bfe79568b00d6432e6c9405a565011929ee26775783baa3d32553 |
Critical Severity - Know Your Exposure
A CVSS 9.8 vulnerability in your ICS environment cannot wait. BreachSpider maps critical CVEs to your specific assets and tells you what to fix first.
Create a free account →