CVE-2025-9820: gnutls Stack-based Buffer Overflow
Vulnerability summary
CVE-2025-9820 is a medium (CVSS 4.0) Stack-based Buffer Overflow vulnerability in gnutls. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 12.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 12 · Related 7Timeline
- 26-01-2026PublishedVulnerability first disclosed.
- 14-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST4.0MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.23%
Chance of exploitation in the next 30 days
Percentile
12%
Versus all other CVEs
30-day change
+0.01 pp
From 0.21% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse9 products
- gnutls&distro=SUSE Linux Enterprise Micro 5.2< 3.6.7-150200.14.40.1
- gnutls&distro=SUSE Linux Enterprise Micro 5.3< 3.7.3-150400.19.1
- gnutls&distro=SUSE Linux Enterprise Micro 5.4< 3.7.3-150400.4.53.1
- gnutls&distro=SUSE Linux Enterprise Micro 5.5< 3.7.3-150400.4.53.1
- gnutls&distro=SUSE Linux Enterprise Module for Basesystem 15 SP6< 3.8.3-150600.4.12.1
Opensuse2 products
- gnutls&distro=openSUSE Leap 15.6< 3.8.3-150600.4.12.1
- gnutls&distro=openSUSE Tumbleweed< 3.8.11-1.1
Alpine1 product
- gnutls< 3.8.12-r0 | < 3.8.11-r0
Debian1 product
- gnutls28< 3.7.9-2+deb12u6 | < 3.8.9-3+deb13u1 | < 3.8.11-3
Mageia1 product
- gnutls< 3.8.4-1.3.mga9
Ubuntu1 product
- gnutls28< 3.4.10-4ubuntu1.9+esm3 | < 3.5.18-1ubuntu1.6+esm3 | < 3.6.13-2ubuntu1.12+esm2 | < 3.7.3-4ubuntu1.8 | All versions (No fix recorded) | < 3.7.3-4ubuntu1.8+Fips1.1 | < 3.8.3-1.1ubuntu3.5 | < 3.8.3-1.1ubuntu3.5+Fips1.1 | < 3.8.9-3ubuntu2.1
6 vendors · 15 products