{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-40892 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-40892 is a high-severity memory corruption vulnerability in pjsip pjproject, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-40892 and fix it if it is affected.\n\nWhat it is: CVE-2026-40892 is a high-severity memory corruption vulnerability in pjsip pjproject, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-40892 in the wild and no public exploit code.\n\nAffected product: pjsip pjproject. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-40892/ (Markdown: https://insights.sbomify.com/CVE-2026-40892/index.md)","id":"CVE-2026-40892","markdown":"https://insights.sbomify.com/CVE-2026-40892/index.md","name":"CVE-2026-40892","record":{"aliases":["ALPINE-CVE-2026-40892","DEBIAN-CVE-2026-40892","GHSA-2wcg-w3c4-48r7","UBUNTU-CVE-2026-40892"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"PJSIP multimedia library","requires_auth":"none","summary":"A stack buffer overflow in PJSIP allows attackers to execute arbitrary code or cause denial of service when using pre-computed digest credentials.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pjsip","vendor":"pjsip"}],"cvss":{"score":8.1,"severity":"high","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"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-\u003edata.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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"PJSIP: Stack buffer overflow in pjsip_auth_create_digest2()","id":"CVE-2026-40892","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"Gotenberg: ExifTool Dangerous Tag Blocklist Bypass via Group-Prefixed Tag Names Allows Arbitrary File Rename and Move","id":"CVE-2026-40893"},"packages":[],"prev":{"headline":"OpenTelemetry dotnet: Unbounded `grpc-status-details-bin` parsing in OTLP/gRPC retry handling","id":"CVE-2026-40891"},"products":["pjproject"],"published":"2026-04-21","related":[{"cvss_score":8.7,"headline":"PJSIP: Heap use-after-free in PJSIP presence subscription termination handler","id":"CVE-2026-28799","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":8.7,"headline":"PJSIP: Stack buffer overflow in Opus codec parser","id":"CVE-2026-29068","kev_date_added":null,"published":"2026-03-06"},{"cvss_score":8.5,"headline":"PJSIP: Heap buffer overflow in Opus codec decoding","id":"CVE-2026-40614","kev_date_added":null,"published":"2026-04-21"},{"cvss_score":8.4,"headline":"PJSIP is vulnerable to Heap-based Buffer Overflow through DNS parser","id":"CVE-2026-32945","kev_date_added":null,"published":"2026-03-20"},{"cvss_score":8.1,"headline":"PJSIP has a Heap-based Buffer Overflow vulnerability in its H.264 unpacketizer","id":"CVE-2026-26967","kev_date_added":null,"published":"2026-02-20"},{"cvss_score":8.1,"headline":"PJSIP has a heap buffer overflow in ICE with long username","id":"CVE-2026-25994","kev_date_added":null,"published":"2026-02-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-21","vendors":["pjsip"]},"summary":"A stack buffer overflow in PJSIP allows attackers to execute arbitrary code or cause denial of service when using pre-computed digest credentials.","url":"https://insights.sbomify.com/CVE-2026-40892/"}