{"id":"CVE-2025-12970","summary":"CVE-2025-12970","details":"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.","aliases":["BIT-fluent-bit-2025-12970"],"modified":"2026-08-12T03:51:20.150041281Z","published":"2025-11-24T14:39:52.569Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12970.json","unresolved_ranges":[{"extracted_events":[{"fixed":"4.0.12"}],"source":"AFFECTED_FIELD"}],"cna_assigner":"certcc"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12970.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12970"},{"type":"ARTICLE","url":"https://fluentbit.io/blog/2025/10/28/security-vulnerabilities-addressed-in-fluent-bit-v4.1-and-backported-to-v4.0/"},{"type":"ARTICLE","url":"https://www.oligo.security/blog/critical-vulnerabilities-in-fluent-bit-expose-cloud-environments-to-remote-takeover"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fluent/fluent-bit","events":[{"introduced":"a8bd9e4cf636710dc7ce3af9d940bb4d91e660fc"},{"last_affected":"a8bd9e4cf636710dc7ce3af9d940bb4d91e660fc"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:treasuredata:fluent_bit:4.1.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.1.0"},{"last_affected":"4.1.0"}]}}],"versions":["4.1.0","v4.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12970.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}