{"id":"CVE-2026-42015","summary":"Gnutls: gnutls: memory corruption due to off-by-one error in pkcs#12 bag handling","details":"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.","modified":"2026-11-07T02:35:52.567765503Z","published":"2026-05-26T21:29:32.914Z","related":["ALSA-2026:20611","ALSA-2026:20612","ALSA-2026:20613","SUSE-SU-2026:2087-1","SUSE-SU-2026:2115-1","SUSE-SU-2026:21752-1","SUSE-SU-2026:21784-1","SUSE-SU-2026:21815-1","SUSE-SU-2026:21867-1","SUSE-SU-2026:2822-1","SUSE-SU-2026:2923-1","SUSE-SU-2026:2924-1","openSUSE-SU-2026:10691-1","openSUSE-SU-2026:20778-1"],"database_specific":{"cwe_ids":["CWE-193"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42015.json","unresolved_ranges":[{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"InverseAffectedRanges","range":[{"fixed":"0:3.8.10-4.el10_2"},{"fixed":"0:3.8.9-9.el10_0.19"},{"fixed":"0:3.3.29-9.el7_9.2"},{"fixed":"0:3.6.16-8.el8_10.6"},{"fixed":"0:3.6.16-8.el8_10.6"},{"fixed":"0:3.6.14-10.el8_4.1"},{"fixed":"0:4.13-3.el8_4.1"},{"fixed":"0:3.6.14-10.el8_4.1"},{"fixed":"0:4.13-3.el8_4.1"},{"fixed":"0:3.6.16-5.el8_6.5"},{"fixed":"0:4.13-3.el8_6.2"},{"fixed":"0:3.6.16-5.el8_6.5"},{"fixed":"0:4.13-3.el8_6.2"},{"fixed":"0:3.6.16-7.el8_8.4"},{"fixed":"0:4.13-4.el8_8.1"},{"fixed":"0:3.6.16-7.el8_8.4"},{"fixed":"0:4.13-4.el8_8.1"},{"fixed":"0:3.8.10-4.el9_8"},{"fixed":"0:3.8.10-4.el9_8"},{"fixed":"0:3.7.6-21.el9_2.7"},{"fixed":"0:3.8.3-4.el9_4.6"},{"fixed":"0:3.8.3-6.el9_6.4"},{"fixed":"1791371080"},{"fixed":"1791371069"},{"fixed":"1791788287"},{"fixed":"1791970484"},{"fixed":"1791459707"},{"fixed":"1791459711"},{"fixed":"1791459759"},{"fixed":"1789029076"},{"fixed":"1791966259"},{"fixed":"1790598593"},{"fixed":"1782159791"},{"fixed":"1782166952"},{"fixed":"3.8.13-1.hum1"},{"fixed":"1790703542"},{"fixed":"1781525684"},{"fixed":"1781525671"},{"fixed":"1781525693"},{"fixed":"1781525739"},{"fixed":"1787241211"},{"fixed":"1787135742"},{"fixed":"1787241260"}]}]}],"cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://catalog.redhat.com/software/containers/"},{"type":"WEB","url":"https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-11"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:13274"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20611"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20612"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:20613"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26319"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:26409"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:29197"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30004"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30849"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:30850"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:32962"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:33125"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:41921"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:43575"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:58981"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:72502"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:74674"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82304"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82322"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82347"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82354"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82372"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82857"},{"type":"ADVISORY","url":"https://access.redhat.com/errata/RHSA-2026:82888"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-42015"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42015.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42015"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2467678"},{"type":"PACKAGE","url":"https://gitlab.com/gnutls/gnutls"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gnutls/gnutls","events":[{"introduced":"0"},{"last_affected":"0"}],"database_specific":{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"0"},{"last_affected":"0"}],"source":"AFFECTED_FIELD"}]}}],"versions":["0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42015.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}