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 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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- < 1.8.3
Fixed in 1.8.3
from GitHub Security Advisory GHSA-4f99-4q7p-p3gh
- >= 1.9.0, < 1.9.1
Fixed in 1.9.1
from GitHub Security Advisory GHSA-4f99-4q7p-p3gh
- >= 1.9.2, < 1.9.3
Fixed in 1.9.3
from GitHub Security Advisory GHSA-4f99-4q7p-p3gh
Mitigation
Upgrade github.com/sirupsen/logrus to 1.8.3 or later.
Upgrade github.com/sirupsen/logrus to 1.9.1 or later.
Upgrade github.com/sirupsen/logrus to 1.9.3 or later.
References
- Patch github.com/sirupsen/logrus/pull/1376
- Release notes github.com/sirupsen/logrus/releases/tag/v1.8.3
- Release notes github.com/sirupsen/logrus/releases/tag/v1.9.1
1 more
- Release notes github.com/sirupsen/logrus/releases/tag/v1.9.3
Timeline
Days relative to CVE publicationPublic PoC known, its date not yet looked up; not in CISA KEV.
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| mjuanxd/logrus-dos-poc | 7 Nov 2025 −26 d | 2 | PoC older repo: PoC date unknown, not used for the first PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| PoC Index | https://github.com/mjuanxd/logrus-dos-poc/blob/main/README.md | unknown | 14 Nov 2026 |