p PatchFirst

CVE-2025-9820

CVE-2025-9820 · Gnutls: stack-based buffer overflow in gnutls_pkcs11_token_init() function

This page contains facts from public vulnerability sources. Check the original advisory before updating.

This page shows selected source facts. See the linked advisories for the complete description and affected versions.

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 4.0 · Medium · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

Original sources

Check your server →