CVE-2025-65637

7.5 HIGH
Published: December 04, 2025 Modified: December 23, 2025

Description

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 characters. Due to limitations in the internal bufio.Scanner, the read fails with "token too long" and the writer pipe is closed, leaving Writer() unusable and causing application unavailability (DoS). This affects versions < 1.8.3, 1.9.0, and 1.9.2. The issue is fixed in 1.8.3, 1.9.1, and 1.9.3+, where the input is chunked and the writer continues to function even if an error is logged.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/mjuanxd/logrus-dos-poc
Source: cve@mitre.org
Exploit Third Party Advisory
https://github.com/mjuanxd/logrus-dos-poc/blob/main/README.md
Source: cve@mitre.org
Exploit Third Party Advisory
https://github.com/sirupsen/logrus/issues/1370
Source: cve@mitre.org
Exploit Issue Tracking Patch
https://github.com/sirupsen/logrus/pull/1376
Source: cve@mitre.org
Issue Tracking Patch
https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391
Source: cve@mitre.org
Exploit Third Party Advisory

8 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
0.0%
5th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

turbopuffer