CVE-2026-40892: PJSIP: Stack buffer overflow in pjsip_auth_create_digest2()

Published Apr 21, 2026
·
Updated

PJSIP is a free and open source multimedia communication library written in C. In 2.16 and earlier, a stack buffer overflow exists in pjsipauthcreatedigest2() in PJSIP when using pre-computed digest credentials (PJSIPCREDDATADIGEST). The function copies credential data using credinfo->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.

Affected Software

2 affected components
PJSIP PJSIP<=2.16
PJSIP PJSIP<2.17

Event History

Apr 21, 2026
CVE Published
via MITRE·07:55 PM
Data Sourced
via MITRE·07:55 PM
DescriptionWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-40892?

CVE-2026-40892 has been classified as a high severity vulnerability due to its potential for exploitation via stack buffer overflow.

2

How do I fix CVE-2026-40892?

To mitigate CVE-2026-40892, upgrade to PJSIP version 2.17 or later where the vulnerability has been addressed.

3

What versions of PJSIP are affected by CVE-2026-40892?

CVE-2026-40892 affects all versions of PJSIP up to and including version 2.16.

4

What impacts does CVE-2026-40892 have on PJSIP applications?

CVE-2026-40892 can lead to application crashes or code execution, compromising the security of PJSIP applications using vulnerable versions.

5

Is CVE-2026-40892 exploitative in nature?

Yes, CVE-2026-40892 is exploitative as it can allow attackers to take control of affected systems through buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203