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


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.78% (55th 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-ALMALINUX8-KRB5WORKSTATION-16711775
  • published16 May 2026
  • disclosed19 May 2026

Introduced: 16 May 2026

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

How to fix?

Upgrade AlmaLinux:8 krb5-workstation to version 0:1.18.2-34.el8_10 or higher.
This issue was patched in ALSA-2026:16799.

NVD Description

Note: Versions mentioned in the description apply only to the upstream krb5-workstation package and not the krb5-workstation package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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