cve.bz

CVE-2024-26458

5.3 mediumExploit referenceEPSS 0.8%

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

On this page
Kerberos 5 (aka krb5) 1.21.2 contains a memory leak in /krb5/src/lib/rpc/pmap_rmt.c.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
0.8% (unchanged from 0.8% a week ago; 0.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 58th percentile. Scored 2026-11-24. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-02-29. 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
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-26458 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-26458?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-26458?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-26458 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
Debian12, 13krb5no fix listedDEBIAN-CVE-2024-26458
Debian14krb51.22.1-2DEBIAN-CVE-2024-26458
Ubuntu20.04:LTSkrb51.17-6ubuntu4.9UBUNTU-CVE-2024-26458 USN-7314-1
Ubuntu22.04:LTSkrb51.19.2-2ubuntu0.6UBUNTU-CVE-2024-26458 USN-7314-1
Ubuntu24.04:LTSkrb51.20.1-6ubuntu2.5UBUNTU-CVE-2024-26458 USN-7314-1
Ubuntu25.10krb51.21.3-4ubuntu2UBUNTU-CVE-2024-26458
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSkrb5no fix listedUBUNTU-CVE-2024-26458
Red Hatenterprise_linux:8::baseoskrb5, libkadm5, krb5-libs and 14 more0:1.18.2-27.el8_10RHSA-2024:3268
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
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise Micro 5.1 and 3 morekrb51.19.2-150300.16.1SUSE-SU-2024:1001-1
SUSELinux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP2-LTSS, Linux Enterprise Server for SAP Applications 15 SP2krb51.16.3-150100.3.33.1SUSE-SU-2024:0999-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 morekrb51.19.2-150400.3.9.1SUSE-SU-2024:1006-1
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 Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5krb51.16.3-46.6.1SUSE-SU-2024:1148-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
openSUSELeap Micro 5.3, Leap Micro 5.4krb51.19.2-150400.3.9.1SUSE-SU-2024:1006-1
openSUSETumbleweedkrb51.21.2-3.1openSUSE-SU-2024:13921-1
AlmaLinux8libkadm5, krb5-libs, krb5-devel and 4 more1.18.2-27.el8_10ALSA-2024:3268
AlmaLinux9libkadm5, krb5-libs, krb5-devel and 4 more1.21.1-3.el9ALSA-2024:9331
Rocky Linux8krb50:1.18.2-27.el8_10RLSA-2024:3268
Azure Linux2krb51.19.4-3AZL-35455
Azure Linux3krb51.21.3-2AZL-35479
Alpaquita23krb51.20.2-r3BELL-CVE-2024-26458
Alpaquita25, streamkrb51.21.3-r1BELL-CVE-2024-26458

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; Rocky Linux's errata, BSD-3-Clause; 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 Low.

Red Hat's statement

In pmap_rmt.c, a variable named port_ptr is defined and its address is passed to gssrpc_xdr_reference, where it is called pp. The program uses the macro mem_alloc (which refers to malloc) to allocate dynamic memory for pp. After allocation, if the xdr_u_int32(xdrs, &crp->resultslen) call within the if condition returns false, the overall if statement evaluates to false. The program then returns without using or freeing the memory allocated to port_ptr, resulting in a memory leak.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8krb5-0:1.18.2-27.el8_10Fixed 2024-05-22RHSA-2024:3268
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

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-26458.

References

Check your stackJSON