CVE-2026-40356

krb5: MIT Kerberos 5 (krb5): Denial of Service via integer underflow and out-of-bounds read

Published Apr 28, 2026 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An integer underflow in the gss_accept_sec_context() function of MIT Kerberos 5 allows an unauthenticated attacker to trigger an out‑of‑bounds read when the NegoEx mechanism is registered via /etc/gss/mech. This can cause the process handling the request to terminate during parse_message, leading to a denial of service for the affected Kerberos service. The weakness is identified as CWE‑191, which describes integer conversion errors that may result in buffer overruns or truncation.

Affected Systems

The vulnerability impacts installations of MIT Kerberos 5 prior to version 1.22.3. Systems that load or register the NegoEx mechanism from /etc/gss/mech are susceptible, regardless of the specific Kerberos service (e.g., KDC, krb5kdc, or client authentication).

Risk and Exploitability

The CVSS score is 5.9, indicating a moderate severity. No EPSS score is available, but the vulnerability can be triggered without authentication over the network, implying that an attacker with network access to the Kerberos server could abuse it. The vulnerability is not listed in CISA KEV at this time, although the lack of exploitation evidence does not preclude future use. The surface is limited to machines configured with NegoEx; disabling that mechanism reduces risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Kerberos to version 1.22.3 or later, which contains the fix for the integer underflow.
  • If an upgrade is not immediately possible, remove the NegoEx mechanism entry from /etc/gss/mech or rename the directory so that the Kerberos libraries do not load it, thereby preventing the underflow condition.
  • After modifying configuration or updating the package, restart all Kerberos‑related services to ensure the changes take effect.

Generated by OpenCVE AI on April 28, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4603-1 krb5 security update
Ubuntu USN Ubuntu USN USN-8585-1 Kerberos vulnerabilities
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title krb5: MIT Kerberos 5 (krb5): Denial of Service via integer underflow and out-of-bounds read
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Description 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.
First Time appeared Mit
Mit kerberos 5
Weaknesses CWE-191
CPEs cpe:2.3:a:mit:kerberos_5:*:*:*:*:*:*:*:*
Vendors & Products Mit
Mit kerberos 5
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 28, 2026, 1:10 PM
Reserved
Apr 11, 2026, 12:00 AM
Status
Analyzed
Published
Apr 28, 2026, 7:16 AM
Modified
Oct 26, 2026, 10:10 PM
Severity
Important
Public date
Apr 28, 2026, 12:00 AM