Stack-based Buffer Overflow Affecting gnutls-dane package, versions <0:3.8.3-10.el9_7


Severity

Recommended
0.0
medium
0
10

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.01% (3rd 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-ROCKY9-GNUTLSDANE-15467053
  • published12 Mar 2026
  • disclosed26 Jan 2026

Introduced: 26 Jan 2026

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

How to fix?

Upgrade Rocky-Linux:9 gnutls-dane to version 0:3.8.3-10.el9_7 or higher.
This issue was patched in RLSA-2026:4188.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gnutls-dane package and not the gnutls-dane package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:9 relevant fixed versions and status.

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 Base Scores

version 3.1