Bug 2460282 (CVE-2026-40892)

Summary: CVE-2026-40892 PJSIP: PJSIP: Arbitrary code execution or denial of service via stack buffer overflow in digest creation
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in PJSIP, a multimedia communication library. This vulnerability, a stack buffer overflow, occurs in the `pjsip_auth_create_digest2()` function when processing pre-computed digest credentials. A remote attacker could exploit this by providing specially crafted credential data, leading to an overflow of a fixed-size buffer. This could potentially result in arbitrary code execution or a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2460574, 2460575    
Bug Blocks:    

Description OSIDB Bzimport 2026-04-21 21:02:05 UTC
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.