CVE-2026-42015

MEDIUM

Gnutls: gnutls: memory corruption due to off-by-one error in pkcs#12 bag handling

Title source: cna
STIX 2.1

Description

A flaw was found in gnutls. An off-by-one error exists in the PKCS#12 bag element bounds check. This vulnerability allows an remote attacker to write past the internal array of a PKCS#12 bag when appending to a bag that already contains 32 elements. This memory corruption could lead to a denial of service (DoS) or potentially other unspecified impacts.

References (5)

Core 5
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:20612
https://access.redhat.com/errata/RHSA-2026:20612
Vendor Advisory vendor-advisory x_refsource_redhat
https://access.redhat.com/errata/RHSA-2026:20613
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:20611
https://access.redhat.com/errata/RHSA-2026:20611
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-42015
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2467678
https://bugzilla.redhat.com/show_bug.cgi?id=2467678

Scores

CVSS v3 5.3
EPSS 0.0067
EPSS Percentile 47.1%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact partial

Details

CWE
CWE-193
Status published
Products (10)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 10 0:3.8.10-4.el10_2
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 8 0:3.6.16-8.el8_10.6
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Enterprise Linux 9 0:3.8.10-4.el9_8
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat OpenShift Container Platform 4
Published May 26, 2026
Tracked Since May 27, 2026