Advisory

UBUNTU-CVE-2026-40356

Also known as: CVE-2026-40356

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 5.9, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-04-28 07:16 UTC
Modified
2026-08-05 11:30 UTC

Affected packages and fixes

krb5

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 1.19.2-2ubuntu0.8 (ecosystem)

Fixed versions

1.19.2-2ubuntu0.8

Fix

  • Fixed version 1.19.2-2ubuntu0.8
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

krb5

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1.20.1-6ubuntu2.7 (ecosystem)

Fixed versions

1.20.1-6ubuntu2.7

Fix

  • Fixed version 1.20.1-6ubuntu2.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

krb5

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

krb5

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1.22.1-2ubuntu4.1 (ecosystem)

Fixed versions

1.22.1-2ubuntu4.1

Fix

  • Fixed version 1.22.1-2ubuntu4.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences