CVE-2025-65637

Updated on 04 Dec 2025

Severity

7.5 High severity

Details

CVSS score
7.5
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Overview

About vulnerability

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.

Details

Affected product:
AlmaLinux 9.2 ESU , Azure/azure-event-hubs-go , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , Grafana , Loki , MinIO , TuxCare 9.6 ESU , census-ecosystem/opencensus-go-exporter-prometheus/prometheus , centrifugal/centrifuge , contrib.go.opencensus.io/exporter/prometheus , cortexproject/cortex , dhui/dktest , etcd-io/etcd , etcd-io/etcd/server , github.com/Azure/azure-event-hubs-go , github.com/Microsoft/go-winio , github.com/centrifugal/centrifuge , github.com/cortexproject/cortex , github.com/dhui/dktest , github.com/go-kit/kit , github.com/go-openapi/analysis , github.com/go-openapi/loads , github.com/go-openapi/runtime , github.com/go-openapi/strfmt , github.com/go-openapi/validate , github.com/gobuffalo/genny , github.com/gobuffalo/packr , github.com/golang-migrate/migrate , github.com/grpc-ecosystem/go-grpc-middleware , github.com/hashicorp/consul , github.com/hashicorp/go-discover , github.com/influxdata/telegraf , github.com/prometheus/alertmanager , github.com/prometheus/client_golang , github.com/prometheus/common , github.com/prometheus/prometheus , github.com/prometheus/statsd_exporter , github.com/sirupsen/logrus , github.com/spf13/cobra , github.com/spf13/viper , github.com/weaveworks/common , go-kit/kit , go-openapi/analysis , go-openapi/loads , go-openapi/runtime , go-openapi/strfmt , go-openapi/validate , go.etcd.io/etcd , go.etcd.io/etcd/server , go.mongodb.org/mongo-driver , go.opentelemetry.io/collector , gobuffalo/genny , gobuffalo/packr , goftp/server , golang-migrate/migrate , grpc-ecosystem/go-grpc-middleware , hashicorp/consul , hashicorp/go-discover , influxdata/telegraf , microsoft/go-winio , mongodb/mongo-go-driver , open-telemetry/opentelemetry-collector , prometheus/alertmanager , prometheus/client_golang , prometheus/common , prometheus/prometheus , prometheus/statsd_exporter , sirupsen/logrus , spf13/cobra , spf13/viper , weaveworks/common
Affected packages:
github.com/sirupsen/logrus @ 1.7.0 (+98 more)
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.

Fixes