High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-12970
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:32 UTC · Revision 1
Source evidence
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.
osv:CVE-2025-12970
Complete source record
{
"id": "7ae679b46bfa9c803837381435e9ae4dccdfcfef811248e987c5ef528178cc89",
"url": "https://osv.dev/vulnerability/CVE-2025-12970",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-12970",
"summary": "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.",
"evidence": "osv:CVE-2025-12970",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2025-12970",
"aliases": [
"BIT-fluent-bit-2025-12970",
"CVE-2025-12970"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/fluent/fluent-bit",
"type": "GIT",
"events": [
{
"introduced": "a8bd9e4cf636710dc7ce3af9d940bb4d91e660fc"
},
{
"last_affected": "a8bd9e4cf636710dc7ce3af9d940bb4d91e660fc"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:treasuredata:fluent_bit:4.1.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.1.0"
},
{
"last_affected": "4.1.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"4.1.0",
"v4.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12970.json"
}
}
],
"modified": "2026-10-28T02:30:21.592780349Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12970.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-12970",
"https://fluentbit.io/blog/2025/10/28/security-vulnerabilities-addressed-in-fluent-bit-v4.1-and-backported-to-v4.0/",
"https://www.oligo.security/blog/critical-vulnerabilities-in-fluent-bit-expose-cloud-environments-to-remote-takeover"
],
"provider_metadata": {
"cna_assigner": "certcc",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "4.0.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12970.json"
}
},
"related_cves": [
{
"value": "CVE-2025-12970",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487846,
"published_at": "2025-11-24T14:39:52.569+00:00"
}