NULL Pointer Dereference Affecting krb5-workstation package, versions <0:1.21.3-7.amzn2023.0.1


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.51% (40th 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-AMZN2023-KRB5WORKSTATION-16710384
  • published16 May 2026
  • disclosed28 Apr 2026

Introduced: 28 Apr 2026

CVE-2026-40355  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 krb5-workstation to version 0:1.21.3-7.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2026-1680.

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 Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

In MIT Kerberos 5 (aka krb5) before 1.22.3, there is a NULL pointer dereference 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, causing the process to terminate in parse_nego_message.

CVSS Base Scores

version 3.1