CVE-2026-40892
9.8
CRITICAL
CVSS 3.1
EPSS 0.42%
Description
PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, a stack buffer overflow exists in pjsip_auth_create_digest2() in PJSIP when using pre-computed digest credentials (PJSIP_CRED_DATA_DIGEST). The function copies credential data using cred_info->data.slen as the length without an upper-bound check, which can overflow the fixed-size ha1 stack buffer (128 bytes) if data.slen exceeds the expected digest string length.
How to fix CVE-2026-40892
To remediate CVE-2026-40892, upgrade the affected package to a fixed version below.
- —upgrade to 1:22.10.0+dfsg+~cs6.17.60671434-1 or later
Is CVE-2026-40892 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 1:22.10.0+dfsg+~cs6.17.60671434-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |