CVE-2025-9820
4.0
MEDIUM
CVSS 3.1
EPSS 0.02%
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.
How to fix CVE-2025-9820
To remediate CVE-2025-9820, upgrade the affected package to a fixed version below.
- —upgrade to 3.8.12-r0 or later
- —upgrade to 3.7.1-5+deb11u9 or later
Is CVE-2025-9820 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.8.12-r0
- from 0, < 3.7.1-5+deb11u9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.0 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |