Filebeat Beats has Buffer Overflow via Malformed Syslog Message or Malicious Tokenizer Pattern in Dissect Configuration

Description

Improper Validation of Specified Index, Position, or Offset in Input (CWE-1285) in Filebeat Syslog parser and the Libbeat Dissect processor can allow a user to trigger a Buffer Overflow (CAPEC-100) and cause a denial of service (panic/crash) of the Filebeat process via either a malformed Syslog message or a malicious tokenizer pattern in the Dissect configuration.

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2025-12-19 00:31:42 UTC
Updated
2025-12-19 21:04:12 UTC
GitHub reviewed
2025-12-19 21:04:09 UTC
NVD published
2025-12-18

EPSS Score

Score Percentile
0.06% 19.00%

CVSS Scores

Base score Version Severity Vector
6.5 3.1
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:A)
Attacker has to be nearby on the network—same office, same link, that vibe—not the whole wide internet.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.

Identifiers

CWEs

CWE id Name
CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
CWE-1284 Improper Validation of Specified Quantity in Input

Affected packages (5)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
go github.com/elastic/beats/v7 >= 7.7.0, < 8.19.9 8.19.9
go github.com/elastic/beats/v7 >= 9.0.0, < 9.1.9 9.1.9
go github.com/elastic/beats/v7 >= 9.2.0, < 9.2.3 9.2.3
go github.com/elastic/beats/v7 < 7.0.0-alpha2.0.20251204214633-dd3af18220bf 7.0.0-alpha2.0.20251204214633-dd3af18220bf
go github.com/elastic/beats <= 7.6.2

References

cvelogic Threat Intelligence