# CVE-2025-65637: Logrus is vulnerable to DoS when using Entry.Writer()

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 4 links below, marked "exploit"
- Published: 2025-12-04T00:00:00.000Z
- Modified: 2026-11-04T22:10:00.210Z
- Also known as: GHSA-4f99-4q7p-p3gh, GO-2025-4188
- Related: CGA-pv49-fpjj-2w94
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/sirupsen/logrus (Go): before 1.8.3; from 1.9.0 before 1.9.1; from 1.9.2 before 1.9.3
- turbopuffer logrus: before 1.8.3; 1.9.0; 1.9.2

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/mjuanxd/logrus-dos-poc> (exploit, third-party-advisory, web)
- <https://github.com/sirupsen/logrus/issues/1370> (exploit, issue-tracking, patch, report, web)
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391> (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/pull/1376> (fix, issue-tracking, patch, web)
- <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://nvd.nist.gov/vuln/detail/CVE-2025-65637> (advisory)
- <https://github.com/sirupsen/logrus/commit/6acd903758687c4a3db3c11701e6c414fcf1c1f7> (fix, web)
- <https://github.com/sirupsen/logrus> (package)
- <https://github.com/advisories/GHSA-4f99-4q7p-p3gh> (advisory)

## Sources

- CVE List: [CVE-2025-65637](https://www.cve.org/CVERecord?id=CVE-2025-65637), CVE Terms of Use, modified 2025-12-05
- GitHub Advisory Database: [GHSA-4f99-4q7p-p3gh](https://github.com/advisories/GHSA-4f99-4q7p-p3gh), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-4188](https://pkg.go.dev/vuln/GO-2025-4188), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-65637](https://nvd.nist.gov/vuln/detail/CVE-2025-65637), Public domain, modified 2026-11-04

---

Page: https://cve.day/CVE-2025-65637 · Whole record: https://cve.day/CVE-2025-65637.json · Rebuilt by cve.day 2026-11-25T22:59:08.292Z
