{"id":"CVE-2026-61674","published":"2026-09-21T16:10:15Z","modified":"2026-09-21T18:52:25Z","title":"Fluent Bit: Remote stack buffer overflow in Fluent Bit `out_forward` Secure-Forward `PONG` handler","vendor":"fluent","product":"fluent-bit","tier":"tail","description":{"text":"Fluent Bit is a fast and lightweight logs, metrics, and traces processor for Linux, BSD, macOS, and Windows. From 0.11.0 until 5.0.8, plugins/out_forward/forward.c secure_forward_pong copies the server-controlled PONG[2] reason into the 32-byte stack buffer msg with memcpy without checking its MessagePack type or length. An attacker who controls or can impersonate an out_forward Secure Forward destination configured with Shared_Key or Empty_Shared_Key can send an oversized reason during the first handshake and overwrite stack control data. Protected builds reliably terminate, while builds without a stack canary or with a disclosure can allow remote code execution as the Fluent Bit process user. When the opt-in --supervisor mode is used, fork-only respawns preserve the canary and address layout, allowing repeated crash-or-survive probes to support code execution on a hardened build; ordinary exec-based or service-manager restarts do not preserve that state. This issue is fixed in version 5.0.8.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.2,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0072,"percentile":0.54826,"provenance":"source"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"},{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"references":[{"url":"https://github.com/fluent/fluent-bit/security/advisories/GHSA-jrp8-r9hx-gf73","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fluent/fluent-bit/pull/11945","tags":["x_refsource_MISC"]},{"url":"https://github.com/fluent/fluent-bit/commit/45486556be9d023e194665e243f156b228e195e0","tags":["x_refsource_MISC"]},{"url":"https://github.com/fluent/fluent-bit/releases/tag/v5.0.8","tags":["x_refsource_MISC"]}],"priority":{"score":17.4,"factors":[{"name":"EPSS percentile","points":10.97},{"name":"CVSS severity","points":6.44}]},"vendorSlug":"fluent","affectedVersions":[{"vendor":"fluent","product":"fluent-bit","versions":[">= 0.11.0, < 5.0.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-21T18:51:32.206511Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-83985","exploited":false,"provenance":"source"}}