Stack-based Buffer Overflow Affecting gnutls package, versions [0,]


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-GNUTLS-15126067
  • published28 Jan 2026
  • disclosed18 Nov 2025
  • creditLuigino Camastra

Introduced: 18 Nov 2025

CVE-2025-9820  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

A fix was pushed into the master branch but not yet published.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow via the gnutls_pkcs11_token_init() function. An attacker can cause a crash or potentially execute arbitrary code by supplying a PKCS#11 token with a label longer than 32 characters, leading to writing past the end of a fixed-size stack buffer.

CVSS Base Scores

version 4.0
version 3.1