{"id":"CVE-2026-42015","title":"A flaw was found in gnutls","summary":"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 …","severity":"medium","cvss":5.3,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","cwe":["CWE-193"],"published":"2026-05-26","updated":"2026-06-29","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42015","references":[{"url":"https://access.redhat.com/errata/RHSA-2026:20611","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:20612","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:20613","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:26319","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:26409","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:29197","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:30004","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:30849","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:30850","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:32962","label":"secalert@redhat.com"},{"url":"https://access.redhat.com/security/cve/CVE-2026-42015","label":"secalert@redhat.com"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467678","label":"secalert@redhat.com"},{"url":"https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-11","label":"secalert@redhat.com"}],"tags":["nvd"],"epss":0.00727,"epssPercentile":0.52271,"ingestedAt":"2026-06-29T13:42:11.962Z","slug":"CVE-2026-42015","body":"## Overview\n\nA 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":29,"depthScoreParts":{"impact":29.2,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}