CVE-2025-65637
HIGH 7.5CVSS 3.1Logrus is vulnerable to DoS when using Entry.Writer()
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.
- Published
- 4 Dec 2025
- Last modified
- 4 Nov 2026
- Assigned by
- cve@mitre.org
- NVD status
- Analyzed
- Weakness
- CWE-400
- Also known as
- GHSA-4f99-4q7p-p3ghGO-2025-4188
- Sources
- NVDJSONOSV GHSA-4f99-4q7p-p3ghJSONOSV GO-2025-4188JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | turbopuffer | logruscpe:2.3:a:turbopuffer:logrus:*:*:*:*:*:go:*:* |
< 1.8.3 | 1.8.3 |
| NVD | turbopuffer | logruscpe:2.3:a:turbopuffer:logrus:1.9.0:*:*:*:*:go:*:* |
= 1.9.0 | |
| NVD | turbopuffer | logruscpe:2.3:a:turbopuffer:logrus:1.9.2:*:*:*:*:go:*:* |
= 1.9.2 | |
| OSV | Go | github.com/sirupsen/logrus | < 1.8.3 | 1.8.3 |
| OSV | Go | github.com/sirupsen/logrus | >= 1.9.0, < 1.9.1 | 1.9.1 |
| OSV | Go | github.com/sirupsen/logrus | >= 1.9.2, < 1.9.3 | 1.9.3 |
| OSV | Go | github.com/sirupsen/logrus | < 1.8.3; >= 1.9.0, < 1.9.1; >= 1.9.2, < 1.9.3 | 1.8.3, 1.9.1, 1.9.3 |
References
- https://github.com/mjuanxd/logrus-dos-poc · Exploit, Third Party Advisory, WEB
- https://github.com/mjuanxd/logrus-dos-poc/blob/main/README.md · Exploit, Third Party Advisory, WEB
- https://github.com/sirupsen/logrus/issues/1370 · Exploit, Issue Tracking, Patch, WEB, REPORT
- https://github.com/sirupsen/logrus/pull/1376 · Issue Tracking, Patch, WEB, FIX
- https://github.com/sirupsen/logrus/releases/tag/v1.8.3 · Release Notes, WEB
- https://github.com/sirupsen/logrus/releases/tag/v1.9.1 · Release Notes, WEB
- https://github.com/sirupsen/logrus/releases/tag/v1.9.3 · Release Notes, WEB
- https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-65637 · ADVISORY
- https://github.com/sirupsen/logrus/commit/6acd903758687c4a3db3c11701e6c414fcf1c1f7 · WEB, FIX
- https://github.com/sirupsen/logrus · PACKAGE
- https://github.com/advisories/GHSA-4f99-4q7p-p3gh · ADVISORY
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 4 Dec 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 15 Dec 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 4 Dec 2025)