{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-57162 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-57162 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-57162 is a high-severity memory corruption vulnerability in pjsip pjproject, published on 4 Sep 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-57162 and fix it if it is affected.\n\nWhat it is: CVE-2026-57162 is a high-severity memory corruption vulnerability in pjsip pjproject, published on 4 Sep 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-57162 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-57162/ (Markdown: https://insights.sbomify.com/CVE-2026-57162/index.md)","id":"CVE-2026-57162","markdown":"https://insights.sbomify.com/CVE-2026-57162/index.md","name":"CVE-2026-57162","record":{"aliases":["DEBIAN-CVE-2026-57162","GHSA-m9g3-jcj8-qjfm","UBUNTU-CVE-2026-57162"],"analysis":{"component_type":"library","fix_type":"patch","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 remote attackers to cause denial of service or execute code via crafted SDP crypto attributes when SRTP is enabled.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"pjsip","vendor":"teluu"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","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. Prior to commit a1b707c, a stack buffer overflow exists in the SRTP/SDES media transport when processing a=crypto attributes during SDP offer/answer (sdes_encode_sdp() in transport_srtp_sdes.c). This affects applications with SRTP enabled (use_srtp optional or mandatory, using SDES keying). During media negotiation, the crypto attributes from the remote SDP are collected into a fixed-size array without bounding their number; a remote peer that includes an excessive number of a=crypto attributes in a single media description can write past the end of that array on the stack. This is reachable from an incoming SIP INVITE during offer/answer, before application-level authentication. Impact may range from unexpected application termination to control flow hijack/memory corruption. Applications that do not enable SRTP are not affected. This issue has been patched via commit a1b707c.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"PJSIP: Stack overflow parsing SDP a=crypto attributes","id":"CVE-2026-57162","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":"PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend","id":"CVE-2026-57163"},"packages":[],"prev":{"headline":"PJSIP: Stack overflow handling Service-Route headers in a registration response","id":"CVE-2026-57161"},"products":["pjproject"],"published":"2026-09-04","related":[{"cvss_score":9.8,"headline":"PJSIP has use-after-free vulnerability in SRTP media transport","id":"CVE-2023-38703","kev_date_added":null,"published":"2023-10-06"},{"cvss_score":9.1,"headline":"Media transport downgrade from the secure version (SRTP) to non-secure (RTP) in pjsip","id":"CVE-2022-39269","kev_date_added":null,"published":"2022-10-06"},{"cvss_score":8.8,"headline":"PJSIP: Stack overflow handling Service-Route headers in a registration response","id":"CVE-2026-57161","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":8.8,"headline":"PJSIP: Stack overflow parsing a TLS peer certificate's SubjectAltName in GnuTLS backend","id":"CVE-2026-57163","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":8.4,"headline":"PJSIP: SDP parser out-of-bounds write in remote payload-type map maintenance","id":"CVE-2026-57159","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":8.3,"headline":"PJSIP: Heap overflow in the HTTP client","id":"CVE-2026-57164","kev_date_added":null,"published":"2026-09-04"}],"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-09-04","vendors":["pjsip"]},"summary":"A stack buffer overflow in PJSIP allows remote attackers to cause denial of service or execute code via crafted SDP crypto attributes when SRTP is enabled.","url":"https://insights.sbomify.com/CVE-2026-57162/"}