Integer Underflow Affecting krb5-libs package, versions <0:1.18.2-34.el8_10


Severity

Recommended
high

Based on CentOS security rating.

Threat Intelligence

EPSS
0.6% (46th 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-CENTOS8-KRB5LIBS-16321844
  • published29 Apr 2026
  • disclosed28 Apr 2026

Introduced: 28 Apr 2026

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

How to fix?

Upgrade Centos:8 krb5-libs to version 0:1.18.2-34.el8_10 or higher.

NVD Description

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

In MIT Kerberos 5 (aka krb5) before 1.22.3, there is an integer underflow and resultant out-of-bounds read if an application calls gss_accept_sec_context() on a system with a NegoEx mechanism registered in /etc/gss/mech. An unauthenticated remote attacker can trigger this, possibly causing the process to terminate in parse_message.

CVSS Base Scores

version 3.1