Medium severity4.0OSV Advisory· Published Jan 26, 2026· Updated May 12, 2026
CVE-2025-9820
CVE-2025-9820
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
24- Range: 3.6.12, 3.6.13, 3.6.14, …
- osv-coords22 versionspkg:rpm/almalinux/gnutlspkg:rpm/almalinux/gnutls-c%2B%2Bpkg:rpm/almalinux/gnutls-danepkg:rpm/almalinux/gnutls-develpkg:rpm/almalinux/gnutls-fipspkg:rpm/almalinux/gnutls-utilspkg:rpm/opensuse/gnutls&distro=openSUSE%20Leap%2015.6pkg:rpm/opensuse/gnutls&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/gnutls&distro=openSUSE%20Tumbleweedpkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Micro%205.4pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Micro%205.5pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP6pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Server%2016.0pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20applications%2016.0pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Micro%206.0pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Micro%206.1pkg:rpm/suse/gnutls&distro=SUSE%20Linux%20Micro%206.2
< 3.8.10-3.el10_1+ 21 more
- (no CPE)range: < 3.8.10-3.el10_1
- (no CPE)range: < 3.8.10-3.el10_1
- (no CPE)range: < 3.8.10-3.el10_1
- (no CPE)range: < 3.8.10-3.el10_1
- (no CPE)range: < 3.8.10-3.el10_1
- (no CPE)range: < 3.8.10-3.el10_1
- (no CPE)range: < 3.8.3-150600.4.12.1
- (no CPE)range: < 3.8.10-160000.2.1
- (no CPE)range: < 3.8.11-1.1
- (no CPE)range: < 3.6.7-150200.14.40.1
- (no CPE)range: < 3.7.3-150400.19.1
- (no CPE)range: < 3.7.3-150400.4.53.1
- (no CPE)range: < 3.7.3-150400.4.53.1
- (no CPE)range: < 3.8.3-150600.4.12.1
- (no CPE)range: < 3.8.3-150600.4.12.1
- (no CPE)range: < 3.3.27-3.18.1
- (no CPE)range: < 3.8.10-160000.2.1
- (no CPE)range: < 3.8.10-160000.2.1
- (no CPE)range: < 3.3.27-3.15.1
- (no CPE)range: < 3.8.3-5.1
- (no CPE)range: < 3.8.3-slfo.1.1_5.1
- (no CPE)range: < 3.8.10-160000.2.1
Patches
Vulnerability mechanics
References
16- www.openwall.com/lists/oss-security/2025/11/20/2nvd
- access.redhat.com/errata/RHSA-2026:13812nvd
- access.redhat.com/errata/RHSA-2026:3477nvd
- access.redhat.com/errata/RHSA-2026:4188nvd
- access.redhat.com/errata/RHSA-2026:4655nvd
- access.redhat.com/errata/RHSA-2026:4943nvd
- access.redhat.com/errata/RHSA-2026:5585nvd
- access.redhat.com/errata/RHSA-2026:5606nvd
- access.redhat.com/errata/RHSA-2026:7329nvd
- access.redhat.com/errata/RHSA-2026:7477nvd
- access.redhat.com/security/cve/CVE-2025-9820nvd
- bugzilla.redhat.com/show_bug.cginvd
- cert-portal.siemens.com/productcert/html/ssa-032379.htmlnvd
- gitlab.com/gnutls/gnutls/-/commit/1d56f96f6ab5034d677136b9d50b5a75dff0faf5nvd
- gitlab.com/gnutls/gnutls/-/issues/1732nvd
- www.gnutls.org/security-new.htmlnvd
News mentions
1- Siemens SIMATICCISA ICS Advisories