{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-49840 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-49840 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-49840 is a critical memory corruption vulnerability in signalwire freeswitch, published on 9 Jun 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-49840 and fix it if it is affected.\n\nWhat it is: CVE-2026-49840 is a critical memory corruption vulnerability in signalwire freeswitch, published on 9 Jun 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-49840 in the wild and no public exploit code.\n\nAffected product: signalwire freeswitch. 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-49840/ (Markdown: https://insights.sbomify.com/CVE-2026-49840/index.md)","id":"CVE-2026-49840","markdown":"https://insights.sbomify.com/CVE-2026-49840/index.md","name":"CVE-2026-49840","record":{"aliases":["GHSA-g597-9fgg-ghg9"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"FreeSWITCH telecom stack","requires_auth":"none","summary":"A pre-authentication heap buffer overflow in FreeSWITCH's libesl allows attackers to execute code or crash the service via malicious Content-Length headers.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"freeswitch","vendor":"freeswitch"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-195","name":"Signed to Unsigned Conversion Error"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":"FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to version 1.11.1, esl_recv_event() parses Content-Length with atol() and passes the result straight to malloc(len + 1) with no sign or magnitude check. A malicious or man-in-the-middle ESL peer can send a frame with a negative Content-Length to corrupt the heap of, or crash, any process linked against libesl, before the client has authenticated to that peer. This issue has been patched in version 1.11.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":false,"headline":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing","id":"CVE-2026-49840","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":"FreeSWITCH: Pre-authentication heap buffer overflow in `mod_verto` HTTP POST body read","id":"CVE-2026-49841"},"packages":[],"prev":{"headline":"jq --rawfile invalid-state reuse after String too long causes heap-buffer-overflow","id":"CVE-2026-49839"},"products":["freeswitch"],"published":"2026-06-09","related":[{"cvss_score":9.8,"headline":"FreeSWITCH: Pre-authentication heap buffer overflow in `mod_verto` HTTP POST body read","id":"CVE-2026-49841","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":9.8,"headline":"Hardcoded credentials in n/a","id":"CVE-2019-19492","kev_date_added":null,"published":"2019-12-02"},{"cvss_score":8.6,"headline":"FreeSWITCH susceptible to Denial of Service via SIP flooding","id":"CVE-2021-41145","kev_date_added":null,"published":"2021-10-25"},{"cvss_score":7.5,"headline":"Freeswitch Denial-of-Service in SIP PUBLISH Requests via XML Entity Expansion","id":"CVE-2026-45771","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"FreeSWITCH: Out-of-bounds memory access in core STUN attribute parsing","id":"CVE-2026-49475","kev_date_added":null,"published":"2026-06-09"},{"cvss_score":7.5,"headline":"FreeSWITCH: Pre-authentication bandwidth amplification via `mod_verto` speed-test frames","id":"CVE-2026-49842","kev_date_added":null,"published":"2026-06-09"}],"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":"partial"},"state":"PUBLISHED","updated":"2026-06-09","vendors":["signalwire"]},"summary":"A pre-authentication heap buffer overflow in FreeSWITCH's libesl allows attackers to execute code or crash the service via malicious Content-Length headers.","url":"https://insights.sbomify.com/CVE-2026-49840/"}