{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-50161 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-50161 is a critical vulnerability in baresip re, published on 18 Aug 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-50161 and fix it if it is affected.\n\nWhat it is: CVE-2026-50161 is a critical vulnerability in baresip re, published on 18 Aug 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-50161 in the wild and no public exploit code.\n\nAffected product: baresip re. 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-50161/ (Markdown: https://insights.sbomify.com/CVE-2026-50161/index.md)","id":"CVE-2026-50161","markdown":"https://insights.sbomify.com/CVE-2026-50161/index.md","name":"CVE-2026-50161","record":{"aliases":["DEBIAN-CVE-2026-50161","GHSA-hvxv-v2gp-v93h","UBUNTU-CVE-2026-50161"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libre real-time communications library","requires_auth":"none","summary":"An integer overflow in libre's WebSocket decoder allows heap buffer overflows, potentially leading to code execution or denial of service in WebSocket servers.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.3,"severity":"critical","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","version":"4.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"libre is a generic library for real-time communications with asynchronous input and output support. Prior to 4.8.1, the websock_decode() function in src/websock/websock.c contains an integer overflow when validating a masked WebSocket frame that uses the 64-bit extended length encoding. The expression 4 + hdr-\u003elen can wrap when hdr-\u003elen is close to UINT64_MAX, causing the mbuf_get_left() bounds check to pass. The subsequent XOR unmasking loop then writes beyond the heap buffer. Applications using websock_accept() or websock_accept_proto() to implement a WebSocket server are affected, and exploitation can cause attacker-controlled heap corruption or denial of service after the HTTP WebSocket upgrade handshake. This issue is fixed in version 4.8.1.","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":"libre: Integer overflow in websock_decode() masked frame length check leads to heap buffer overflow","id":"CVE-2026-50161","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"oras-go: file store write outside workingDir via symlink traversal","id":"CVE-2026-50162"},"packages":[],"prev":{"headline":"Mass Assignment via Onboarding Endpoint Allows Unauthenticated JWT_SECRET Overwrite","id":"CVE-2026-50160"},"products":["re"],"published":"2026-08-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-08-19","vendors":["baresip"]},"summary":"An integer overflow in libre's WebSocket decoder allows heap buffer overflows, potentially leading to code execution or denial of service in WebSocket servers.","url":"https://insights.sbomify.com/CVE-2026-50161/"}