CVE-2025-65637

A denial-of-service vulnerability exists in github.com/sirupsen/logrus when using Entry.Writer() to log a single-line payload larger than 64KB without newline…

High · published December 4, 2025

CVSS v3.1
7.5
EPSS
1%
Percentile
49.5
In the wild
Unconfirmed
What it is

⚡ A single oversized log entry can cripple your application! The logrus package can't handle a massive one-liner beyond 64KB, leading to a Denial-of-Service situation. 🔥 Think of it like a restaurant trying to serve a gigantic order with no room to slice it up — when a single dish exceeds the capacity of the kitchen, the whole operation grinds to a halt! If you log a payload too large, the application becomes unavailable. An attacker could exploit this by flooding your logs with enormous entries, effectively shutting down your service and leaving users in the dark. This can be absolutely devastating for your application's reliability!

Put simply

Think of it like a restaurant trying to serve a gigantic order with no room to slice it up — when a single dish exceeds the capacity of the kitchen, the whole operation grinds to a halt! The vulnerability in logrus occurs when using Entry.Writer() to log excessively large single-line payloads. The internal bufio.Scanner fails to process the input and closes the writer pipe, making it unusable until the application is restarted.

What to do

If you log a payload too large, the application becomes unavailable. An attacker could exploit this by flooding your logs with enormous entries, effectively shutting down your service and leaving users in the dark. This can be absolutely devastating for your application's reliability! Upgrade your logrus version to 1.8.3, 1.9.1, or 1.9.3+ immediately to patch this vulnerability. Additionally, consider implementing input length validation to protect against future log overloads. You've got this! With a quick update, you'll keep your application running smoothly and securely. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00630 · 49.5th percentile
Published
2025-12-04T00:00Z
EPSS history
Timeline
  • 04 DEC 00:00Z
    A denial-of-service vulnerability exists in github.com/sirupsen/logrus when using Entry.Writer() to log a single-line payload larger than 64KB without newline…
    cvelistv5