Skip to main content
EPSS 0.2%top 89%

CVE-2025-9820: Stack-based Buffer Overflow

0
Medium
VulnerabilityCVE-2025-9820cvecve-2025-9820
Published: 01/26/2026 (01/26/2026, 19:58:32 UTC)
Source: CVE Database V5

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.

CVSS v3.1

Score 4.0medium

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected software

redhat/gnutls
pkg:rpm/redhat/gnutls
Affected versions
=10<10.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/02/2026, 21:59:23 UTC

Technical Analysis

CVE-2025-9820 is a stack-based buffer overflow vulnerability in the GnuTLS library, specifically in the gnutls_pkcs11_token_init() function responsible for PKCS#11 token initialization. When a token label exceeding the expected length is processed, the function writes past the end of a fixed-size stack buffer, potentially causing application crashes or enabling local privilege escalation. This affects systems using GnuTLS on Red Hat Enterprise Linux 10 versions prior to 10.2. Red Hat has issued security advisories and released patched GnuTLS packages (version 3.8.10-3.el10_1 and later) to address this vulnerability.

Potential Impact

The vulnerability can cause denial of service through application crashes and may allow local privilege escalation under certain conditions. The CVSS v3.1 score is 4.0 (medium severity) with vector AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L, indicating local attack vector with low complexity and no required privileges or user interaction. No known exploits in the wild have been reported.

Mitigation Recommendations

Red Hat has released official security updates for GnuTLS in Red Hat Enterprise Linux 10 that fix this vulnerability. Users should upgrade to the patched GnuTLS packages (e.g., gnutls-3.8.10-3.el10_1 or later) as provided in advisories RHSA-2026:3477 and RHSA-2026:13812. Applying these updates fully mitigates the vulnerability. No additional mitigation steps are required beyond applying the vendor-provided patches.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2025-09-02T07:22:32.478Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/errata/RHSA-2026:3477","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4188","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4655","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:4943","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5585","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:5606","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7329","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:7477","vendor":"Red Hat"},{"url":"https://access.redhat.com/security/cve/CVE-2025-9820","vendor":"Red Hat"}]

Threat ID: 6977c9254623b1157cb7b5cb

Added to database: 01/26/2026, 20:05:57 UTC

Last enriched: 07/02/2026, 21:59:23 UTC

Last updated: 09/10/2026, 19:24:58 UTC

Views: 268

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses