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

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.

Published: 2026-05-26 Last update: 2026-06-02 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2026-42015 is rated Low Risk (38.9/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.76%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2026-42015

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-17 0.67% 0.76% +0.09%
2 2026-06-15 0.19% 0.67% +0.49%
3 2026-06-01 0.19%

Full EPSS history (4 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2026-42015

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.3 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
3.9 1.4 [email protected]

Weakness enumeration for CVE-2026-42015

GitHub Security Advisory for CVE-2026-42015

GHSA-45p2-c2m2-2656 · Severity: medium — A flaw was found in gnutls. An off-by-one error exists in the PKCS#12 bag element bounds check....

OS Trackers for CVE-2026-42015

vendor priority summary link
debian not yet assigned CVE-2026-42015 not yet assigned priority: Debian including 1 source packages (gnutls28), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2026-42015
suse medium https://www.suse.com/security/cve/CVE-2026-42015/
ubuntu medium CVE-2026-42015 medium priority: Ubuntu including 1 source packages (gnutls28), 8 status rows across 8 suites (bionic, focal, jammy, noble, questing, resolute, upstream, xenial): released 5, needs-triage 3. https://ubuntu.com/security/CVE-2026-42015

Affected software / configurations for CVE-2026-42015

Vendor Product Version Raw CPE
No affected products in dataset.

References for CVE-2026-42015

cvelogic Threat Intelligence