Logo
vulnerabilityCVE-2025-9820
Name
CVE-2025-9820
Source
NVD ( link)Debian ( link)
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.
Published Date
Updated Date
Workaround
-
Advisories

Analysis#


Affected Component
Analysis
gnutls
Patched

Vulnerability Ratings#


4
CVSSv31
NaN
other

Others affected components#


Name
Project
Project Version
Version
Status
buildroot
2025.02.x
3.8.13
Not Affected
buildroot
master
3.8.13
Not Affected
openwrt
master
3.8.10-r1
Not Affected
openwrt
openwrt-25.12
3.8.10-r1
Not Affected
yocto
kirkstone
3.7.4
Patched
yocto
master
3.8.13
Not Affected

Resolved with patches#


gnutls (yocto:kirkstone)

#
Title
Author
Resolve
1
pkcs11: avoid stack overwrite when initializing a token
Daiki Ueno <ueno@gnu.org>
CVE-2025-9820

gnutls (yocto:scarthgap)

#
Title
Author
Resolve
1
pkcs11: avoid stack overwrite when initializing a token
Daiki Ueno <ueno@gnu.org>
CVE-2025-9820