Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-9820

MEDIUM 4.0EPSS 10%

Gnutls: stack-based buffer overflow in gnutls_pkcs11_token_init() function

Mitigation

  • Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Applying the upstream patch or vendor-supplied security update is the recommended resolution.

Who should check

  • Anyone running gnutls 3.8.1; 3.8.2; 3.8.3; 3.8.4; 3.8.5; 3.8.6; 3.8.7; 3.8.8; 3.8.9; 3.8.10
  • Anyone running Red Hat Enterprise Linux 10 all versions
  • Anyone running Red Hat Enterprise Linux 8 all versions
  • Anyone running Red Hat Enterprise Linux 9 all versions
  • Anyone running Red Hat RHEL-8 based Middleware Containers all versions
  • Anyone running Cert Manager support for Red Hat OpenShift release 1.18 all versions
  • Anyone running Red Hat Ceph Storage 8 all versions
  • Anyone running Red Hat Discovery 2 all versions

Vulnerability facts

Affected
gnutls 3.8.1; 3.8.2; 3.8.3; 3.8.4; 3.8.5; 3.8.6; 3.8.7; 3.8.8; 3.8.9; 3.8.10; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Red Hat Ceph Storage 8 all versions; Red Hat Discovery 2 all versions; Red Hat Discovery 2 all versions; Red Hat Hardened Images all versions; Red Hat Insights proxy 1.5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
4.0 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-121
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
gnutls3.8.1; 3.8.2; 3.8.3; 3.8.4; 3.8.5; 3.8.6; 3.8.7; 3.8.8; 3.8.9; 3.8.10—cvelist
Red Hat Enterprise Linux 10all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 8all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat Enterprise Linux 9all versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Red Hat RHEL-8 based Middleware Containersall versions—cvelist
Cert Manager support for Red Hat OpenShift release 1.18all versions—cvelist
Cert Manager support for Red Hat OpenShift release 1.18all versions—cvelist
Cert Manager support for Red Hat OpenShift release 1.18all versions—cvelist
Cert Manager support for Red Hat OpenShift release 1.18all versions—cvelist
Cert Manager support for Red Hat OpenShift release 1.18all versions—cvelist
Red Hat Ceph Storage 8all versions—cvelist
Red Hat Discovery 2all versions—cvelist
Red Hat Discovery 2all versions—cvelist
Red Hat Hardened Imagesall versions—cvelist
Red Hat Insights proxy 1.5all versions—cvelist
Red Hat Update Infrastructure 5all versions—cvelist
Red Hat Update Infrastructure 5all versions—cvelist
Red Hat Update Infrastructure 5all versions—cvelist
Red Hat Update Infrastructure 5all versions—cvelist
Red Hat Enterprise Linux 6all versions—cvelist
Red Hat Enterprise Linux 7all versions—cvelist
Red Hat OpenShift Container Platform 4all versions—cvelist
Red Hat OpenShift Container Platform 4all versions—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-9820. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-9820.md
Affected: gnutls 3.8.1; 3.8.2; 3.8.3; 3.8.4; 3.8.5; 3.8.6; 3.8.7; 3.8.8; 3.8.9; 3.8.10; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat RHEL-8 …
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for gnutls, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat RHEL-8 based Middleware Containers, Cert Manager support for Red Hat OpenShift release 1.18: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-9820 being exploited?

There is no confirmed exploitation: CVE-2025-9820 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-9820?

Medium: CVSS 4.0 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-9820?

gnutls 3.8.1; 3.8.2; 3.8.3; 3.8.4; 3.8.5; 3.8.6; 3.8.7; 3.8.8; 3.8.9; 3.8.10; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 8 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat Enterprise Linux 9 all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Red Hat RHEL-8 based Middleware Containers all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Cert Manager support for Red Hat OpenShift release 1.18 all versions; Red Hat Ceph Storage 8 all versions; Red Hat Discovery 2 all versions; Red Hat Discovery 2 all versions; Red Hat Hardened Images all versions; Red Hat Insights proxy 1.5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Update Infrastructure 5 all versions; Red Hat Enterprise Linux 6 all versions; Red Hat Enterprise Linux 7 all versions; Red Hat OpenShift Container Platform 4 all versions; Red Hat OpenShift Container Platform 4 all versions.

Is there a fix for CVE-2025-9820?

No fixed version is listed in the sources yet. Vendor workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Applying the upstream patch or vendor-supplied security update is the recommended resolution.

How do I check if I'm affected by CVE-2025-9820?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors