CVE-2025-9820
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| gnutls-debugsource | errata.rockylinux.org | 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.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-dane | errata.rockylinux.org | 0: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++-debuginfo | errata.rockylinux.org | 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-debuginfo | errata.rockylinux.org | 0: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-utils | errata.rockylinux.org | 0: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-devel | errata.rockylinux.org | 0: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-debuginfo | errata.rockylinux.org | 0: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-fips | errata.rockylinux.org | 0: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 |
| gnutls | errata.rockylinux.org | 0: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.org | 0: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-debuginfo | errata.rockylinux.org | 0: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 4100 | Siemens | 5.0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 3.8.1, 3.8.2, 3.8.3 | ||
| Red Hat | Red Hat Enterprise Linux 10 | 0:3.8.10-3.el10_1 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:3.6.16-8.el8_10.5 |
| Red Hat | Red Hat Enterprise Linux 8 | 0:3.6.16-8.el8_10.5 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:3.8.3-10.el9_7 |
| Red Hat | Red Hat Enterprise Linux 9 | 0:3.8.3-10.el9_7 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-4.1777325677 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-4.1777325711 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-4.1777325710 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-3.1777325680 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-4.1777325709 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-4.1777325680 |
| Red Hat | RHEL-8 based Middleware Containers | 7.13.5-4.1777325708 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.18 | 1791459707 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.18 | 1791459711 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.18 | 1791459759 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.18 | 1789029076 |
| Red Hat | Cert Manager support for Red Hat OpenShift release 1.18 | 1791966259 |
| Red Hat | Red Hat Ceph Storage 8 | 1774002867 |
| Red Hat | Red Hat Discovery 2 | 1775668717 |
…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
- RHSA-2026:13812 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:3477 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:4188 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:4655 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:4943 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:5585 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:5606 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:7329 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:7477 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82347 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82354 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82372 vendor-advisoryx_refsource_REDHAT
- RHSA-2026:82857 vendor-advisoryx_refsource_REDHAT
- vdb-entryx_refsource_REDHAT
- RHBZ#2392528 issue-trackingx_refsource_REDHAT
- http://www.openwall.com/lists/oss-security/2025/11/20/2 url
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html url