Bug 2392528 (CVE-2025-9820) - CVE-2025-9820 gnutls: Stack-based Buffer Overflow in gnutls_pkcs11_token_init() Function
Summary: CVE-2025-9820 gnutls: Stack-based Buffer Overflow in gnutls_pkcs11_token_init...
Keywords:
Status: NEW
Alias: CVE-2025-9820
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-09-02 10:07 UTC by OSIDB Bzimport
Modified: 2026-04-02 14:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2026:4361 0 None None None 2026-03-11 15:36:09 UTC
Red Hat Product Errata RHBA-2026:4478 0 None None None 2026-03-12 13:09:57 UTC
Red Hat Product Errata RHBA-2026:4485 0 None None None 2026-03-12 13:21:41 UTC
Red Hat Product Errata RHBA-2026:4486 0 None None None 2026-03-12 15:05:12 UTC
Red Hat Product Errata RHBA-2026:5650 0 None None None 2026-03-24 16:23:38 UTC
Red Hat Product Errata RHBA-2026:5654 0 None None None 2026-03-24 16:48:06 UTC
Red Hat Product Errata RHBA-2026:5820 0 None None None 2026-03-25 14:36:36 UTC
Red Hat Product Errata RHBA-2026:5839 0 None None None 2026-03-25 17:50:17 UTC
Red Hat Product Errata RHBA-2026:6197 0 None None None 2026-03-30 17:24:12 UTC
Red Hat Product Errata RHBA-2026:6258 0 None None None 2026-03-31 12:32:28 UTC
Red Hat Product Errata RHBA-2026:6479 0 None None None 2026-04-02 14:15:44 UTC
Red Hat Product Errata RHSA-2026:3477 0 None None None 2026-03-02 01:32:52 UTC
Red Hat Product Errata RHSA-2026:4188 0 None None None 2026-03-10 23:26:32 UTC
Red Hat Product Errata RHSA-2026:5585 0 None None None 2026-03-24 10:24:58 UTC

Description OSIDB Bzimport 2025-09-02 10:07:03 UTC
Stack-based buffer overflow vulnerability in the PKCS#11 token initialization function gnutls_pkcs11_token_init() of the GnuTLS library. The flaw is caused by an unsafe memcpy into a fixed-size stack buffer (flabel[32]) without proper bounds checking. If an attacker provides a token label longer than 32 bytes, it leads to out-of-bounds memory writes, causing a crash or, in some environments, potential code execution. Although the vulnerability requires local access or interaction with a malicious PKCS#11 token, it poses a security risk by enabling denial-of-service or possible privilege escalation in applications relying on GnuTLS.

Comment 1 errata-xmlrpc 2026-03-02 01:32:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:3477 https://access.redhat.com/errata/RHSA-2026:3477

Comment 2 errata-xmlrpc 2026-03-10 23:26:31 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:4188 https://access.redhat.com/errata/RHSA-2026:4188

Comment 3 errata-xmlrpc 2026-03-24 10:24:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:5585 https://access.redhat.com/errata/RHSA-2026:5585


Note You need to log in before you can comment on or make changes to this bug.