{"id":"CVE-2026-40892","aliases":["CVE-2026-40892"],"related":[],"kind":"vulnerability","state":"published","title":"PJSIP: Stack buffer overflow in pjsip_auth_create_digest2()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"PJSIP es una biblioteca de comunicación multimedia de código abierto y gratuita escrita en C. En 2.16 y versiones anteriores, existe un desbordamiento de búfer de pila en pjsip_auth_create_digest2() en PJSIP al usar credenciales de resumen precalculadas (PJSIP_CRED_DATA_DIGEST). La función copia datos de credenciales usando cred_info -> data.slen como la longitud sin una verificación de límite superior, lo que puede desbordar el búfer de pila ha1 de tamaño fijo (128 bytes) si data.slen excede la longitud esperada de la cadena de resumen.","source":"nvd"}],"published":"2026-04-21T19:55:26.876Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"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","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-121"],"affected":[{"ranges":[{"version":"<= 2.16","status":"affected"}],"vendor":"pjsip","product":"pjproject","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.17"}],"vendor":"pjsip","product":"pjsip","cpe":"cpe:2.3:a:pjsip:pjsip:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/pjsip/pjproject/security/advisories/GHSA-2wcg-w3c4-48r7","tags":["mitigation","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/pjsip/pjproject/commit/c82123ea6f3c3652bbc9ebd5e9e658c301451687","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-04-21T20:27:23.382Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-40892","url":"https://www.cve.org/CVERecord?id=CVE-2026-40892","licence":"CVE Terms of Use","modified":"2026-04-21T20:27:29.133Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-40892","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40892","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.186Z","epss":{"score":0.00435,"percentile":0.39599,"date":"2026-12-01T12:00:22.000Z"}}