# Logrus is vulnerable to DoS when using Entry.Writer()

Advisory record · `GHSA-4f99-4q7p-p3gh`

- **Identifiers:** `GHSA-4f99-4q7p-p3gh` · `CVE-2025-65637` · `GO-2025-4188`
- **State:** Confirmed
- **Severity:** CVSS 7.5 High
- **Critical:** No
- **Weakness (CWE):** [CWE-400](https://cwe.mitre.org/data/definitions/400.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 4 Dec 2025
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 4 Dec 2025, 21:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `github.com/sirupsen/logrus` (Go): affected `<1.8.3 || >=1.9.0, <1.9.1 || >=1.9.2, <1.9.3`; fixed in `1.8.3`, `1.9.1`, `1.9.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Logrus (github.com/sirupsen/logrus) versions before 1.8.3, 1.9.0, and 1.9.2 are vulnerable when an application uses Entry.Writer() to log a single line longer than 64KB with no newline characters. The read fails, the writer pipe is closed, and Writer() becomes unusable, causing a denial of service. Upgrade to 1.8.3, 1.9.1, or 1.9.3 or later.

Written 1 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 7.5 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`, from ADP (CISA-ADP)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0067, the 52nd percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 4 Dec 2025, 19:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-65637)
- 31 Oct 2026, 14:14 UTC: First seen by agentprime
- 31 Oct 2026, 14:14 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-4f99-4q7p-p3gh)

## Sources

- [GitHub Advisory Database: GHSA-4f99-4q7p-p3gh](https://github.com/advisories/GHSA-4f99-4q7p-p3gh)
- [OSV: GHSA-4f99-4q7p-p3gh](https://osv.dev/vulnerability/GHSA-4f99-4q7p-p3gh)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-65637>
- <https://github.com/sirupsen/logrus/issues/1370>
- <https://github.com/sirupsen/logrus/pull/1376>
- <https://github.com/sirupsen/logrus/commit/6acd903758687c4a3db3c11701e6c414fcf1c1f7>
- <https://github.com/mjuanxd/logrus-dos-poc>
- <https://github.com/mjuanxd/logrus-dos-poc/blob/main/README.md>
- <https://github.com/sirupsen/logrus>
- <https://github.com/sirupsen/logrus/releases/tag/v1.8.3>
- <https://github.com/sirupsen/logrus/releases/tag/v1.9.1>
- <https://github.com/sirupsen/logrus/releases/tag/v1.9.3>
- <https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMSIRUPSENLOGRUS-5564391>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-4f99-4q7p-p3gh>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-4f99-4q7p-p3gh/>. Everything for agents: <https://agentprime.io/llms.txt>.
