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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-26 · Modified: 2026-11-05
- Aliases: ALPINE-CVE-2026-42015, UBUNTU-CVE-2026-42015, DEBIAN-CVE-2026-42015
- Record: https://cvemate.com/vulnerability/CVE-2026-42015 · JSON: https://cvemate.com/vulnerability/CVE-2026-42015/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- EPSS: 0.769%, percentile 56.954%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine gnutls (Alpine Linux): \< 3.8.13-r0
- debian gnutls28 (Debian): \< 3.7.9-2+deb12u7 \| \< 3.8.9-3+deb13u4 \| \< 3.8.13-1
- ubuntu gnutls28 (Ubuntu): \< 3.4.10-4ubuntu1.9+esm4 \| \< 3.5.18-1ubuntu1.6+esm4 \| \< 3.6.13-2ubuntu1.12+esm3 \| \< 3.7.3-4ubuntu1.9 \| All versions (No fix recorded) \| \< 3.7.3-4ubuntu1.9+Fips1 \| \< 3.8.3-1.1ubuntu3.6 \| \< 3.8.3-1.1ubuntu3.6+Fips1.2 \| \< 3.8.9-3ubuntu2.2 \| \< 3.8.12-2ubuntu1.1

## References (first 20 of 34)

- <https://access.redhat.com/errata/RHSA-2026:13274>
- <https://access.redhat.com/errata/RHSA-2026:20611>
- <https://access.redhat.com/errata/RHSA-2026:20612>
- <https://access.redhat.com/errata/RHSA-2026:20613>
- <https://access.redhat.com/errata/RHSA-2026:26319>
- <https://access.redhat.com/errata/RHSA-2026:26409>
- <https://access.redhat.com/errata/RHSA-2026:29197>
- <https://access.redhat.com/errata/RHSA-2026:30004>
- <https://access.redhat.com/errata/RHSA-2026:30849>
- <https://access.redhat.com/errata/RHSA-2026:30850>
- <https://access.redhat.com/errata/RHSA-2026:32962>
- <https://access.redhat.com/errata/RHSA-2026:33125>
- <https://access.redhat.com/errata/RHSA-2026:41921>
- <https://access.redhat.com/errata/RHSA-2026:43575>
- <https://access.redhat.com/errata/RHSA-2026:58981>
- <https://access.redhat.com/errata/RHSA-2026:72502>
- <https://access.redhat.com/errata/RHSA-2026:74674>
- <https://access.redhat.com/security/cve/CVE-2026-42015>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2467678>
- <https://www.gnutls.org/security-new.html#GNUTLS-SA-2026-04-29-11>

---

Data as of 2026-12-05T03:28:37.571Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
