CVE-2025-9820 Details
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.
A stack-based buffer overflow vulnerability has been identified in the GnuTLS library, specifically within the gnutls_pkcs11_token_init() function responsible for PKCS#11 token initialization. This vulnerability arises when a token label exceeding 32 characters is processed, leading to out-of-bounds memory writes. Such memory corruption can cause applications using GnuTLS to crash or, under certain conditions, be exploited for arbitrary code execution. Consequently, systems or applications that rely on GnuTLS may be susceptible to denial-of-service attacks or local privilege escalation.
Users are advised to upgrade GnuTLS to version 3.8.11 or later. If an immediate upgrade is not possible, the vulnerability can be mitigated by compiling GnuTLS with the '-D_FORTIFY_SOURCE=2' option.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 26, 2026CISA-ADP
Assessed Jan 26, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GnuTLS | > 3.8.0, < 3.8.11 (semver) |
CPE
Remediation
| |
Change History
25 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 6, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Modified | [email protected] |
| Sep 1, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | siemens-SADP |
| Aug 31, 2026 | CVE Modified | [email protected] |
| Aug 31, 2026 | CVE Modified | CVE |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Aug 21, 2026 | CVE Modified | [email protected] |
| Jun 30, 2026 | CVE Modified | [email protected] |
| Jun 25, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | CVE Modified | siemens-SADP |
| May 5, 2026 | CVE Modified | [email protected] |
| Apr 22, 2026 | CVE Modified | [email protected] |
| Apr 9, 2026 | CVE Modified | [email protected] |
| Mar 24, 2026 | CVE Modified | [email protected] |
| Mar 18, 2026 | CVE Modified | [email protected] |
| Mar 16, 2026 | CVE Modified | [email protected] |
| Mar 11, 2026 | CVE Modified | [email protected] |
| Mar 2, 2026 | CVE Modified | [email protected] |
| Jan 26, 2026 | New CVE Received | [email protected] |
| Jan 26, 2026 | CVE Modified | CVE |
Volerion