Skip to main content

FreeSWITCH CVE-2026-116574

| EUVDEUVD-2026-117731 MEDIUM
Off-by-one Error (CWE-193)
2026-11-05 GitHub_M
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Inject 4-byte UTF-8 into serialized value
  2. Exploit
    FreeSWITCH escapes text in switch_xml_ampencode
  3. Execution
    NUL written one byte past heap buffer
  4. Impact
    Process abort or adjacent object truncated

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Off-by-one prevention
Exploitation Conditions

The attacker must be able to place caller-controlled text containing a four-byte UTF-8 sequence into a value that FreeSWITCH later serializes to XML - concretely a caller ID, a SIP header value, or a channel variable - using whatever access the carrying surface requires (PR:L authenticated per the CVSS vector). At least one XML-serializing surface must be active: mod_xml_cdr, mod_format_cdr, the conference CDR writer, Event Socket output consumed in XML format, or XML API output such as the 'show' and registration dumps. UTF-8 escaping is a compile-time default of the serializer with no runtime switch, so it cannot be disabled by configuration. Exploitation is strongly LIMITED by being probabilistic: the escape must fall on the single per-buffer-growth offset where the reserved headroom is exactly consumed, so an attacker reaches it only across repeated attempts that vary surrounding content length (AC:H). The only exposure reduction is to stop serializing remote-supplied text (unload mod_xml_cdr/mod_format_cdr, consume Event Socket events in plain rather than XML format), at the cost of those features; updating to 1.11.2 is the only complete fix.

Impact

This is a genuine but modest-priority memory-safety flaw, not a high-impact emergency. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H, base 5.9) is internally consistent with the advisory: network-reachable but requiring some level of access to inject the triggering value (PR:L), high attack complexity because the one-byte write only lands when a four-byte UTF-8 escape falls on the exact buffer-growth offset (AC:H, reachable only across repeated attempts), no confidentiality impact (C:N), limited integrity impact from a possible adjacent-object truncation (I:L), and high availability impact from a process abort (A:H). The dominant real-world outcome is denial of service (FreeSWITCH process crash); the vendor states explicitly that RCE has not been demonstrated and the overflow is a single byte of fixed value (0x00), so the attacker controls timing but not content. No EPSS score, no CISA KEV listing, and no public exploit code are present in the input, and the vuln.today decision label is 'this_month' rather than act_now/emergency - all consistent with a patch-this-cycle item rather than a drop-everything one. Note a conflict to verify: the input Tags include 'RCE', but the authoritative GHSA advisory states code execution was not demonstrated and describes only a fixed zero-byte write - treat the RCE tag as inaccurate.

Exploit ScenarioDerived

A party able to place text into a value FreeSWITCH later serializes to XML - such as a caller ID, a SIP header, or a channel variable - embeds a four-byte UTF-8 sequence (e.g. U+10FFFF). When mod_xml_cdr, a conference/format CDR writer, an Event Socket XML event, or an XML API dump serializes that value and the widest numeric-character-reference escape lands exactly on the reserved-headroom boundary, sprintf writes its terminating NUL one byte past the heap allocation. By varying the length of surrounding content across repeated attempts the sender can eventually hit the boundary, crashing the process or truncating an adjacent object. No public exploit identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

An off-by-one heap write in FreeSWITCH 1.11.1 and earlier lets a remote party who can place text into a value that the platform later serializes to XML (caller ID, SIP header, channel variable) push a single NUL byte one past the end of the destination buffer in switch_xml_ampencode(). The result is a process abort that takes FreeSWITCH down, or a neighboring heap object silently truncated at its first byte; remote code execution has not been demonstrated. Exploitation is probabilistic rather than reliable - the escape must land on the one offset per buffer-growth cycle where the ten reserved bytes are exactly consumed - so impact is bounded to denial of service and limited integrity damage, and no public exploit has been identified at time of analysis. Fixed in 1.11.2.

RemediationAI

Upgrade to FreeSWITCH 1.11.2, the version in which switch_xml_ampencode() reserves eleven bytes for the widest escape plus its terminator and writes it with snprintf; the release is at https://github.com/signalwire/freeswitch/releases/tag/v1.11.2 and the change is in commit 28fcfd26246c112fa4b9e698433d09e4836ca1b5, documented in advisory GHSA-r6vh-qmwm-h3cc. No configuration setting disables the affected path, since UTF-8 escaping is a compile-time default of the serializer, and updating is the only complete fix. Where upgrading cannot be scheduled immediately, narrow exposure by not serializing remote-supplied text: unload mod_xml_cdr and mod_format_cdr and consume Event Socket events in plain format rather than XML - at the cost of losing those CDR and XML event features. Note that only an abort of the FreeSWITCH process or truncation of an adjacent object has been described; remote code execution has not been demonstrated.

Affected VersionsENISA

freeswitch < 1.11.2

Affected Packages

euvd freeswitch fix: 1.11.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

switch_xml_ampencode() in src/switch_xml.c is the core escaper that renders FreeSWITCH XML trees back into documents, replacing special characters and non-ASCII text with entity or numeric character references. Its longest output is the numeric reference "&#x10FFFF;" for a four-byte UTF-8 sequence, ten characters wide, and the buffer-growth loop reserved exactly ten bytes of headroom. Because sprintf() reports only the ten data characters, the terminating NUL it writes afterwards fell outside the function's own length accounting and landed one byte past the heap allocation when such a sequence was escaped at the exact growth boundary - a classic CWE-193 off-by-one (also scored CWE-787 out-of-bounds write) whose written value is fixed at zero, so an attacker can influence when the overwrite occurs but not what is written. UTF-8 escaping is a compile-time default of the serializer with no runtime switch, so every path that serializes remote-supplied text into XML reaches it: CDR records from mod_xml_cdr and mod_format_cdr, the conference CDR writer, Event Socket events delivered in XML format, and XML API output such as the 'show' and registration dumps. The fix widens the reservation to eleven bytes and replaces the unbounded sprintf with snprintf bounded to the remaining space; the emitted escapes are unchanged and only the reallocation point moves by one byte.

Know when Freeswitch gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
vuln.today AI 5.9 MEDIUM

Network-reachable but triggering requires injecting a value and hitting an exact buffer offset across repeated attempts (AC:H) with some injection access (PR:L); crash gives A:H, possible truncation I:L, no disclosure (C:N).

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

Lifecycle Timeline

1
Patch available
Nov 05, 2026 - 20:18 EUVD

DescriptionCVE.org

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 1.11.2, switch_xml_ampencode() reserved only ten bytes for the widest numeric character reference produced from a four-byte UTF-8 sequence, omitting space for the terminating NUL. When remote-supplied text was serialized at the exact buffer-growth boundary, the terminator wrote one byte beyond the heap allocation. Reachable surfaces include mod_xml_cdr, conference and formatted CDR XML, XML Event Socket output, and XML API output that serializes caller-controlled values. The fixed zero-byte write can abort the process or truncate an adjacent object, while remote code execution has not been demonstrated. This issue is fixed in version 1.11.2.

Threat Intelligence Overview

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
widely used open-source VoIP/telecom stack, but domain-specific deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2026-116779 CRITICAL POC
9.8 Nov 05

FreeSWITCH installations that accept inbound SIP MESSAGE - the default posture, since chat handling stays on in the stoc

CVE-2019-19492 CRITICAL POC
9.8 Dec 02

FreeSWITCH 1.6.10 through 1.10.1 has a default password in event_socket.conf.xml. Rated critical severity (CVSS 9.8), th

CVE-2015-7392 HIGH POC
7.5 Oct 05

Heap-based buffer overflow in the parse_string function in libs/esl/src/esl_json.c in FreeSWITCH before 1.4.23 and 1.6.x

CVE-2021-41158 HIGH POC
7.5 Oct 26

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-41145 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-41105 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-37624 HIGH POC
7.5 Oct 25

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

CVE-2021-36513 HIGH POC
7.5 Oct 18

An issue was discovered in function sofia_handle_sip_i_notify in sofia.c in SignalWire freeswitch before 1.10.6, may all

CVE-2018-19911 HIGH POC
7.5 Dec 06

FreeSWITCH through 1.8.2, when mod_xml_rpc is enabled, allows remote attackers to execute arbitrary commands via the api

CVE-2013-2238 MEDIUM POC
6.8 Sep 30

Multiple buffer overflows in the switch_perform_substitution function in switch_regex.c in FreeSWITCH 1.2 allow remote a

CVE-2026-110658 MEDIUM POC
6.9 Oct 14

Heap out-of-bounds read in Sofia-SIP through 1.13.18 allows unauthenticated remote attackers to crash SIP processes by s

CVE-2023-40019 MEDIUM POC
6.5 Sep 15

FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy