CVE Explorer
CVE-2026-40892
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"pjproject","vendor":"pjsip","versions":[{"status":"affected","version":"<= 2.16"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ed625d5cd9953b330a138903d4fd6da6e83e4bb4d8e9ea8645e0040b177a96e9 · sha256:547fa24b3f448b87… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.1,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ed625d5cd9953b330a138903d4fd6da6e83e4bb4d8e9ea8645e0040b177a96e9 · sha256:547fa24b3f448b87… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-121","description":"CWE-121: Stack-based Buffer Overflow","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ed625d5cd9953b330a138903d4fd6da6e83e4bb4d8e9ea8645e0040b177a96e9 · sha256:547fa24b3f448b87… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/pjsip/pjproject/commit/c82123ea6f3c3652bbc9ebd5e9e658c301451687","tags":["x_refsource_MISC"],"url":"https://github.com/pjsip/pjproject/commit/c82123ea6f3c3652bbc9ebd5e9e658c301451687"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ed625d5cd9953b330a138903d4fd6da6e83e4bb4d8e9ea8645e0040b177a96e9 · sha256:547fa24b3f448b87… · /containers/cna/references/1
{"name":"https://github.com/pjsip/pjproject/security/advisories/GHSA-2wcg-w3c4-48r7","tags":["x_refsource_CONFIRM"],"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-2wcg-w3c4-48r7"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ed625d5cd9953b330a138903d4fd6da6e83e4bb4d8e9ea8645e0040b177a96e9 · sha256:547fa24b3f448b87… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.