cve.bz

CVE-2026-42015 Off-by-one Error

5.3 mediumEPSS 0.9%Fix available

Medium (5.3). EPSS 0.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
0.9% (up from 0.7% a week ago; 0.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 59th percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-05-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:3.8.10-4.el10_2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:3.8.9-9.el10_0.19
  • Red Hat Red Hat Enterprise Linux 7 Extended Lifecycle Support: fixed in 0:3.3.29-9.el7_9.2
  • Red Hat Red Hat Enterprise Linux 8: fixed in 0:3.6.16-8.el8_10.6
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:3.6.14-10.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support: fixed in 0:4.13-3.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:3.6.14-10.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On: fixed in 0:4.13-3.el8_4.1
  • Debian, Ubuntu, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Alpine, Azure Linux, Alpaquita: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-42015 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42015?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42015?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42015 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:3.8.10-4.el10_2
Red Hat Enterprise Linux 10.0 Extended Update Support0:3.8.9-9.el10_0.19
Red Hat Enterprise Linux 7 Extended Lifecycle Support0:3.3.29-9.el7_9.2
Red Hat Enterprise Linux 80:3.6.16-8.el8_10.6
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:3.6.14-10.el8_4.1
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support0:4.13-3.el8_4.1
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:3.6.14-10.el8_4.1
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On0:4.13-3.el8_4.1
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:3.6.16-5.el8_6.5
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support0:4.13-3.el8_6.2
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:3.6.16-5.el8_6.5
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On0:4.13-3.el8_6.2
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:3.6.16-7.el8_8.4
Red Hat Enterprise Linux 8.8 Telecommunications Update Service0:4.13-4.el8_8.1
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:3.6.16-7.el8_8.4
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions0:4.13-4.el8_8.1
Red Hat Enterprise Linux 90:3.8.10-4.el9_8
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions0:3.7.6-21.el9_2.7
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions0:3.8.3-4.el9_4.6
Red Hat Enterprise Linux 9.6 Extended Update Support0:3.8.3-6.el9_6.4
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371080
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791371069
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791788287
Red Hat Cert Manager support for Red Hat OpenShift release 1.171791970484
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459707
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459711
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791459759
Red Hat Cert Manager support for Red Hat OpenShift release 1.181789029076
Red Hat Cert Manager support for Red Hat OpenShift release 1.181791966259
Red Hat Cert Manager support for Red Hat OpenShift release 1.201790598593
Red Hat Discovery 21782159791
Red Hat Discovery 21782166952
Red Hat Hardened Images3.8.13-1.hum1
Red Hat OpenShift AI 3.41790703542
Red Hat Update Infrastructure 51781525684
Red Hat Update Infrastructure 51781525671
Red Hat Update Infrastructure 51781525693
Red Hat Update Infrastructure 51781525739
Red Hat Update Infrastructure 51787241211
Red Hat Update Infrastructure 51787135742
Red Hat Update Infrastructure 51787241260

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11gnutls283.7.1-5+deb11u10DLA-4595-1
Debian12gnutls283.7.9-2+deb12u7DEBIAN-CVE-2026-42015 DSA-6281-1
Debian13gnutls283.8.9-3+deb13u4DEBIAN-CVE-2026-42015 DSA-6281-1
Debian14gnutls283.8.13-1DEBIAN-CVE-2026-42015
Ubuntu22.04:LTSgnutls283.7.3-4ubuntu1.9UBUNTU-CVE-2026-42015 USN-8284-1
Ubuntu24.04:LTSgnutls283.8.3-1.1ubuntu3.6UBUNTU-CVE-2026-42015 USN-8284-1
Ubuntu25.10gnutls283.8.9-3ubuntu2.2UBUNTU-CVE-2026-42015 USN-8284-1
Ubuntu26.04:LTSgnutls283.8.12-2ubuntu1.1UBUNTU-CVE-2026-42015 USN-8284-1
UbuntuPro:16.04:LTSgnutls283.4.10-4ubuntu1.9+esm4UBUNTU-CVE-2026-42015 USN-8539-1
UbuntuPro:18.04:LTSgnutls283.5.18-1ubuntu1.6+esm4UBUNTU-CVE-2026-42015 USN-8539-1
UbuntuPro:20.04:LTSgnutls283.6.13-2ubuntu1.12+esm3UBUNTU-CVE-2026-42015 USN-8539-1
UbuntuPro:FIPS-preview:22.04:LTSgnutls28no fix listedUBUNTU-CVE-2026-42015
UbuntuPro:FIPS-updates:22.04:LTSgnutls283.7.3-4ubuntu1.9+Fips1UBUNTU-CVE-2026-42015
UbuntuPro:FIPS-updates:24.04:LTSgnutls283.8.3-1.1ubuntu3.6+Fips1.2UBUNTU-CVE-2026-42015
Red Hatenterprise_linux:8::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hatenterprise_linux:8::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.6.16-8.el8_10.6RHSA-2026:20611
Red Hatenterprise_linux:9::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.8.10-4.el9_8RHSA-2026:20612
Red Hatenterprise_linux:9::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 3 more0:3.8.10-4.el9_8RHSA-2026:20612
Red Hatenterprise_linux:10.2gnutls, gnutls-c++, gnutls-dane and 8 more0:3.8.10-4.el10_2RHSA-2026:20613
Red Hatenterprise_linux_eus:10.0gnutls, gnutls-c++, gnutls-dane and 8 more0:3.8.9-9.el10_0.19RHSA-2026:26409
Red Hathummingbird:1gnutls, gnutls-c++, gnutls-dane and 5 more0:3.8.13-1.hum1RHSA-2026:13274
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 5 more0:3.6.14-10.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreamlibtasn1-devel, libtasn1-tools, libtasn1-debuginfo and 2 more0:4.13-3.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseosgnutls, gnutls-debuginfo, gnutls-debugsource and 2 more0:3.6.14-10.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.4::baseos, rhel_eus_long_life:8.4::baseoslibtasn1, libtasn1-debuginfo, libtasn1-debugsource and 1 more0:4.13-3.el8_4.1RHSA-2026:33125
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreamgnutls-c++, gnutls-dane, gnutls-devel and 6 more0:3.6.16-5.el8_6.5RHSA-2026:30849
14 more for Red Hat in the JSON and on Red Hat's page.
SUSELinux Enterprise Micro 5.3gnutls3.7.3-150400.24.2SUSE-SU-2026:2822-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5gnutls3.3.27-3.21.1SUSE-SU-2026:2924-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5gnutls3.4.17-8.26.1SUSE-SU-2026:2923-1
openSUSETumbleweedgnutls3.8.13-1.1openSUSE-SU-2026:10691-1
AlmaLinux8gnutls, gnutls-c++, gnutls-dane and 2 more3.6.16-8.el8_10.6ALSA-2026:20611
AlmaLinux9gnutls, gnutls-c++, gnutls-dane and 2 more3.8.10-4.el9_8ALSA-2026:20612
AlmaLinux10gnutls, gnutls-c++, gnutls-dane and 3 more3.8.10-4.el10_2ALSA-2026:20613
Rocky Linux8gnutls0:3.6.16-8.el8_10.6RLSA-2026:20611
Rocky Linux9gnutls0:3.8.10-4.el9_8RLSA-2026:20612
Rocky Linux10gnutls0:3.8.10-4.el10_2RLSA-2026:20613
Alpinev3.20, v3.21, v3.22 and 2 moregnutls3.8.13-r0ALPINE-CVE-2026-42015
Azure Linux3gnutls3.8.13-1AZL-89181
Alpaquita23, 25, streamgnutls3.8.13-r0BELL-CVE-2026-42015

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as Moderate impact because triggering the out-of-bounds write requires an application to parse or manipulate specially crafted PKCS#12 containers containing multiple bag elements, primarily resulting in a denial of service. Standard TLS network handshakes on Red Hat Enterprise Linux do not process PKCS#12 files by default. Consequently, only workloads or administrative tools configured to import or inspect untrusted certificate packages are exposed to potential memory corruption or crashes.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10gnutls-0:3.8.10-4.el10_2Fixed 2026-05-26RHSA-2026:20613
Red Hat Enterprise Linux 10.0 Extended Update Supportgnutls-0:3.8.9-9.el10_0.19Fixed 2026-06-16RHSA-2026:26409
Red Hat Enterprise Linux 7 Extended Lifecycle Supportgnutls-0:3.3.29-9.el7_9.2Fixed 2026-07-22RHSA-2026:43575
Red Hat Enterprise Linux 8gnutls-0:3.6.16-8.el8_10.6Fixed 2026-05-26RHSA-2026:20611
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportgnutls-0:3.6.14-10.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportlibtasn1-0:4.13-3.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Ongnutls-0:3.6.14-10.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onlibtasn1-0:4.13-3.el8_4.1Fixed 2026-06-29RHSA-2026:33125
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportgnutls-0:3.6.16-5.el8_6.5Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportlibtasn1-0:4.13-3.el8_6.2Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Ongnutls-0:3.6.16-5.el8_6.5Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onlibtasn1-0:4.13-3.el8_6.2Fixed 2026-06-29RHSA-2026:30849
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicegnutls-0:3.6.16-7.el8_8.4Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicelibtasn1-0:4.13-4.el8_8.1Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionsgnutls-0:3.6.16-7.el8_8.4Fixed 2026-06-29RHSA-2026:30850
Red Hat Enterprise Linux 6gnutlsOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-hypershift-rhel9Not affected
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-8Fix deferred
Red Hat OpenShift Container Platform 4openshift/ose-rhel-coreos-9Fix deferred
Red Hat OpenShift Container Platform 5openshift/ose-rhel-coreos-9Fix deferred
26 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42015.

References

Check your stackJSON