PT-2026-34170 · Debian+2 · Asterisk+2
Published
2026-04-21
·
Updated
2026-05-31
·
CVE-2026-40892
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
PJSIP versions 2.16 and earlier
Description
A stack buffer overflow occurs in the
pjsip auth create digest2() function when using pre-computed digest credentials (PJSIP CRED DATA DIGEST). The function copies credential data using the cred info->data.slen length without performing an upper-bound check, which can overflow the fixed-size ha1 stack buffer of 128 bytes if data.slen exceeds the expected digest string length.Recommendations
Update to a version later than 2.16.
As a temporary workaround, restrict the use of the
pjsip auth create digest2() function when handling pre-computed digest credentials.Fix
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Asterisk
Pjproject
Pjsip