Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40892: CWE-121: Stack-based Buffer Overflow in pjsip pjproject

0
High
VulnerabilityCVE-2026-40892cvecve-2026-40892cwe-121
Published: Tue Apr 21 2026 (04/21/2026, 19:55:26 UTC)
Source: CVE Database V5
Vendor/Project: pjsip
Product: pjproject

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/21/2026, 21:01:05 UTC

Technical Analysis

PJSIP pjproject versions 2.16 and earlier contain a stack buffer overflow in the pjsip_auth_create_digest2() function. The vulnerability arises because the function copies credential data using cred_info->data.slen as the length without verifying it against the fixed buffer size (128 bytes). If data.slen exceeds the expected digest string length, it can overflow the ha1 stack buffer, leading to potential memory corruption. This issue is tracked as CVE-2026-40892 and classified under CWE-121 (Stack-based Buffer Overflow). The vulnerability is remotely exploitable without authentication and requires no user interaction, contributing to its high severity rating (CVSS 8.1).

Potential Impact

Successful exploitation of this vulnerability could result in memory corruption due to stack buffer overflow, which may lead to application crashes or potentially arbitrary code execution. The vulnerability is remotely exploitable without privileges or user interaction, increasing its risk. However, there are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor the vendor's communications for updates. Until a patch is available, consider restricting access to affected services or applying any available workarounds recommended by the vendor once published.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-15T16:37:22.766Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69e7e20f19fe3cd2cdf8e29d

Added to database: 4/21/2026, 8:46:07 PM

Last enriched: 4/21/2026, 9:01:05 PM

Last updated: 4/22/2026, 6:06:45 AM

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses