Stack-based Buffer Overflow Affecting fluent/fluent-bit package, versions [,4.1.1)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-FLUENTFLUENTBIT-14107160
  • published26 Nov 2025
  • disclosed24 Nov 2025
  • creditUnknown

Introduced: 24 Nov 2025

NewCVE-2025-12970  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade fluent/fluent-bit to version 4.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the extract_name() function in the in_docker input plugin. An attacker who can create containers or control container names can cause a process crash or execute arbitrary code by supplying an overly long container name that overflows a fixed-size stack buffer.

References

CVSS Base Scores

version 4.0
version 3.1