Race Condition Affecting golang-src package, versions <0:1.27.4-3.el10_3


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.48% (43rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS10-GOLANGSRC-22952988
  • published25 Nov 2026
  • disclosed11 Nov 2026

Introduced: 11 Nov 2026

NewCVE-2026-97054  (opens in a new tab)
CWE-366  (opens in a new tab)

How to fix?

Upgrade Centos:10 golang-src to version 0:1.27.4-3.el10_3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-src package and not the golang-src package as distributed by Centos. See How to fix? for Centos:10 relevant fixed versions and status.

For HTTP/1 servers, when MaxBytesReader's limit is exceeded, "Connection: close" header is automatically set without synchronization, which might race with another header being set explicitly in the server handler. As a result, an HTTP/1 server that utilizes MaxBytesReader or MaxBytesHandler can crash due to runtime panic if its handler reads the request body concurrently with writing the response header.

CVSS Base Scores

version 3.1