Integer Underflow (Wrap or Wraparound) Affecting krb5 package, versions [0,]


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.1% (28th 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-CONAN-KRB5-16321399
  • published29 Apr 2026
  • disclosed28 Apr 2026
  • creditCem Onat Karagun

Introduced: 28 Apr 2026

NewCVE-2026-40356  (opens in a new tab)
CWE-191  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Integer Underflow (Wrap or Wraparound) in the parse_message() function when the NegoEx mechanism is registered in /etc/gss/mech. An attacker can cause process termination by sending specially crafted requests with a short header_len that trigger an integer underflow and out-of-bounds read.

CVSS Base Scores

version 4.0
version 3.1