CVE-2026-61674: Fluent Bit - Buffer Overflow
- Cve: CVE-2026-61674
- Name: Fluent Bit - Buffer Overflow
- Description: 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.
- Impact: Attackers can execute arbitrary code remotely as the Fluent Bit process user, potentially compromising the host system.
- Remediation: Update to version 5.0.8 or later.
- Vulnerability type: buffer_overflow
- Vulnerability impact: remote_code_execution
- Requirements: Attacker must control or impersonate a Secure Forward destination with Shared_Key or Empty_Shared_Key configured.
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.2
- Cvss 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/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
- Epss score: 0.0072
- Epss percentile: 0.54843
- Assignee: [email protected]
- Published at: 2026-09-21T17:17:36Z
- Age in days: 64
- Modified at: 2026-09-24T21:16:28Z
- References total: 4
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-61674
- Nvd status: awaiting_analysis
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-121 | Stack-based Buffer Overflow |
References
Same in every row:
- Source: nvd
- Tags:
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| fluent/fluent-bit | commit, fix, pull, releases, security_advisory | yes | /v1/repositories/fluent/fluent-bit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts