CVE-2026-129344 (GCVE-0-2026-129344)

Vulnerability from cvelistv5 – Published: 2026-11-21 10:59 – Updated: 2026-11-23 20:26
VLAI
Title
Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads
Summary
Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts. When an application broadcasts {:binary, data} payloads on a channel topic, any client that connects without a vsn parameter, or with vsn=1.0.0, and joins that topic makes those broadcasts fail. Phoenix.Channel.Server.send/4 encodes each broadcast with every subscriber's own serializer inside the PubSub dispatch loop, calling fastlane!/1 with no rescue, and the negotiated Phoenix.Socket.V1.JSONSerializer raises Protocol.UndefinedError on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node's subscription registry while sockets stay connected. This issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-11-23 20:25 UTC
CWE
Assigner
EEF CNA under the mitre root
CNA scorecard A 97/100 over 346 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
phoenixframework phoenix Affected: 1.5.7 , < 1.5.16 (semver)
Affected: 1.6.0-rc.0 , < 1.6.18 (semver)
Affected: 1.7.0-rc.0 , < 1.7.25 (semver)
Affected: 1.8.0-rc.0 , < 1.8.17 (semver)
    cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*
Create a notification for this product.
phoenixframework phoenix Affected: 07b401901fc1d649f126eee6315b5eb01fa5c85c , < c255d983e03893ae46abf01d13c3ec3bd20f029c (git)
Affected: cf098e9cf7a44ee6479d31d911a97d3c7430c6fe , < * (git)
    cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-129344",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-23T20:25:52.037878Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-11-23T20:26:47.156Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://repo.hex.pm",
          "cpes": [
            "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Phoenix.Channel.Server\u0027",
            "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027",
            "\u0027Elixir.Phoenix.Channel\u0027"
          ],
          "packageName": "phoenix",
          "packageURL": "pkg:hex/phoenix",
          "product": "phoenix",
          "programFiles": [
            "lib/phoenix/channel/server.ex",
            "lib/phoenix/socket/serializers/v1_json_serializer.ex",
            "lib/phoenix/channel.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Phoenix.Channel.Server\u0027:send/4"
            },
            {
              "name": "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027:fastlane!/1"
            },
            {
              "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast/3"
            },
            {
              "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast_from/3"
            }
          ],
          "repo": "https://github.com/phoenixframework/phoenix",
          "vendor": "phoenixframework",
          "versions": [
            {
              "lessThan": "1.5.16",
              "status": "affected",
              "version": "1.5.7",
              "versionType": "semver"
            },
            {
              "lessThan": "1.6.18",
              "status": "affected",
              "version": "1.6.0-rc.0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.7.25",
              "status": "affected",
              "version": "1.7.0-rc.0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.8.17",
              "status": "affected",
              "version": "1.8.0-rc.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://github.com",
          "cpes": [
            "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
          ],
          "defaultStatus": "unaffected",
          "modules": [
            "\u0027Elixir.Phoenix.Channel.Server\u0027",
            "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027",
            "\u0027Elixir.Phoenix.Channel\u0027"
          ],
          "packageName": "phoenixframework/phoenix",
          "packageURL": "pkg:github/phoenixframework/phoenix",
          "product": "phoenix",
          "programFiles": [
            "lib/phoenix/channel/server.ex",
            "lib/phoenix/socket/serializers/v1_json_serializer.ex",
            "lib/phoenix/channel.ex"
          ],
          "programRoutines": [
            {
              "name": "\u0027Elixir.Phoenix.Channel.Server\u0027:send/4"
            },
            {
              "name": "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027:fastlane!/1"
            },
            {
              "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast/3"
            },
            {
              "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast_from/3"
            }
          ],
          "repo": "https://github.com/phoenixframework/phoenix",
          "vendor": "phoenixframework",
          "versions": [
            {
              "lessThan": "c255d983e03893ae46abf01d13c3ec3bd20f029c",
              "status": "affected",
              "version": "07b401901fc1d649f126eee6315b5eb01fa5c85c",
              "versionType": "git"
            },
            {
              "changes": [
                {
                  "at": "30e5d9d7704b964772c131314508c45ed85ed807",
                  "status": "unaffected"
                },
                {
                  "at": "5d57f442a1ffab8a866add770477a14a0cd792d9",
                  "status": "unaffected"
                },
                {
                  "at": "eddaeb6d50c903fc77b465dbf3efd89feee0816b",
                  "status": "unaffected"
                }
              ],
              "lessThan": "*",
              "status": "affected",
              "version": "cf098e9cf7a44ee6479d31d911a97d3c7430c6fe",
              "versionType": "git"
            }
          ]
        }
      ],
      "configurations": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eThe application must broadcast \u003ccode\u003e{:binary, data}\u003c/code\u003e payloads (through \u003ccode\u003ePhoenix.Channel.broadcast/3\u003c/code\u003e, \u003ccode\u003ebroadcast_from/3\u003c/code\u003e, or \u003ccode\u003ePhoenix.Endpoint.broadcast/3\u003c/code\u003e) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "The application must broadcast `{:binary, data}` payloads (through `Phoenix.Channel.broadcast/3`, `broadcast_from/3`, or `Phoenix.Endpoint.broadcast/3`) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected."
            }
          ],
          "value": "The application must broadcast {:binary, data} payloads (through Phoenix.Channel.broadcast/3, broadcast_from/3, or Phoenix.Endpoint.broadcast/3) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected."
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.5.16",
                  "versionStartIncluding": "1.5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.6.18",
                  "versionStartIncluding": "1.6.0-rc.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.7.25",
                  "versionStartIncluding": "1.7.0-rc.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "1.8.17",
                  "versionStartIncluding": "1.8.0-rc.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ],
          "operator": "AND"
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "reporter",
          "value": "Peter Ullrich"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Steffen Deusch"
        },
        {
          "lang": "en",
          "type": "remediation reviewer",
          "value": "Jos\u00e9 Valim"
        }
      ],
      "dateAssigned": "2026-11-20T10:54:44.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eUncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\u003c/p\u003e\n\u003cp\u003eWhen an application broadcasts \u003ccode\u003e{:binary, data}\u003c/code\u003e payloads on a channel topic, any client that connects without a \u003ccode\u003evsn\u003c/code\u003e parameter, or with \u003ccode\u003evsn=1.0.0\u003c/code\u003e, and joins that topic makes those broadcasts fail. \u003ccode\u003ePhoenix.Channel.Server.send/4\u003c/code\u003e encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling \u003ccode\u003efastlane!/1\u003c/code\u003e with no rescue, and the negotiated \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer\u003c/code\u003e raises \u003ccode\u003eProtocol.UndefinedError\u003c/code\u003e on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\u003c/p\u003e\n\u003cp\u003eThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\n\nWhen an application broadcasts `{:binary, data}` payloads on a channel topic, any client that connects without a `vsn` parameter, or with `vsn=1.0.0`, and joins that topic makes those broadcasts fail. `Phoenix.Channel.Server.send/4` encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling `fastlane!/1` with no rescue, and the negotiated `Phoenix.Socket.V1.JSONSerializer` raises `Protocol.UndefinedError` on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\n\nThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17."
            }
          ],
          "value": "Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\n\nWhen an application broadcasts {:binary, data} payloads on a channel topic, any client that connects without a vsn parameter, or with vsn=1.0.0, and joins that topic makes those broadcasts fail. Phoenix.Channel.Server.send/4 encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling fastlane!/1 with no rescue, and the negotiated Phoenix.Socket.V1.JSONSerializer raises Protocol.UndefinedError on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\n\nThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-220",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eAn attacker who can join a topic makes every binary broadcast on it fail, crashing the broadcasting channel and starving the other subscribers. In clustered deployments, forwarded broadcasts crash the PubSub adapter worker until the node\u0027s subscriptions are lost.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "An attacker who can join a topic makes every binary broadcast on it fail, crashing the broadcasting channel and starving the other subscribers. In clustered deployments, forwarded broadcasts crash the PubSub adapter worker until the node\u0027s subscriptions are lost."
                }
              ],
              "value": "An attacker who can join a topic makes every binary broadcast on it fail, crashing the broadcasting channel and starving the other subscribers. In clustered deployments, forwarded broadcasts crash the PubSub adapter worker until the node\u0027s subscriptions are lost."
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "Automatable": "NOT_DEFINED",
            "Recovery": "NOT_DEFINED",
            "Safety": "NOT_DEFINED",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 8.2,
            "baseSeverity": "HIGH",
            "privilegesRequired": "NONE",
            "providerUrgency": "NOT_DEFINED",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "NONE",
            "subIntegrityImpact": "NONE",
            "userInteraction": "NONE",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "HIGH",
            "vulnConfidentialityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-248",
              "description": "CWE-248 Uncaught Exception",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-21T10:59:15.168Z",
        "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "shortName": "EEF"
      },
      "references": [
        {
          "name": "Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads",
          "tags": [
            "vendor-advisory",
            "related"
          ],
          "url": "https://github.com/phoenixframework/phoenix/security/advisories/GHSA-5vmc-qgf8-rw36"
        },
        {
          "name": "EEF CNA record for CVE-2026-129344",
          "tags": [
            "related"
          ],
          "url": "https://cna.erlef.org/cves/CVE-2026-129344.html"
        },
        {
          "name": "OSV record EEF-CVE-2026-129344",
          "tags": [
            "related"
          ],
          "url": "https://osv.dev/vulnerability/EEF-CVE-2026-129344"
        },
        {
          "name": "Introducing commit 07b4019 in phoenixframework/phoenix",
          "tags": [
            "related"
          ],
          "url": "https://github.com/phoenixframework/phoenix/commit/07b401901fc1d649f126eee6315b5eb01fa5c85c"
        },
        {
          "name": "Introducing commit cf098e9 in phoenixframework/phoenix",
          "tags": [
            "related"
          ],
          "url": "https://github.com/phoenixframework/phoenix/commit/cf098e9cf7a44ee6479d31d911a97d3c7430c6fe"
        },
        {
          "name": "Fix commit 30e5d9d in phoenixframework/phoenix",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/phoenixframework/phoenix/commit/30e5d9d7704b964772c131314508c45ed85ed807"
        },
        {
          "name": "Fix commit 5d57f44 in phoenixframework/phoenix",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/phoenixframework/phoenix/commit/5d57f442a1ffab8a866add770477a14a0cd792d9"
        },
        {
          "name": "Fix commit c255d98 in phoenixframework/phoenix",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/phoenixframework/phoenix/commit/c255d983e03893ae46abf01d13c3ec3bd20f029c"
        },
        {
          "name": "Fix commit eddaeb6 in phoenixframework/phoenix",
          "tags": [
            "patch"
          ],
          "url": "https://github.com/phoenixframework/phoenix/commit/eddaeb6d50c903fc77b465dbf3efd89feee0816b"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads",
      "workarounds": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003eReject the V1 serializer by listing only the V2 serializer on each socket:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-elixir\"\u003esocket \"/socket\", MyAppWeb.UserSocket,\n  websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u0026gt; 2.0.0\"}]],\n  longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u0026gt; 2.0.0\"}]]\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eClients that connect without a \u003ccode\u003evsn\u003c/code\u003e parameter or with \u003ccode\u003evsn=1.0.0\u003c/code\u003e are then refused.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "Reject the V1 serializer by listing only the V2 serializer on each socket:\n\n```elixir\nsocket \"/socket\", MyAppWeb.UserSocket,\n  websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]],\n  longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]]\n```\n\nClients that connect without a `vsn` parameter or with `vsn=1.0.0` are then refused."
            }
          ],
          "value": "Reject the V1 serializer by listing only the V2 serializer on each socket:\n\nsocket \"/socket\", MyAppWeb.UserSocket,\n  websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]],\n  longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]]\n\nClients that connect without a vsn parameter or with vsn=1.0.0 are then refused."
        }
      ],
      "x_proofOfConcept": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003col\u003e\n\u003cli\u003eRun a Phoenix endpoint with a channel whose \u003ccode\u003ehandle_in/3\u003c/code\u003e calls \u003ccode\u003ebroadcast(socket, \"evt\", {:binary, \u0026lt;\u0026lt;0, 1, 2, 3\u0026gt;\u0026gt;})\u003c/code\u003e on its topic.\u003c/li\u003e\n\u003cli\u003eAs the attacker, open \u003ccode\u003e/socket/websocket?vsn=1.0.0\u003c/code\u003e and join the topic with a V1 frame (\u003ccode\u003e{\"topic\": ..., \"event\": \"phx_join\", \"payload\": {}, \"ref\": ...}\u003c/code\u003e).\u003c/li\u003e\n\u003cli\u003eConnect several V2 clients (\u003ccode\u003evsn=2.0.0\u003c/code\u003e) and join the same topic.\u003c/li\u003e\n\u003cli\u003eFrom another V2 client on the topic, push the event that triggers the binary broadcast.\u003c/li\u003e\n\u003cli\u003eThe broadcaster receives \u003ccode\u003ephx_error\u003c/code\u003e, the log shows \u003ccode\u003eProtocol.UndefinedError\u003c/code\u003e raised from \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer.fastlane!/1\u003c/code\u003e through \u003ccode\u003ePhoenix.Channel.Server.send/4\u003c/code\u003e, and the V2 subscribers after the attacker receive nothing. Without the attacker, the same broadcast reaches every subscriber.\u003c/li\u003e\n\u003c/ol\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "1. Run a Phoenix endpoint with a channel whose `handle_in/3` calls `broadcast(socket, \"evt\", {:binary, \u003c\u003c0, 1, 2, 3\u003e\u003e})` on its topic.\n2. As the attacker, open `/socket/websocket?vsn=1.0.0` and join the topic with a V1 frame (`{\"topic\": ..., \"event\": \"phx_join\", \"payload\": {}, \"ref\": ...}`).\n3. Connect several V2 clients (`vsn=2.0.0`) and join the same topic.\n4. From another V2 client on the topic, push the event that triggers the binary broadcast.\n5. The broadcaster receives `phx_error`, the log shows `Protocol.UndefinedError` raised from `Phoenix.Socket.V1.JSONSerializer.fastlane!/1` through `Phoenix.Channel.Server.send/4`, and the V2 subscribers after the attacker receive nothing. Without the attacker, the same broadcast reaches every subscriber."
            }
          ],
          "value": "* Run a Phoenix endpoint with a channel whose handle_in/3 calls broadcast(socket, \"evt\", {:binary, \u003c\u003c0, 1, 2, 3\u003e\u003e}) on its topic.\n* As the attacker, open /socket/websocket?vsn=1.0.0 and join the topic with a V1 frame ({\"topic\": ..., \"event\": \"phx_join\", \"payload\": {}, \"ref\": ...}).\n* Connect several V2 clients (vsn=2.0.0) and join the same topic.\n* From another V2 client on the topic, push the event that triggers the binary broadcast.\n* The broadcaster receives phx_error, the log shows Protocol.UndefinedError raised from Phoenix.Socket.V1.JSONSerializer.fastlane!/1 through Phoenix.Channel.Server.send/4, and the V2 subscribers after the attacker receive nothing. Without the attacker, the same broadcast reaches every subscriber."
        }
      ],
      "x_technicalAnalysis": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "\u003cp\u003e\u003cstrong\u003e1. Serializer selection.\u003c/strong\u003e The socket picks its serializer from the client\u0027s \u003ccode\u003evsn\u003c/code\u003e parameter. A missing \u003ccode\u003evsn\u003c/code\u003e or \u003ccode\u003evsn=1.0.0\u003c/code\u003e selects \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer\u003c/code\u003e, and \u003ccode\u003ePhoenix.Channel.Server\u003c/code\u003e registers it as the subscriber\u0027s fastlane metadata when the channel joins.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Shared dispatch.\u003c/strong\u003e A broadcast runs \u003ccode\u003ePhoenix.Channel.Server.send/4\u003c/code\u003e once per subscriber, inside the PubSub dispatch loop of the broadcasting process. It encodes the message with each subscriber\u0027s serializer through \u003ccode\u003efastlane!/1\u003c/code\u003e and has no rescue.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Crash.\u003c/strong\u003e \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer.fastlane!/1\u003c/code\u003e JSON-encodes the payload, so a \u003ccode\u003e{:binary, data}\u003c/code\u003e tuple raises \u003ccode\u003eProtocol.UndefinedError\u003c/code\u003e. The exception aborts the loop: the broadcasting channel crashes (its client receives \u003ccode\u003ephx_error\u003c/code\u003e) and every subscriber after the attacker misses the message.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Cluster spread.\u003c/strong\u003e For broadcasts from other nodes, the same loop runs in the \u003ccode\u003ePhoenix.PubSub.PG2\u003c/code\u003e adapter worker. Each forwarded binary broadcast crashes it, and repeated crashes exceed the restart intensity and restart the PubSub supervisor, which empties the subscription registry while sockets stay connected. The report simulated this step locally by sending \u003ccode\u003e:forward_to_local\u003c/code\u003e to the worker.\u003c/p\u003e"
            },
            {
              "base64": false,
              "type": "text/markdown",
              "value": "**1. Serializer selection.** The socket picks its serializer from the client\u0027s `vsn` parameter. A missing `vsn` or `vsn=1.0.0` selects `Phoenix.Socket.V1.JSONSerializer`, and `Phoenix.Channel.Server` registers it as the subscriber\u0027s fastlane metadata when the channel joins.\n\n**2. Shared dispatch.** A broadcast runs `Phoenix.Channel.Server.send/4` once per subscriber, inside the PubSub dispatch loop of the broadcasting process. It encodes the message with each subscriber\u0027s serializer through `fastlane!/1` and has no rescue.\n\n**3. Crash.** `Phoenix.Socket.V1.JSONSerializer.fastlane!/1` JSON-encodes the payload, so a `{:binary, data}` tuple raises `Protocol.UndefinedError`. The exception aborts the loop: the broadcasting channel crashes (its client receives `phx_error`) and every subscriber after the attacker misses the message.\n\n**4. Cluster spread.** For broadcasts from other nodes, the same loop runs in the `Phoenix.PubSub.PG2` adapter worker. Each forwarded binary broadcast crashes it, and repeated crashes exceed the restart intensity and restart the PubSub supervisor, which empties the subscription registry while sockets stay connected. The report simulated this step locally by sending `:forward_to_local` to the worker."
            }
          ],
          "value": "1. Serializer selection. The socket picks its serializer from the client\u0027s vsn parameter. A missing vsn or vsn=1.0.0 selects Phoenix.Socket.V1.JSONSerializer, and Phoenix.Channel.Server registers it as the subscriber\u0027s fastlane metadata when the channel joins.\n\n2. Shared dispatch. A broadcast runs Phoenix.Channel.Server.send/4 once per subscriber, inside the PubSub dispatch loop of the broadcasting process. It encodes the message with each subscriber\u0027s serializer through fastlane!/1 and has no rescue.\n\n3. Crash. Phoenix.Socket.V1.JSONSerializer.fastlane!/1 JSON-encodes the payload, so a {:binary, data} tuple raises Protocol.UndefinedError. The exception aborts the loop: the broadcasting channel crashes (its client receives phx_error) and every subscriber after the attacker misses the message.\n\n4. Cluster spread. For broadcasts from other nodes, the same loop runs in the Phoenix.PubSub.PG2 adapter worker. Each forwarded binary broadcast crashes it, and repeated crashes exceed the restart intensity and restart the PubSub supervisor, which empties the subscription registry while sockets stay connected. The report simulated this step locally by sending :forward_to_local to the worker."
        }
      ]
    }
  },
  "cveMetadata": {
    "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
    "assignerShortName": "EEF",
    "cveId": "CVE-2026-129344",
    "datePublished": "2026-11-21T10:59:15.168Z",
    "dateReserved": "2026-11-18T04:41:14.165Z",
    "dateUpdated": "2026-11-23T20:26:47.156Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-129344",
      "date": "2026-11-23",
      "epss": "0.00717",
      "percentile": "0.54719"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://repo.hex.pm",
                "cpes": [
                  "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.Phoenix.Channel.Server\u0027",
                  "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027",
                  "\u0027Elixir.Phoenix.Channel\u0027"
                ],
                "packageName": "phoenix",
                "packageURL": "pkg:hex/phoenix",
                "product": "phoenix",
                "programFiles": [
                  "lib/phoenix/channel/server.ex",
                  "lib/phoenix/socket/serializers/v1_json_serializer.ex",
                  "lib/phoenix/channel.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.Phoenix.Channel.Server\u0027:send/4"
                  },
                  {
                    "name": "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027:fastlane!/1"
                  },
                  {
                    "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast/3"
                  },
                  {
                    "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast_from/3"
                  }
                ],
                "repo": "https://github.com/phoenixframework/phoenix",
                "vendor": "phoenixframework",
                "versions": [
                  {
                    "lessThan": "1.5.16",
                    "status": "affected",
                    "version": "1.5.7",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.6.18",
                    "status": "affected",
                    "version": "1.6.0-rc.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.7.25",
                    "status": "affected",
                    "version": "1.7.0-rc.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.8.17",
                    "status": "affected",
                    "version": "1.8.0-rc.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://github.com",
                "cpes": [
                  "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
                ],
                "defaultStatus": "unaffected",
                "modules": [
                  "\u0027Elixir.Phoenix.Channel.Server\u0027",
                  "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027",
                  "\u0027Elixir.Phoenix.Channel\u0027"
                ],
                "packageName": "phoenixframework/phoenix",
                "packageURL": "pkg:github/phoenixframework/phoenix",
                "product": "phoenix",
                "programFiles": [
                  "lib/phoenix/channel/server.ex",
                  "lib/phoenix/socket/serializers/v1_json_serializer.ex",
                  "lib/phoenix/channel.ex"
                ],
                "programRoutines": [
                  {
                    "name": "\u0027Elixir.Phoenix.Channel.Server\u0027:send/4"
                  },
                  {
                    "name": "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027:fastlane!/1"
                  },
                  {
                    "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast/3"
                  },
                  {
                    "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast_from/3"
                  }
                ],
                "repo": "https://github.com/phoenixframework/phoenix",
                "vendor": "phoenixframework",
                "versions": [
                  {
                    "lessThan": "c255d983e03893ae46abf01d13c3ec3bd20f029c",
                    "status": "affected",
                    "version": "07b401901fc1d649f126eee6315b5eb01fa5c85c",
                    "versionType": "git"
                  },
                  {
                    "changes": [
                      {
                        "at": "30e5d9d7704b964772c131314508c45ed85ed807",
                        "status": "unaffected"
                      },
                      {
                        "at": "5d57f442a1ffab8a866add770477a14a0cd792d9",
                        "status": "unaffected"
                      },
                      {
                        "at": "eddaeb6d50c903fc77b465dbf3efd89feee0816b",
                        "status": "unaffected"
                      }
                    ],
                    "lessThan": "*",
                    "status": "affected",
                    "version": "cf098e9cf7a44ee6479d31d911a97d3c7430c6fe",
                    "versionType": "git"
                  }
                ]
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\n\nWhen an application broadcasts {:binary, data} payloads on a channel topic, any client that connects without a vsn parameter, or with vsn=1.0.0, and joins that topic makes those broadcasts fail. Phoenix.Channel.Server.send/4 encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling fastlane!/1 with no rescue, and the negotiated Phoenix.Socket.V1.JSONSerializer raises Protocol.UndefinedError on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\n\nThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17."
          }
        ],
        "id": "CVE-2026-129344",
        "lastModified": "2026-11-23T21:16:53.233",
        "metrics": {
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2026-129344",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-11-23T20:25:52.037878Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2026-11-21T11:16:39.077",
        "references": [
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://cna.erlef.org/cves/CVE-2026-129344.html"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/commit/07b401901fc1d649f126eee6315b5eb01fa5c85c"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/commit/30e5d9d7704b964772c131314508c45ed85ed807"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/commit/5d57f442a1ffab8a866add770477a14a0cd792d9"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/commit/c255d983e03893ae46abf01d13c3ec3bd20f029c"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/commit/cf098e9cf7a44ee6479d31d911a97d3c7430c6fe"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/commit/eddaeb6d50c903fc77b465dbf3efd89feee0816b"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://github.com/phoenixframework/phoenix/security/advisories/GHSA-5vmc-qgf8-rw36"
          },
          {
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "url": "https://osv.dev/vulnerability/EEF-CVE-2026-129344"
          }
        ],
        "sourceIdentifier": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "vulnStatus": "Deferred",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-248"
              }
            ],
            "source": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "type": "Secondary"
          }
        ]
      }
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2026-129344",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2026-11-23T20:25:52.037878Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2026-11-23T20:26:29.141Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://repo.hex.pm",
              "cpes": [
                "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "\u0027Elixir.Phoenix.Channel.Server\u0027",
                "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027",
                "\u0027Elixir.Phoenix.Channel\u0027"
              ],
              "packageName": "phoenix",
              "packageURL": "pkg:hex/phoenix",
              "product": "phoenix",
              "programFiles": [
                "lib/phoenix/channel/server.ex",
                "lib/phoenix/socket/serializers/v1_json_serializer.ex",
                "lib/phoenix/channel.ex"
              ],
              "programRoutines": [
                {
                  "name": "\u0027Elixir.Phoenix.Channel.Server\u0027:send/4"
                },
                {
                  "name": "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027:fastlane!/1"
                },
                {
                  "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast/3"
                },
                {
                  "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast_from/3"
                }
              ],
              "repo": "https://github.com/phoenixframework/phoenix",
              "vendor": "phoenixframework",
              "versions": [
                {
                  "lessThan": "1.5.16",
                  "status": "affected",
                  "version": "1.5.7",
                  "versionType": "semver"
                },
                {
                  "lessThan": "1.6.18",
                  "status": "affected",
                  "version": "1.6.0-rc.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "1.7.25",
                  "status": "affected",
                  "version": "1.7.0-rc.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "1.8.17",
                  "status": "affected",
                  "version": "1.8.0-rc.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://github.com",
              "cpes": [
                "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*"
              ],
              "defaultStatus": "unaffected",
              "modules": [
                "\u0027Elixir.Phoenix.Channel.Server\u0027",
                "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027",
                "\u0027Elixir.Phoenix.Channel\u0027"
              ],
              "packageName": "phoenixframework/phoenix",
              "packageURL": "pkg:github/phoenixframework/phoenix",
              "product": "phoenix",
              "programFiles": [
                "lib/phoenix/channel/server.ex",
                "lib/phoenix/socket/serializers/v1_json_serializer.ex",
                "lib/phoenix/channel.ex"
              ],
              "programRoutines": [
                {
                  "name": "\u0027Elixir.Phoenix.Channel.Server\u0027:send/4"
                },
                {
                  "name": "\u0027Elixir.Phoenix.Socket.V1.JSONSerializer\u0027:fastlane!/1"
                },
                {
                  "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast/3"
                },
                {
                  "name": "\u0027Elixir.Phoenix.Channel\u0027:broadcast_from/3"
                }
              ],
              "repo": "https://github.com/phoenixframework/phoenix",
              "vendor": "phoenixframework",
              "versions": [
                {
                  "lessThan": "c255d983e03893ae46abf01d13c3ec3bd20f029c",
                  "status": "affected",
                  "version": "07b401901fc1d649f126eee6315b5eb01fa5c85c",
                  "versionType": "git"
                },
                {
                  "changes": [
                    {
                      "at": "30e5d9d7704b964772c131314508c45ed85ed807",
                      "status": "unaffected"
                    },
                    {
                      "at": "5d57f442a1ffab8a866add770477a14a0cd792d9",
                      "status": "unaffected"
                    },
                    {
                      "at": "eddaeb6d50c903fc77b465dbf3efd89feee0816b",
                      "status": "unaffected"
                    }
                  ],
                  "lessThan": "*",
                  "status": "affected",
                  "version": "cf098e9cf7a44ee6479d31d911a97d3c7430c6fe",
                  "versionType": "git"
                }
              ]
            }
          ],
          "configurations": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eThe application must broadcast \u003ccode\u003e{:binary, data}\u003c/code\u003e payloads (through \u003ccode\u003ePhoenix.Channel.broadcast/3\u003c/code\u003e, \u003ccode\u003ebroadcast_from/3\u003c/code\u003e, or \u003ccode\u003ePhoenix.Endpoint.broadcast/3\u003c/code\u003e) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "The application must broadcast `{:binary, data}` payloads (through `Phoenix.Channel.broadcast/3`, `broadcast_from/3`, or `Phoenix.Endpoint.broadcast/3`) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected."
                }
              ],
              "value": "The application must broadcast {:binary, data} payloads (through Phoenix.Channel.broadcast/3, broadcast_from/3, or Phoenix.Endpoint.broadcast/3) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected."
            }
          ],
          "cpeApplicability": [
            {
              "nodes": [
                {
                  "cpeMatch": [
                    {
                      "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "1.5.16",
                      "versionStartIncluding": "1.5.7",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "1.6.18",
                      "versionStartIncluding": "1.6.0-rc.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "1.7.25",
                      "versionStartIncluding": "1.7.0-rc.0",
                      "vulnerable": true
                    },
                    {
                      "criteria": "cpe:2.3:a:phoenixframework:phoenix:*:*:*:*:*:*:*:*",
                      "versionEndExcluding": "1.8.17",
                      "versionStartIncluding": "1.8.0-rc.0",
                      "vulnerable": true
                    }
                  ],
                  "negate": false,
                  "operator": "OR"
                }
              ],
              "operator": "AND"
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "reporter",
              "value": "Peter Ullrich"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Steffen Deusch"
            },
            {
              "lang": "en",
              "type": "remediation reviewer",
              "value": "Jos\u00e9 Valim"
            }
          ],
          "dateAssigned": "2026-11-20T10:54:44.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eUncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\u003c/p\u003e\n\u003cp\u003eWhen an application broadcasts \u003ccode\u003e{:binary, data}\u003c/code\u003e payloads on a channel topic, any client that connects without a \u003ccode\u003evsn\u003c/code\u003e parameter, or with \u003ccode\u003evsn=1.0.0\u003c/code\u003e, and joins that topic makes those broadcasts fail. \u003ccode\u003ePhoenix.Channel.Server.send/4\u003c/code\u003e encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling \u003ccode\u003efastlane!/1\u003c/code\u003e with no rescue, and the negotiated \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer\u003c/code\u003e raises \u003ccode\u003eProtocol.UndefinedError\u003c/code\u003e on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\u003c/p\u003e\n\u003cp\u003eThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\n\nWhen an application broadcasts `{:binary, data}` payloads on a channel topic, any client that connects without a `vsn` parameter, or with `vsn=1.0.0`, and joins that topic makes those broadcasts fail. `Phoenix.Channel.Server.send/4` encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling `fastlane!/1` with no rescue, and the negotiated `Phoenix.Socket.V1.JSONSerializer` raises `Protocol.UndefinedError` on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\n\nThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17."
                }
              ],
              "value": "Uncaught Exception vulnerability in phoenixframework phoenix allows an unauthenticated attacker to cause a denial of service via a client-selected legacy serializer on binary channel broadcasts.\n\nWhen an application broadcasts {:binary, data} payloads on a channel topic, any client that connects without a vsn parameter, or with vsn=1.0.0, and joins that topic makes those broadcasts fail. Phoenix.Channel.Server.send/4 encodes each broadcast with every subscriber\u0027s own serializer inside the PubSub dispatch loop, calling fastlane!/1 with no rescue, and the negotiated Phoenix.Socket.V1.JSONSerializer raises Protocol.UndefinedError on a binary payload. Every binary broadcast on the topic then crashes the broadcasting process and skips every subscriber dispatched after the attacker. For broadcasts arriving from other nodes the loop runs in the PubSub adapter worker, whose repeated crashes restart the PubSub supervisor and empty the node\u0027s subscription registry while sockets stay connected.\n\nThis issue affects phoenix: from 1.5.7 before 1.5.16, from 1.6.0-rc.0 before 1.6.18, from 1.7.0-rc.0 before 1.7.25, and from 1.8.0-rc.0 before 1.8.17."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-220",
              "descriptions": [
                {
                  "lang": "en",
                  "supportingMedia": [
                    {
                      "base64": false,
                      "type": "text/html",
                      "value": "\u003cp\u003eAn attacker who can join a topic makes every binary broadcast on it fail, crashing the broadcasting channel and starving the other subscribers. In clustered deployments, forwarded broadcasts crash the PubSub adapter worker until the node\u0027s subscriptions are lost.\u003c/p\u003e"
                    },
                    {
                      "base64": false,
                      "type": "text/markdown",
                      "value": "An attacker who can join a topic makes every binary broadcast on it fail, crashing the broadcasting channel and starving the other subscribers. In clustered deployments, forwarded broadcasts crash the PubSub adapter worker until the node\u0027s subscriptions are lost."
                    }
                  ],
                  "value": "An attacker who can join a topic makes every binary broadcast on it fail, crashing the broadcasting channel and starving the other subscribers. In clustered deployments, forwarded broadcasts crash the PubSub adapter worker until the node\u0027s subscriptions are lost."
                }
              ]
            }
          ],
          "metrics": [
            {
              "cvssV4_0": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "LOW",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "privilegesRequired": "NONE",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "NONE",
                "subIntegrityImpact": "NONE",
                "userInteraction": "NONE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
                "version": "4.0",
                "vulnAvailabilityImpact": "HIGH",
                "vulnConfidentialityImpact": "NONE",
                "vulnIntegrityImpact": "NONE",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "format": "CVSS",
              "scenarios": [
                {
                  "lang": "en",
                  "value": "GENERAL"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-248",
                  "description": "CWE-248 Uncaught Exception",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-11-21T10:59:15.168Z",
            "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
            "shortName": "EEF"
          },
          "references": [
            {
              "name": "Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads",
              "tags": [
                "vendor-advisory",
                "related"
              ],
              "url": "https://github.com/phoenixframework/phoenix/security/advisories/GHSA-5vmc-qgf8-rw36"
            },
            {
              "name": "EEF CNA record for CVE-2026-129344",
              "tags": [
                "related"
              ],
              "url": "https://cna.erlef.org/cves/CVE-2026-129344.html"
            },
            {
              "name": "OSV record EEF-CVE-2026-129344",
              "tags": [
                "related"
              ],
              "url": "https://osv.dev/vulnerability/EEF-CVE-2026-129344"
            },
            {
              "name": "Introducing commit 07b4019 in phoenixframework/phoenix",
              "tags": [
                "related"
              ],
              "url": "https://github.com/phoenixframework/phoenix/commit/07b401901fc1d649f126eee6315b5eb01fa5c85c"
            },
            {
              "name": "Introducing commit cf098e9 in phoenixframework/phoenix",
              "tags": [
                "related"
              ],
              "url": "https://github.com/phoenixframework/phoenix/commit/cf098e9cf7a44ee6479d31d911a97d3c7430c6fe"
            },
            {
              "name": "Fix commit 30e5d9d in phoenixframework/phoenix",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/phoenixframework/phoenix/commit/30e5d9d7704b964772c131314508c45ed85ed807"
            },
            {
              "name": "Fix commit 5d57f44 in phoenixframework/phoenix",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/phoenixframework/phoenix/commit/5d57f442a1ffab8a866add770477a14a0cd792d9"
            },
            {
              "name": "Fix commit c255d98 in phoenixframework/phoenix",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/phoenixframework/phoenix/commit/c255d983e03893ae46abf01d13c3ec3bd20f029c"
            },
            {
              "name": "Fix commit eddaeb6 in phoenixframework/phoenix",
              "tags": [
                "patch"
              ],
              "url": "https://github.com/phoenixframework/phoenix/commit/eddaeb6d50c903fc77b465dbf3efd89feee0816b"
            }
          ],
          "source": {
            "discovery": "EXTERNAL"
          },
          "title": "Client-selected V1 serializer crashes shared broadcast dispatch on binary payloads",
          "workarounds": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003eReject the V1 serializer by listing only the V2 serializer on each socket:\u003c/p\u003e\n\u003cpre\u003e\u003ccode class=\"language-elixir\"\u003esocket \"/socket\", MyAppWeb.UserSocket,\n  websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u0026gt; 2.0.0\"}]],\n  longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u0026gt; 2.0.0\"}]]\n\u003c/code\u003e\u003c/pre\u003e\n\u003cp\u003eClients that connect without a \u003ccode\u003evsn\u003c/code\u003e parameter or with \u003ccode\u003evsn=1.0.0\u003c/code\u003e are then refused.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "Reject the V1 serializer by listing only the V2 serializer on each socket:\n\n```elixir\nsocket \"/socket\", MyAppWeb.UserSocket,\n  websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]],\n  longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]]\n```\n\nClients that connect without a `vsn` parameter or with `vsn=1.0.0` are then refused."
                }
              ],
              "value": "Reject the V1 serializer by listing only the V2 serializer on each socket:\n\nsocket \"/socket\", MyAppWeb.UserSocket,\n  websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]],\n  longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, \"~\u003e 2.0.0\"}]]\n\nClients that connect without a vsn parameter or with vsn=1.0.0 are then refused."
            }
          ],
          "x_proofOfConcept": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003col\u003e\n\u003cli\u003eRun a Phoenix endpoint with a channel whose \u003ccode\u003ehandle_in/3\u003c/code\u003e calls \u003ccode\u003ebroadcast(socket, \"evt\", {:binary, \u0026lt;\u0026lt;0, 1, 2, 3\u0026gt;\u0026gt;})\u003c/code\u003e on its topic.\u003c/li\u003e\n\u003cli\u003eAs the attacker, open \u003ccode\u003e/socket/websocket?vsn=1.0.0\u003c/code\u003e and join the topic with a V1 frame (\u003ccode\u003e{\"topic\": ..., \"event\": \"phx_join\", \"payload\": {}, \"ref\": ...}\u003c/code\u003e).\u003c/li\u003e\n\u003cli\u003eConnect several V2 clients (\u003ccode\u003evsn=2.0.0\u003c/code\u003e) and join the same topic.\u003c/li\u003e\n\u003cli\u003eFrom another V2 client on the topic, push the event that triggers the binary broadcast.\u003c/li\u003e\n\u003cli\u003eThe broadcaster receives \u003ccode\u003ephx_error\u003c/code\u003e, the log shows \u003ccode\u003eProtocol.UndefinedError\u003c/code\u003e raised from \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer.fastlane!/1\u003c/code\u003e through \u003ccode\u003ePhoenix.Channel.Server.send/4\u003c/code\u003e, and the V2 subscribers after the attacker receive nothing. Without the attacker, the same broadcast reaches every subscriber.\u003c/li\u003e\n\u003c/ol\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "1. Run a Phoenix endpoint with a channel whose `handle_in/3` calls `broadcast(socket, \"evt\", {:binary, \u003c\u003c0, 1, 2, 3\u003e\u003e})` on its topic.\n2. As the attacker, open `/socket/websocket?vsn=1.0.0` and join the topic with a V1 frame (`{\"topic\": ..., \"event\": \"phx_join\", \"payload\": {}, \"ref\": ...}`).\n3. Connect several V2 clients (`vsn=2.0.0`) and join the same topic.\n4. From another V2 client on the topic, push the event that triggers the binary broadcast.\n5. The broadcaster receives `phx_error`, the log shows `Protocol.UndefinedError` raised from `Phoenix.Socket.V1.JSONSerializer.fastlane!/1` through `Phoenix.Channel.Server.send/4`, and the V2 subscribers after the attacker receive nothing. Without the attacker, the same broadcast reaches every subscriber."
                }
              ],
              "value": "* Run a Phoenix endpoint with a channel whose handle_in/3 calls broadcast(socket, \"evt\", {:binary, \u003c\u003c0, 1, 2, 3\u003e\u003e}) on its topic.\n* As the attacker, open /socket/websocket?vsn=1.0.0 and join the topic with a V1 frame ({\"topic\": ..., \"event\": \"phx_join\", \"payload\": {}, \"ref\": ...}).\n* Connect several V2 clients (vsn=2.0.0) and join the same topic.\n* From another V2 client on the topic, push the event that triggers the binary broadcast.\n* The broadcaster receives phx_error, the log shows Protocol.UndefinedError raised from Phoenix.Socket.V1.JSONSerializer.fastlane!/1 through Phoenix.Channel.Server.send/4, and the V2 subscribers after the attacker receive nothing. Without the attacker, the same broadcast reaches every subscriber."
            }
          ],
          "x_technicalAnalysis": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "\u003cp\u003e\u003cstrong\u003e1. Serializer selection.\u003c/strong\u003e The socket picks its serializer from the client\u0027s \u003ccode\u003evsn\u003c/code\u003e parameter. A missing \u003ccode\u003evsn\u003c/code\u003e or \u003ccode\u003evsn=1.0.0\u003c/code\u003e selects \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer\u003c/code\u003e, and \u003ccode\u003ePhoenix.Channel.Server\u003c/code\u003e registers it as the subscriber\u0027s fastlane metadata when the channel joins.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e2. Shared dispatch.\u003c/strong\u003e A broadcast runs \u003ccode\u003ePhoenix.Channel.Server.send/4\u003c/code\u003e once per subscriber, inside the PubSub dispatch loop of the broadcasting process. It encodes the message with each subscriber\u0027s serializer through \u003ccode\u003efastlane!/1\u003c/code\u003e and has no rescue.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e3. Crash.\u003c/strong\u003e \u003ccode\u003ePhoenix.Socket.V1.JSONSerializer.fastlane!/1\u003c/code\u003e JSON-encodes the payload, so a \u003ccode\u003e{:binary, data}\u003c/code\u003e tuple raises \u003ccode\u003eProtocol.UndefinedError\u003c/code\u003e. The exception aborts the loop: the broadcasting channel crashes (its client receives \u003ccode\u003ephx_error\u003c/code\u003e) and every subscriber after the attacker misses the message.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e4. Cluster spread.\u003c/strong\u003e For broadcasts from other nodes, the same loop runs in the \u003ccode\u003ePhoenix.PubSub.PG2\u003c/code\u003e adapter worker. Each forwarded binary broadcast crashes it, and repeated crashes exceed the restart intensity and restart the PubSub supervisor, which empties the subscription registry while sockets stay connected. The report simulated this step locally by sending \u003ccode\u003e:forward_to_local\u003c/code\u003e to the worker.\u003c/p\u003e"
                },
                {
                  "base64": false,
                  "type": "text/markdown",
                  "value": "**1. Serializer selection.** The socket picks its serializer from the client\u0027s `vsn` parameter. A missing `vsn` or `vsn=1.0.0` selects `Phoenix.Socket.V1.JSONSerializer`, and `Phoenix.Channel.Server` registers it as the subscriber\u0027s fastlane metadata when the channel joins.\n\n**2. Shared dispatch.** A broadcast runs `Phoenix.Channel.Server.send/4` once per subscriber, inside the PubSub dispatch loop of the broadcasting process. It encodes the message with each subscriber\u0027s serializer through `fastlane!/1` and has no rescue.\n\n**3. Crash.** `Phoenix.Socket.V1.JSONSerializer.fastlane!/1` JSON-encodes the payload, so a `{:binary, data}` tuple raises `Protocol.UndefinedError`. The exception aborts the loop: the broadcasting channel crashes (its client receives `phx_error`) and every subscriber after the attacker misses the message.\n\n**4. Cluster spread.** For broadcasts from other nodes, the same loop runs in the `Phoenix.PubSub.PG2` adapter worker. Each forwarded binary broadcast crashes it, and repeated crashes exceed the restart intensity and restart the PubSub supervisor, which empties the subscription registry while sockets stay connected. The report simulated this step locally by sending `:forward_to_local` to the worker."
                }
              ],
              "value": "1. Serializer selection. The socket picks its serializer from the client\u0027s vsn parameter. A missing vsn or vsn=1.0.0 selects Phoenix.Socket.V1.JSONSerializer, and Phoenix.Channel.Server registers it as the subscriber\u0027s fastlane metadata when the channel joins.\n\n2. Shared dispatch. A broadcast runs Phoenix.Channel.Server.send/4 once per subscriber, inside the PubSub dispatch loop of the broadcasting process. It encodes the message with each subscriber\u0027s serializer through fastlane!/1 and has no rescue.\n\n3. Crash. Phoenix.Socket.V1.JSONSerializer.fastlane!/1 JSON-encodes the payload, so a {:binary, data} tuple raises Protocol.UndefinedError. The exception aborts the loop: the broadcasting channel crashes (its client receives phx_error) and every subscriber after the attacker misses the message.\n\n4. Cluster spread. For broadcasts from other nodes, the same loop runs in the Phoenix.PubSub.PG2 adapter worker. Each forwarded binary broadcast crashes it, and repeated crashes exceed the restart intensity and restart the PubSub supervisor, which empties the subscription registry while sockets stay connected. The report simulated this step locally by sending :forward_to_local to the worker."
            }
          ]
        }
      },
      "cveMetadata": {
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "assignerShortName": "EEF",
        "cveId": "CVE-2026-129344",
        "datePublished": "2026-11-21T10:59:15.168Z",
        "dateReserved": "2026-11-18T04:41:14.165Z",
        "dateUpdated": "2026-11-23T20:26:47.156Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


Workarounds

CNA · EEF
Reject the V1 serializer by listing only the V2 serializer on each socket: socket "/socket", MyAppWeb.UserSocket, websocket: [serializer: [{Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}]], longpoll: [serializer: [{Phoenix.Socket.V2.JSONSerializer, "~> 2.0.0"}]] Clients that connect without a vsn parameter or with vsn=1.0.0 are then refused.

Configurations

CNA · EEF
The application must broadcast {:binary, data} payloads (through Phoenix.Channel.broadcast/3, broadcast_from/3, or Phoenix.Endpoint.broadcast/3) on a channel topic that an untrusted client can join. Applications that broadcast only map payloads are not affected.

Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.