CVE-2021-36088
Fluent Bit vulnerability analysis and mitigation

Overview

Fluent Bit (also known as fluent-bit) versions 1.7.0 through 1.7.4 were affected by a double-free vulnerability in the flb_free function, which is called from flb_parser_json_do and flb_parser_do functions (CVE Details). The vulnerability was discovered and disclosed on July 1, 2021.

Technical details

The vulnerability is a heap-double-free issue that occurs in the flb_free function when it's called through the parsing chain flb_parser_json_do and flb_parser_do. The bug was identified through OSS-Fuzz testing and was assigned a HIGH severity rating (OSS Fuzz Report). The issue was introduced in commit 68746b76af8b143daf477033a6799902be2f3cad and was subsequently fixed in commits 22346a74c07ceb90296be872be2d53eb92252a54 and 9b4d9ee0f9d42383bad593b05b95f25e8b294c71.

Impact

A double-free vulnerability can lead to memory corruption, which could potentially result in program crashes, denial of service conditions, or in some cases, arbitrary code execution. This vulnerability affects all Fluent Bit installations running versions 1.7.0 through 1.7.4 (OSS Fuzz Report).

Exploitability

The vulnerability can be triggered through the JSON parsing functionality of Fluent Bit. The issue was discovered through automated fuzzing via OSS-Fuzz, suggesting it could be exploited through specially crafted input (OSS Fuzz Report).

Mitigation and workarounds

The vulnerability was fixed in a patch that adds proper NULL pointer handling and prevents the double-free condition. Users should upgrade to a version of Fluent Bit that contains the fix. The fix involves setting mp_buf to NULL after freeing it and ensuring proper cleanup of tmp_out_buf (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Fluent Bit vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-63657HIGH7.5
  • Fluent Bit logoFluent Bit
  • fluent-bit
NoYesJan 29, 2026
CVE-2025-63652HIGH7.5
  • Fluent Bit logoFluent Bit
  • fluent-bit
NoYesJan 29, 2026
CVE-2026-58055MEDIUM6.3
  • NixOS logoNixOS
  • nodejs:22::nodejs
NoYesJun 28, 2026
CVE-2025-62408MEDIUM5.9
  • npm logonpm
  • nodejs:22::nodejs-packaging
NoYesDec 08, 2025
CVE-2025-12978MEDIUM5.4
  • Fluent Bit logoFluent Bit
  • cpe:2.3:a:treasuredata:fluent_bit
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management