Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹 Go
Not in CISA KEV

GHSA-4f99-4q7p-p3gh logrus

Fix: sirupsen/logrus#1376

GHSA-4f99-4q7p-p3gh is a Uncontrolled Resource Consumption vulnerability in github.com/sirupsen/logrus. A fix is available for github.com/sirupsen/logrus — see the affected versions and patch details below.

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

Also known asCVE-2025-65637GO-2025-4188
Published
Dec 4, 2025
Updated
Sep 10, 2026
Affected
3 pkgs
Patched
3 / 3
Exploits
None indexed
Exploitation data as of Sep 19, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-4f99-4q7p-p3gh.

EPSS Exploitation Probability

via FIRST.org ↗
0.6%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs49th percentile — riskier than 49% of all scored CVEsHighest risk

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Real-World Exposure

3 pkgs affected
🐹github.com/sirupsen/logrus🐹github.com/sirupsen/logrus🐹github.com/sirupsen/logrus

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

3 total 3 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/sirupsen/logrusall versions1.8.3go get github.com/sirupsen/logrus@v1.8.3
🐹Gogithub.com/sirupsen/logrus1.9.0&&< 1.9.11.9.1go get github.com/sirupsen/logrus@v1.9.1
🐹Gogithub.com/sirupsen/logrus1.9.2&&< 1.9.31.9.3go get github.com/sirupsen/logrus@v1.9.3

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/sirupsen/logrus, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/sirupsen/logrus to 1.8.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-4f99-4q7p-p3gh is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 Security's impact-aware SCA analyses which vulnerable code paths your application actually calls, so a match like GHSA-4f99-4q7p-p3gh can be triaged on real exposure rather than presence alone.

Tailored to GHSA-4f99-4q7p-p3gh. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

This vulnerability is categorized as Moderate because its impact is limited to the logging subsystem and requires a specific, non-default usage pattern to trigger—namely, sending a single unbounded line exceeding 64KB through Entry.Writer(). Most Logrus deployments do not expose this interface directly to…

ProductFixed inAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8100020260204142227.afee755dRHSA-2026:3428
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportcontainer-tools:rhel8-8060020260422144418.ad008a3aRHSA-2026:10703
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportosbuild-composer-0:46.3-5.el8_6RHSA-2026:2687
Red Hat Enterprise Linux 8.8 Telecommunications Update Serviceosbuild-composer-0:75-6.el8_8RHSA-2026:2685
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicecontainer-tools:rhel8-8080020260226135022.63b34585RHSA-2026:4693
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicecontainer-tools:rhel8-8080020260325222945.63b34585RHSA-2026:6191
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsoci-seccomp-bpf-hook-0:1.2.10-1.el9_0RHSA-2026:15940
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutionsskopeo-2:1.8.0-4.1.el9_0.3RHSA-2026:15941

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-4f99-4q7p-p3gh in your dependencies?

O3 Security finds GHSA-4f99-4q7p-p3gh across Go dependencies, including transitive ones, and its impact-aware SCA ranks findings by whether your code actually calls the vulnerable path.

GHSA-4f99-4q7p-p3gh: logrus DoS | O3 Security