cve.bz

CVE-2024-26462

5.5 mediumExploit referenceEPSS 0.4%

Medium (5.5). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
Kerberos 5 (aka krb5) 1.21.2 contains a memory leak vulnerability in /krb5/src/kdc/ndr.c.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 38th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2025-03-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-401 Missing Release of Memory after Effective Lifetime
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26462 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26462?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26462?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-26462 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
mit:kerberos_51.21.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12krb51.20.1-2+deb12u3DEBIAN-CVE-2024-26462
Debian13, 14krb51.21.3-1DEBIAN-CVE-2024-26462
Ubuntu20.04:LTSkrb51.17-6ubuntu4.9USN-7314-1
Ubuntu22.04:LTSkrb51.19.2-2ubuntu0.6USN-7314-1
Ubuntu24.04:LTSkrb51.20.1-6ubuntu2.5UBUNTU-CVE-2024-26462 USN-7314-1
Red Hatenterprise_linux:9::appstreamkrb5-devel, krb5-debuginfo, krb5-debugsource and 6 more0:1.21.1-3.el9RHSA-2024:9331
Red Hatenterprise_linux:9::baseoskrb5, libkadm5, krb5-libs and 12 more0:1.21.1-3.el9RHSA-2024:9331
SUSELinux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5krb51.20.1-150500.3.6.1SUSE-SU-2024:0997-1
SUSELinux Micro 6.0krb51.20.1-5.1SUSE-SU-2025:20051-1
openSUSELeap 15.5krb51.20.1-150500.3.6.1SUSE-SU-2024:0997-1
openSUSETumbleweedkrb51.21.2-3.1openSUSE-SU-2024:13921-1
AlmaLinux9libkadm5, krb5-libs, krb5-devel and 4 more1.21.1-3.el9ALSA-2024:9331
Azure Linux3krb51.21.3-1AZL-35480
Alpaquita23krb51.20.2-r3BELL-CVE-2024-26462
Alpaquitastreamkrb51.21.3-r0BELL-CVE-2024-26462

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

In the file ndr.c, a struct named b is defined, and its address is passed to the function k5_buf_init_dynamic. Inside this function, b is referred to as buf, and the malloc function is used to allocate dynamic memory for buf->data. After k5_buf_init_dynamic completes and returns, if an if statement evaluates to true, the program returns. During this process, the memory allocated to b is not freed, leading to a memory leak defect.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9krb5-0:1.21.1-3.el9Fixed 2024-11-12RHSA-2024:9331
Red Hat Enterprise Linux 10krb5Not affected
Red Hat Enterprise Linux 6krb5Out of support scope
Red Hat Enterprise Linux 7krb5Out of support scope
Red Hat Enterprise Linux 8krb5Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-26462.

References

Check your stackJSON