cve.bz

CVE-2025-9820 Stack-based Buffer Overflow

4.0 mediumEPSS 0.2%Fix available

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

On this page
A flaw was found in the GnuTLS library, specifically in the gnutls_pkcs11_token_init() function that handles PKCS#11 token initialization. When a token label longer than expected is processed, the function writes past the end of a fixed-size stack buffer. This programming error can cause the application using GnuTLS to crash or, in certain conditions, be exploited for code execution. As a result, systems or applications relying on GnuTLS may be vulnerable to a denial of service or local privilege escalation attacks.

Severity

CVSS 3.1

4.0 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 13th percentile. Scored 2026-11-22. 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 2026-01-26. 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-121 Stack-based Buffer Overflow
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:3.8.10-3.el10_1
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:3.6.16-8.el8_10.5
  • Red Hat Red Hat Enterprise Linux 9: fixed in 0:3.8.3-10.el9_7
  • Red Hat RHEL-8 based Middleware Containers: fixed in 7.13.5-4.1777325677
  • Red Hat RHEL-8 based Middleware Containers: fixed in 7.13.5-4.1777325711
  • Red Hat RHEL-8 based Middleware Containers: fixed in 7.13.5-4.1777325710
  • Red Hat RHEL-8 based Middleware Containers: fixed in 7.13.5-3.1777325680
  • Red Hat RHEL-8 based Middleware Containers: fixed in 7.13.5-4.1777325709
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2025-9820 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-9820?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-9820?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-2025-9820 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.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:3.8.10-3.el10_1
Red Hat Enterprise Linux 80:3.6.16-8.el8_10.5
Red Hat Enterprise Linux 90:3.8.3-10.el9_7
Red Hat RHEL-8 based Middleware Containers7.13.5-4.1777325677
Red Hat RHEL-8 based Middleware Containers7.13.5-4.1777325711
Red Hat RHEL-8 based Middleware Containers7.13.5-4.1777325710
Red Hat RHEL-8 based Middleware Containers7.13.5-3.1777325680
Red Hat RHEL-8 based Middleware Containers7.13.5-4.1777325709
Red Hat RHEL-8 based Middleware Containers7.13.5-4.1777325680
Red Hat RHEL-8 based Middleware Containers7.13.5-4.1777325708
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459707
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459711
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459759
Red Hat Cert Manager support for Red Hat OpenShift release 1.181789029076
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791966259
Red Hat Ceph Storage 81774002867
Red Hat Discovery 21775668717
Red Hat Discovery 21775675922
Red Hat Hardened Images3.8.12-1.1.hum1
Red Hat Insights proxy 1.51773685509
Red Hat Update Infrastructure 51773670073
Red Hat Update Infrastructure 51773672059
Red Hat Update Infrastructure 51773668803
Red Hat Update Infrastructure 51773670137

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gnutls283.7.1-5+deb11u9DLA-4492-1
Debian12gnutls283.7.9-2+deb12u6DEBIAN-CVE-2025-9820
Debian13gnutls283.8.9-3+deb13u1DEBIAN-CVE-2025-9820
Debian14gnutls283.8.11-3DEBIAN-CVE-2025-9820
Ubuntu22.04:LTSgnutls283.7.3-4ubuntu1.8UBUNTU-CVE-2025-9820 USN-8043-1
Ubuntu24.04:LTSgnutls283.8.3-1.1ubuntu3.5UBUNTU-CVE-2025-9820 USN-8043-1
Ubuntu25.10gnutls283.8.9-3ubuntu2.1UBUNTU-CVE-2025-9820 USN-8043-1
UbuntuPro:16.04:LTSgnutls283.4.10-4ubuntu1.9+esm3UBUNTU-CVE-2025-9820 USN-8502-1
UbuntuPro:18.04:LTSgnutls283.5.18-1ubuntu1.6+esm3UBUNTU-CVE-2025-9820 USN-8502-1
UbuntuPro:20.04:LTSgnutls283.6.13-2ubuntu1.12+esm2UBUNTU-CVE-2025-9820 USN-8502-1
UbuntuPro:FIPS-preview:22.04:LTSgnutls28no fix listedUBUNTU-CVE-2025-9820
UbuntuPro:FIPS-updates:22.04:LTSgnutls283.7.3-4ubuntu1.8+Fips1.1UBUNTU-CVE-2025-9820
UbuntuPro:FIPS-updates:24.04:LTSgnutls283.8.3-1.1ubuntu3.5+Fips1.1UBUNTU-CVE-2025-9820
Red Hatenterprise_linux:8::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-8.el8_10.5RHSA-2026:5585
Red Hatenterprise_linux:8::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.6.16-8.el8_10.5RHSA-2026:5585
Red Hatenterprise_linux:9::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.8.3-10.el9_7RHSA-2026:4188
Red Hatenterprise_linux:9::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.8.3-10.el9_7RHSA-2026:4188
Red Hatenterprise_linux:10.1gnutls, gnutls-c++, gnutls-dane and 8 more0:3.8.10-3.el10_1RHSA-2026:3477
Red Hathummingbird:1gnutls, gnutls-c++, gnutls-dane and 5 more0:3.8.12-1.1.hum1RHSA-2026:7477
SUSELinux Enterprise Micro 5.2gnutls3.6.7-150200.14.40.1SUSE-SU-2025:4272-1
SUSELinux Enterprise Micro 5.3gnutls3.7.3-150400.19.1SUSE-SU-2025:4271-1
SUSELinux Enterprise Micro 5.4, Linux Enterprise Micro 5.5gnutls3.7.3-150400.4.53.1SUSE-SU-2025:4525-1
SUSELinux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7gnutls3.8.3-150600.4.12.1SUSE-SU-2025:4323-1
SUSELinux Enterprise Server 12 SP5-LTSS, Linux Enterprise Server LTSS Extended Security 12 SP5gnutls3.3.27-3.18.1SUSE-SU-2026:2367-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0gnutls3.8.10-160000.2.1SUSE-SU-2026:20984-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5gnutls3.3.27-3.15.1SUSE-SU-2025:4346-1
SUSELinux Micro 6.0gnutls3.8.3-5.1SUSE-SU-2025:21202-1
SUSELinux Micro 6.1gnutls3.8.3-slfo.1.1_5.1SUSE-SU-2025:21222-1
SUSELinux Micro 6.2gnutls3.8.10-160000.2.1SUSE-SU-2026:20962-1 SUSE-SU-2026:20968-1
openSUSELeap 15.6gnutls3.8.3-150600.4.12.1SUSE-SU-2025:4323-1
openSUSELeap 16.0gnutls3.8.10-160000.2.1openSUSE-SU-2026:20446-1
openSUSETumbleweedgnutls3.8.11-1.1openSUSE-SU-2025:15765-1
AlmaLinux8gnutls, gnutls-c++, gnutls-dane and 2 more3.6.16-8.el8_10.5ALSA-2026:5585
AlmaLinux9gnutls, gnutls-c++, gnutls-dane and 2 more3.8.3-10.el9_7ALSA-2026:4188
AlmaLinux10gnutls, gnutls-c++, gnutls-dane and 3 more3.8.10-3.el10_1ALSA-2026:3477
Rocky Linux8gnutls0:3.6.16-8.el8_10.5RLSA-2026:5585
Rocky Linux9gnutls0:3.8.3-10.el9_7RLSA-2026:4188
Rocky Linux10gnutls0:3.8.10-3.el10_1RLSA-2026:3477
Alpinev3.20, v3.21, v3.22gnutls3.8.12-r0ALPINE-CVE-2025-9820
Alpinev3.23, v3.24gnutls3.8.11-r0ALPINE-CVE-2025-9820
Azure Linux2gnutls3.7.11-6AZL-75258
Azure Linux3gnutls3.8.3-8AZL-75261
Alpaquita23gnutls3.7.11-r1BELL-CVE-2025-9820
Alpaquita25, streamgnutls3.8.11-r0BELL-CVE-2025-9820

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; the Alpine secdb, CC BY-SA 4.0; 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 · Alpine · Alpaquita.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The Red Hat Product Security team has assessed the severity of this vulnerability as Low, since exploitation requires local access or a malicious PKCS#11 token. While the impact is limited to denial of service or potential code execution in constrained scenarios, the vulnerability stems from a lack of proper bounds checking during token label handling in GnuTLS. Users should treat this as a security concern in environments where untrusted tokens may be introduced.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Applying the upstream patch or vendor-supplied security update is the recommended resolution.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gnutls-0:3.8.10-3.el10_1Fixed 2026-03-02RHSA-2026:3477
Red Hat Enterprise Linux 8gnutls-0:3.6.16-8.el8_10.5Fixed 2026-03-24RHSA-2026:5585
Red Hat Enterprise Linux 9gnutls-0:3.8.3-10.el9_7Fixed 2026-03-10RHSA-2026:4188
RHEL-8 based Middleware Containersrhpam-7/rhpam-businesscentral-monitoring-rhel8:7.13.5-4.1777325677Fixed 2026-05-05RHSA-2026:13812
RHEL-8 based Middleware Containersrhpam-7/rhpam-businesscentral-rhel8:7.13.5-4.1777325711Fixed 2026-05-05RHSA-2026:13812
RHEL-8 based Middleware Containersrhpam-7/rhpam-controller-rhel8:7.13.5-4.1777325710Fixed 2026-05-05RHSA-2026:13812
RHEL-8 based Middleware Containersrhpam-7/rhpam-dashbuilder-rhel8:7.13.5-3.1777325680Fixed 2026-05-05RHSA-2026:13812
RHEL-8 based Middleware Containersrhpam-7/rhpam-kieserver-rhel8:7.13.5-4.1777325709Fixed 2026-05-05RHSA-2026:13812
RHEL-8 based Middleware Containersrhpam-7/rhpam-process-migration-rhel8:7.13.5-4.1777325680Fixed 2026-05-05RHSA-2026:13812
RHEL-8 based Middleware Containersrhpam-7/rhpam-smartrouter-rhel8:7.13.5-4.1777325708Fixed 2026-05-05RHSA-2026:13812
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/jetstack-cert-manager-rhel9:1791459711Fixed 2026-10-13RHSA-2026:82347
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-istio-csr-rhel9:1791459759Fixed 2026-10-13RHSA-2026:82354
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-rhel9:1789029076Fixed 2026-10-13RHSA-2026:82372
Cert Manager support for Red Hat OpenShift release 1.18cert-manager/cert-manager-operator-bundle:1791966259Fixed 2026-10-14RHSA-2026:82857
Red Hat Ceph Storage 8rhceph/rhceph-8-rhel9:1774002867Fixed 2026-03-24RHSA-2026:5606
Red Hat Enterprise Linux 6gnutlsFix deferred
Red Hat Enterprise Linux 7gnutlsFix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
8 more in the JSON and on Red Hat's page.

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-2025-9820.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-134-10Siemens SIMATIC2026-05-12Critical ManufacturingSIMATIC CN 4100none listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON