VDB

CVE-2025-9820

CVE-2025-9820 PUBLISHED CVSS 4 MEDIUM

Gnutls: stack-based buffer overflow in gnutls_pkcs11_token_init() function

Reported by redhat · Published January 26, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gnutls-debugsourceerrata.rockylinux.org0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.i686, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.aarch64
gnutls-daneerrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.i686, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.i686, 0:3.6.16-8.el8_10.5.aarch64
gnutls-c++-debuginfoerrata.rockylinux.org0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.i686, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.i686
gnutls-debuginfoerrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.i686, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.aarch64
gnutls-utilserrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.aarch64
gnutls-develerrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.i686, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.i686, 0:3.6.16-8.el8_10.5.aarch64
gnutls-dane-debuginfoerrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.i686, 0:3.8.3-10.el9_7.aarch64, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.i686
gnutls-fipserrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.10-3.el10_1.aarch64
gnutlserrata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.src, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.aarch64, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.src, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.i686, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.src, 0:3.6.16-8.el8_10.5.i686, 0:3.6.16-8.el8_10.5.aarch64
gnutls-c++errata.rockylinux.org0:3.8.10-3.el10_1.x86_64, 0:3.8.10-3.el10_1.s390x, 0:3.8.10-3.el10_1.ppc64le, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.i686, 0:3.6.16-8.el8_10.5.x86_64, 0:3.6.16-8.el8_10.5.i686
gnutls-utils-debuginfoerrata.rockylinux.org0:3.8.10-3.el10_1.s390x, 0:3.8.3-10.el9_7.x86_64, 0:3.8.3-10.el9_7.s390x, 0:3.8.3-10.el9_7.ppc64le, 0:3.8.3-10.el9_7.aarch64
SIMATIC CN 4100Siemens5.0

Risk scores

CVSS 3.1
4
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
3.8.1, 3.8.2, 3.8.3
Red HatRed Hat Enterprise Linux 100:3.8.10-3.el10_1
Red HatRed Hat Enterprise Linux 80:3.6.16-8.el8_10.5
Red HatRed Hat Enterprise Linux 80:3.6.16-8.el8_10.5
Red HatRed Hat Enterprise Linux 90:3.8.3-10.el9_7
Red HatRed Hat Enterprise Linux 90:3.8.3-10.el9_7
Red HatRHEL-8 based Middleware Containers7.13.5-4.1777325677
Red HatRHEL-8 based Middleware Containers7.13.5-4.1777325711
Red HatRHEL-8 based Middleware Containers7.13.5-4.1777325710
Red HatRHEL-8 based Middleware Containers7.13.5-3.1777325680
Red HatRHEL-8 based Middleware Containers7.13.5-4.1777325709
Red HatRHEL-8 based Middleware Containers7.13.5-4.1777325680
Red HatRHEL-8 based Middleware Containers7.13.5-4.1777325708
Red HatCert Manager support for Red Hat OpenShift release 1.181791459707
Red HatCert Manager support for Red Hat OpenShift release 1.181791459711
Red HatCert Manager support for Red Hat OpenShift release 1.181791459759
Red HatCert Manager support for Red Hat OpenShift release 1.181789029076
Red HatCert Manager support for Red Hat OpenShift release 1.181791966259
Red HatRed Hat Ceph Storage 81774002867
Red HatRed Hat Discovery 21775668717

…and 44 more

Timeline

  • Nov 19, 2025 CVE Published
  • Jan 27, 2026 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2026 Distribution Patch (23 in total, the first dated here)
  • Mar 25, 2026 Security Advisory (24 in total, the first dated here)
  • Mar 26, 2026 Coalition ESS Score (2 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-9820
vulnetix vdb fixes CVE-2025-9820

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-9820/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›