CVE-2025-12970 CVE-2025-12970

High 8.8 Published Updated

An attacker can trigger a stack buffer overflow in Fluent Bit's Docker input plugin by providing a long container name, potentially leading to code execution or crashes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2025-12970?

CVE-2025-12970 is a high-severity memory corruption vulnerability in FluentBit Fluent Bit, published on 24 Nov 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

The extract_name function in Fluent Bit in_docker input plugin copies container names into a fixed size stack buffer without validating length. An attacker who can create containers or control container names, can supply a long name that overflows the buffer, leading to process crash or arbitrary code execution.

Weakness: CWE-120

Which versions are affected by CVE-2025-12970?

1 open source package ship an affected version, including fluent-bit. It affects 1 product.

PackageAffectedFixed in
fluent-bit BitnamiFrom 4.1.04.1.1

Products include Treasuredata Fluent Bit.

How do I fix CVE-2025-12970?

Upgrade fluent-bit to 4.1.1 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-12970 being exploited?

There is no known exploitation of CVE-2025-12970 in the wild and no public exploit code.

Sources

Also known as AZL-71074, AZL-71111, BIT-fluent-bit-2025-12970, GHSA-8rpx-2j25-w4rp.

Is CVE-2025-12970 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free