{"api_version":"1","generated_at":"2026-06-10T20:52:51+00:00","cve":"CVE-2026-49840","urls":{"html":"https://cve.report/CVE-2026-49840","api":"https://cve.report/api/cve/CVE-2026-49840.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-49840","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-49840"},"summary":{"title":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing","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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-06-09 17:17:47","updated_at":"2026-06-10 15:06:24"},"problem_types":["CWE-20","CWE-122","CWE-195","CWE-787","CWE-20 CWE-20: Improper Input Validation","CWE-122 CWE-122: Heap-based Buffer Overflow","CWE-195 CWE-195: Signed to Unsigned Conversion Error","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"9.1","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9","name":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9","refsource":"security-advisories@github.com","tags":["Third Party Advisory"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.1","name":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.1","refsource":"security-advisories@github.com","tags":["Release Notes"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-49840","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49840","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"signalwire","product":"freeswitch","version":"affected < 1.11.1","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"49840","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"freeswitch","cpe5":"freeswitch","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"metrics":[{"other":{"content":{"id":"CVE-2026-49840","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","timestamp":"2026-06-09T16:59:32.826404Z","version":"2.0.3"},"type":"ssvc"}}],"providerMetadata":{"dateUpdated":"2026-06-09T17:00:21.313Z","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP"},"title":"CISA ADP Vulnrichment"}],"cna":{"affected":[{"product":"freeswitch","vendor":"signalwire","versions":[{"status":"affected","version":"< 1.11.1"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.1,"baseSeverity":"CRITICAL","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-20","description":"CWE-20: Improper Input Validation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-122","description":"CWE-122: Heap-based Buffer Overflow","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-195","description":"CWE-195: Signed to Unsigned Conversion Error","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","description":"CWE-787: Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-06-09T16:00:56.687Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/signalwire/freeswitch/security/advisories/GHSA-g597-9fgg-ghg9"},{"name":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.1","tags":["x_refsource_MISC"],"url":"https://github.com/signalwire/freeswitch/releases/tag/v1.11.1"}],"source":{"advisory":"GHSA-g597-9fgg-ghg9","discovery":"UNKNOWN"},"title":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `Content-Length` parsing"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-49840","datePublished":"2026-06-09T16:00:56.687Z","dateReserved":"2026-06-01T18:50:36.056Z","dateUpdated":"2026-06-09T17:00:21.313Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-06-09 17:17:47","lastModifiedDate":"2026-06-10 15:06:24","problem_types":["CWE-20","CWE-122","CWE-195","CWE-787","CWE-20 CWE-20: Improper Input Validation","CWE-122 CWE-122: Heap-based Buffer Overflow","CWE-195 CWE-195: Signed to Unsigned Conversion Error","CWE-787 CWE-787: Out-of-bounds Write"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","baseScore":9.1,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.2}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:freeswitch:freeswitch:*:*:*:*:*:*:*:*","versionEndExcluding":"1.11.1","matchCriteriaId":"E8AED0D0-D5A1-4AA1-9CAE-13830B74CAC5"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"49840","Ordinal":"1","Title":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `C","CVE":"CVE-2026-49840","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"49840","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"FreeSWITCH: Pre-authentication heap buffer overflow in libesl `C"}]}}}