CVE-2025-12970CWE-120

CVE-2025-12970

High · published November 24, 2025

CVSS v3.1
8.8
EPSS
1%
Percentile
63.6
In the wild
Unconfirmed
What it is

⚡ A buffer overflow lurking in the Fluent Bit in_docker input plugin could let attackers crash your service or run arbitrary code — all thanks to unchecked container names! 🔥 Think of it like a restaurant where the waitstaff can only take orders for a set number of characters in a dish name. If a chef submits a ridiculously long name, it not only confuses the staff but could also cause the whole kitchen to crash! An attacker controlling container names could exploit this flaw to overflow the buffer, leading to process crashes or even arbitrary code execution. This means they could potentially gain control of your system, making this vulnerability a high-stakes risk for any operation using Fluent Bit.

Put simply

Think of it like a restaurant where the waitstaff can only take orders for a set number of characters in a dish name. If a chef submits a ridiculously long name, it not only confuses the staff but could also cause the whole kitchen to crash! The vulnerability occurs in the extract_name function, which copies container names into a fixed-size stack buffer without validating their length, allowing for a buffer overflow condition.

What to do

An attacker controlling container names could exploit this flaw to overflow the buffer, leading to process crashes or even arbitrary code execution. This means they could potentially gain control of your system, making this vulnerability a high-stakes risk for any operation using Fluent Bit. To protect yourself, update Fluent Bit to the latest version that addresses this issue. Additionally, consider implementing input validation to restrict container name lengths and audit your container naming policies. You’ve got this! Patch up, and you’ll be fortified against this sneaky overflow. 🛡️

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01035 · 63.6th percentile
Weakness
CWE-120 · Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
Published
2025-11-24T20:15Z
Affected products (1)
ProductVersionsFixed in
treasuredata/fluent_bitall versions—
References (2)
EPSS history
Timeline
  • 24 NOV 14:39Z
    CVE-2025-12970
    cvelistv5