CVE catalog

CVE-2026-42015

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 appe

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.73% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangnutls28sid3.8.13-1fixed
Debiangnutls28forky3.8.13-1fixed
Debiangnutls28trixie3.8.9-3+deb13u4fixed
Debiangnutls28trixie-security3.8.9-3+deb13u4fixed
Debiangnutls28bookworm3.7.9-2+deb12u7fixed
Debiangnutls28bookworm-security3.7.9-2+deb12u7fixed
Cpegnutls28Not reported3.8.3-1.1ubuntu3.6fixed
Cpegnutls-binNot reported3.8.3-1.1ubuntu3.6fixed
Cpegnutls-docNot reported3.8.3-1.1ubuntu3.6fixed
Cpelibgnutls-dane0t64Not reported3.8.3-1.1ubuntu3.6fixed
Cpelibgnutls-openssl27t64Not reported3.8.3-1.1ubuntu3.6fixed
Cpelibgnutls28-devNot reported3.8.3-1.1ubuntu3.6fixed
Cpelibgnutls30t64Not reported3.8.3-1.1ubuntu3.6fixed
Alpinegnutls3.203.8.13-r0fixed
Alpinegnutls3.213.8.13-r0fixed
Alpinegnutls3.223.8.13-r0fixed
Alpinegnutls3.233.8.13-r0fixed
Alpinegnutls3.243.8.13-r0fixed
Ubuntugnutls28pro3.8.3-1.1ubuntu3.1+Fips1vulnerable
Ubuntugnutls28pro3.8.3-1.1ubuntu3.4+Fips1vulnerable
Ubuntugnutls28pro3.8.3-1.1ubuntu3.4+Fips1.1vulnerable
Ubuntugnutls28pro3.8.3-1.1ubuntu3.5+Fips1.1vulnerable
Ubuntugnutls28pro3.8.3-1.1ubuntu3.6+Fips1.2fixed
Ubuntugnutls2822.043.7.1-5ubuntu1vulnerable
Ubuntugnutls2822.043.7.2-2ubuntu1vulnerable
Ubuntugnutls2822.043.7.2-4ubuntu1vulnerable
Ubuntugnutls2822.043.7.2-5ubuntu1vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.1vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.2vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.3vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.4vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.5vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.6vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.7vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.8vulnerable
Ubuntugnutls2822.043.7.3-4ubuntu1.9fixed
Ubuntugnutls2824.043.8.1-4ubuntu1vulnerable
Ubuntugnutls2824.043.8.1-4ubuntu6vulnerable
Ubuntugnutls2824.043.8.1-4ubuntu7vulnerable
Ubuntugnutls2824.043.8.3-1ubuntu1vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu2vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3.1vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3.2vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3.3vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3.4vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3.5vulnerable
Ubuntugnutls2824.043.8.3-1.1ubuntu3.6fixed
Ubuntugnutls2825.103.8.9-2ubuntu3vulnerable
Ubuntugnutls2825.103.8.9-3ubuntu1vulnerable
Ubuntugnutls2825.103.8.9-3ubuntu2vulnerable
Ubuntugnutls2825.103.8.9-3ubuntu2.1vulnerable
Ubuntugnutls2825.103.8.9-3ubuntu2.2fixed
Ubuntugnutls2826.043.8.9-3ubuntu2vulnerable
Ubuntugnutls2826.043.8.10-3ubuntu1vulnerable
Ubuntugnutls2826.043.8.12-2ubuntu1vulnerable
Ubuntugnutls2826.043.8.12-2ubuntu1.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangnutls28sourcesid3.8.13-1not yet assignedNot reported[1135319]
Debiangnutls28sourceforky3.8.13-1not yet assignedNot reported[1135319]
Debiangnutls28sourcetrixie3.8.9-3+deb13u4not yet assignedNot reported[1135319]
Debiangnutls28sourcebookworm3.7.9-2+deb12u7not yet assignedNot reported[1135319]
Cpegnutls28cpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Cpegnutls-bincpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Cpegnutls-doccpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Cpelibgnutls-dane0t64cpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Cpelibgnutls-openssl27t64cpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Cpelibgnutls28-devcpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Cpelibgnutls30t64cpeNot reported3.8.3-1.1ubuntu3.6Not reportedNot reportedNot reported
Alpinegnutlsapk3.203.8.13-r0Not reportedALPINE-CVE-2026-42015Not reported
Alpinegnutlsapk3.213.8.13-r0Not reportedALPINE-CVE-2026-42015Not reported
Alpinegnutlsapk3.223.8.13-r0Not reportedALPINE-CVE-2026-42015Not reported
Alpinegnutlsapk3.233.8.13-r0Not reportedALPINE-CVE-2026-42015Not reported
Alpinegnutlsapk3.243.8.13-r0Not reportedALPINE-CVE-2026-42015Not reported
Ubuntugnutls28debpro3.8.3-1.1ubuntu3.6+Fips1.2Not reportedUBUNTU-CVE-2026-42015Not reported
Ubuntugnutls28deb22.043.7.3-4ubuntu1.9Not reportedUBUNTU-CVE-2026-42015Not reported
Ubuntugnutls28deb24.043.8.3-1.1ubuntu3.6Not reportedUBUNTU-CVE-2026-42015Not reported
Ubuntugnutls28deb25.103.8.9-3ubuntu2.2Not reportedUBUNTU-CVE-2026-42015Not reported
Ubuntugnutls28deb26.043.8.12-2ubuntu1.1Not reportedUBUNTU-CVE-2026-42015Not reported

[Debian bug #1135319]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gnutls-bin]Fixed

    Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • [gnutls-doc]Fixed

    Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · all · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · all · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · all · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · all · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

  • Source package: [gnutls28]

    Details (4)
    • 3.7.9-2+deb12u7 · amd64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · amd64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

    • 3.7.9-2+deb12u7 · arm64 · bookworm-security

      Fixed · Fixed: 3.7.9-2+deb12u7

      nvd · gnutls28 · debian · bookworm

Observed:

References