CVE-2025-9820
Gnutls: stack-based buffer overflow in gnutls_pkcs11_token_init() function
- State
- Published
- Severity
- 4.0 Medium
- Published
- Jan 26, 2026
- Updated
- Oct 14, 2026
- Reserved
- Sep 2, 2025
Description
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.0 Medium | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | redhat |
Weaknesses
- CWE-121 Stack-based Buffer Overflow
Affected Products
| Product | Versions |
|---|---|
gnutls |
|
Red Hat Enterprise Linux 10Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 8Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
Red Hat Enterprise Linux 9Red Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
RHEL-8 based Middleware ContainersRed Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Cert Manager support for Red Hat OpenShift release 1.18Red Hat |
|
Red Hat Ceph Storage 8Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Discovery 2Red Hat |
|
Red Hat Hardened ImagesRed Hat |
|
Red Hat Insights proxy 1.5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Update Infrastructure 5Red Hat |
|
Red Hat Enterprise Linux 6Red Hat | |
Red Hat Enterprise Linux 7Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat | |
Red Hat OpenShift Container Platform 4Red Hat |
References
- RHSA-2026:13812vendor-advisory
- RHSA-2026:3477vendor-advisory
- RHSA-2026:4188vendor-advisory
- RHSA-2026:4655vendor-advisory
- RHSA-2026:4943vendor-advisory
- RHSA-2026:5585vendor-advisory
- RHSA-2026:5606vendor-advisory
- RHSA-2026:7329vendor-advisory
- RHSA-2026:7477vendor-advisory
- RHSA-2026:82347vendor-advisory
- RHSA-2026:82354vendor-advisory
- RHSA-2026:82372vendor-advisory
- RHSA-2026:82857vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-9820vdb-entry
- RHBZ#2392528issue-tracking
- https://gitlab.com/gnutls/gnutls/-/commit/1d56f96f6ab5034d677136b9d50b5a75dff0faf5
- https://gitlab.com/gnutls/gnutls/-/issues/1732
- https://www.gnutls.org/security-new.html#GNUTLS-SA-2025-11-18
- http://www.openwall.com/lists/oss-security/2025/11/20/2
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.