CVE-2025-65637 Details
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.
A denial-of-service vulnerability has been identified in the Logrus logging library, specifically in versions prior to 1.8.3, as well as 1.9.0 and 1.9.2. The issue arises when the Entry.Writer() function is used to log a single-line message exceeding 64KB without any newline characters. This situation creates a conflict with the internal bufio.Scanner, which cannot process the oversized token, leading to the closure of the writer pipe. As a result, the Writer() function becomes unusable, causing application downtime.
Users can upgrade to Logrus versions 1.8.3, 1.9.1, or 1.9.3 and later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 5, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/mjuanxd/logrus-dos-poc | [email protected] | ExploitThird Party Advisory |
| https://github.com/mjuanxd/logrus-dos-poc/blob/main/README.md | [email protected] | ExploitThird Party Advisory |
| https://github.com/sirupsen/logrus/issues/1370 | [email protected] | ExploitIssue TrackingPatch |
| https://github.com/sirupsen/logrus/pull/1376 | [email protected] | Issue TrackingPatch |
| https://github.com/sirupsen/logrus/releases/tag/v1.8.3 | [email protected] | Release Notes |
| https://github.com/sirupsen/logrus/releases/tag/v1.9.1 | [email protected] | Release Notes |
| https://github.com/sirupsen/logrus/releases/tag/v1.9.3 | [email protected] | Release Notes |
| https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391 | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| turbopuffer logrus | < 1.8.3 1.9.0 1.9.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 4, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 23, 2025 | Initial Analysis | [email protected] |
| Dec 5, 2025 | CVE Modified | CISA-ADP |
| Dec 4, 2025 | New CVE Received | [email protected] |