flb_gzip_compress in flb_gzip.c in Fluent Bit before 1.6.4 has an out-of-bounds write because it does not use the correct calculation of the maximum gzip data-size expansion.Referenceshttps://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27261https://fluentbit.io/announcements/v1.6.4/https://github.com/fluent/fluent-bit/commit/cadff53c093210404aed01c4cf586adb8caa07af