CVE-2026-42014 MEDIUM

CVE-2026-42014: Gnutls: gnutls: use-after-free in gnutls_pkcs11_token_set_pin

Vendor Red Hat
Product Red Hat Enterprise Linux 6
Weakness CWE-825
Published June 16, 2026
Last update June 30, 2026

CVSS base score

6.6/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H

What the vulnerability does

01Description

A flaw was found in GnuTLS. The `gnutls_pkcs11_token_set_pin` function, used for changing the Security Officer PIN, can lead to a use-after-free vulnerability. This occurs when an attacker attempts to change the PIN with a NULL old PIN for a token that lacks a protected authentication path.

Key dates

02Disclosure timeline

June 16, 2026 CVE published
June 30, 2026 Record updated