p PatchFirst

CVE-2026-127231

CVE-2026-127231 · gnutls: double free in X.509 name constraints deinitialization after failed memory allocation

CVSS 5.9 · Medium · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • gnutlsUpdate to 3.8.14
  • gnutls Alpine 3.21Update to 3.8.14-r0
  • gnutls Alpine 3.22Update to 3.8.14-r0
  • gnutls Alpine 3.23Update to 3.8.14-r0
  • and 14 more

Check the installed version:

apk list -I -o gnutls

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

A double free in the X.509 name constraints enforcement of GnuTLS 3.8.13 on all platforms allows a remote attacker to cause a denial of service (application crash) via a certificate chain containing a NameConstraints extension processed while the application is under memory pressure. When an already populated name constraints object is reinitialized, previously freed list pointers are not cleared, so a memory allocation failure precisely at reinitialization leaves a dangling pointer that is freed again during a later cleanup.

Published
Updated

Stack: system

Affected products and versions

  • gnutls

    Versions
    • ≥ 3.8.13, < 3.8.14: Affected (semver)

    Update to 3.8.14

  • gnutls Alpine 3.21

    Affected ranges
    • ECOSYSTEM: < 3.8.14-r0

    Update to 3.8.14-r0

  • gnutls Alpine 3.22

    Affected ranges
    • ECOSYSTEM: < 3.8.14-r0

    Update to 3.8.14-r0

  • gnutls Alpine 3.23

    Affected ranges
    • ECOSYSTEM: < 3.8.14-r0

    Update to 3.8.14-r0

  • gnutls Alpine 3.24

    Affected ranges
    • ECOSYSTEM: < 3.8.14-r0

    Update to 3.8.14-r0

  • gnutls28 Debian 12

    Versions
    • 3.7.9-2
    • 3.7.9-2+deb12u1
    • 3.7.9-2+deb12u2
    • 3.7.9-2+deb12u3
    • 3.7.9-2+deb12u4
    • 3.7.9-2+deb12u5
    All versions (47)
    • 3.7.9-2+deb12u6
    • 3.7.9-2+deb12u7
    • 3.7.9-2+loong64
    • 3.8.0+git20230413-1
    • 3.8.0+git20230529-1
    • 3.8.0+git20230713-1
    • 3.8.1-1
    • 3.8.1-2
    • 3.8.1-3
    • 3.8.1-4
    • 3.8.10-1
    • 3.8.10-2
    • 3.8.10-3
    • 3.8.11-1
    • 3.8.11-2
    • 3.8.11-3
    • 3.8.12-1
    • 3.8.12-2
    • 3.8.12-3
    • 3.8.12-4
    • 3.8.13-1
    • 3.8.14-1
    • 3.8.14-2
    • 3.8.2-1
    • 3.8.3-1
    • 3.8.3-1.1
    • 3.8.3-1.1~exp1
    • 3.8.4-1
    • 3.8.4-2
    • 3.8.5-1
    • 3.8.5-2
    • 3.8.5-3
    • 3.8.5-4
    • 3.8.6-1
    • 3.8.6-2
    • 3.8.7.1-1
    • 3.8.8-1
    • 3.8.8-2
    • 3.8.9-1
    • 3.8.9-2
    • 3.8.9-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Debian 13

    Versions
    • 3.8.10-1
    • 3.8.10-2
    • 3.8.10-3
    • 3.8.11-1
    • 3.8.11-2
    • 3.8.11-3
    All versions (18)
    • 3.8.12-1
    • 3.8.12-2
    • 3.8.12-3
    • 3.8.12-4
    • 3.8.13-1
    • 3.8.14-1
    • 3.8.14-2
    • 3.8.9-3
    • 3.8.9-3+deb13u1
    • 3.8.9-3+deb13u2
    • 3.8.9-3+deb13u3
    • 3.8.9-3+deb13u4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Debian 14

    Versions
    • 3.8.10-1
    • 3.8.10-2
    • 3.8.10-3
    • 3.8.11-1
    • 3.8.11-2
    • 3.8.11-3
    All versions (14)
    • 3.8.12-1
    • 3.8.12-2
    • 3.8.12-3
    • 3.8.12-4
    • 3.8.13-1
    • 3.8.14-1
    • 3.8.14-2
    • 3.8.9-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu Pro 16.04 LTS

    Versions
    • 3.3.15-5ubuntu2
    • 3.3.18-1ubuntu1
    • 3.3.20-1ubuntu1
    • 3.4.9-2ubuntu1
    • 3.4.10-4ubuntu1
    • 3.4.10-4ubuntu1.1
    All versions (18)
    • 3.4.10-4ubuntu1.2
    • 3.4.10-4ubuntu1.3
    • 3.4.10-4ubuntu1.4
    • 3.4.10-4ubuntu1.5
    • 3.4.10-4ubuntu1.6
    • 3.4.10-4ubuntu1.7
    • 3.4.10-4ubuntu1.8
    • 3.4.10-4ubuntu1.9
    • 3.4.10-4ubuntu1.9+esm1
    • 3.4.10-4ubuntu1.9+esm2
    • 3.4.10-4ubuntu1.9+esm3
    • 3.4.10-4ubuntu1.9+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu Pro 18.04 LTS

    Versions
    • 3.5.8-6ubuntu3
    • 3.5.17-1ubuntu1
    • 3.5.17-1ubuntu3
    • 3.5.18-1ubuntu1
    • 3.5.18-1ubuntu1.1
    • 3.5.18-1ubuntu1.2
    All versions (14)
    • 3.5.18-1ubuntu1.3
    • 3.5.18-1ubuntu1.4
    • 3.5.18-1ubuntu1.5
    • 3.5.18-1ubuntu1.6
    • 3.5.18-1ubuntu1.6+esm1
    • 3.5.18-1ubuntu1.6+esm2
    • 3.5.18-1ubuntu1.6+esm3
    • 3.5.18-1ubuntu1.6+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu Pro 20.04 LTS

    Versions
    • 3.6.9-5ubuntu1
    • 3.6.9-5ubuntu2
    • 3.6.10-5
    • 3.6.11.1-2
    • 3.6.11.1-2ubuntu2
    • 3.6.13-2ubuntu1
    All versions (19)
    • 3.6.13-2ubuntu1.1
    • 3.6.13-2ubuntu1.2
    • 3.6.13-2ubuntu1.3
    • 3.6.13-2ubuntu1.6
    • 3.6.13-2ubuntu1.7
    • 3.6.13-2ubuntu1.8
    • 3.6.13-2ubuntu1.9
    • 3.6.13-2ubuntu1.10
    • 3.6.13-2ubuntu1.11
    • 3.6.13-2ubuntu1.12
    • 3.6.13-2ubuntu1.12+esm1
    • 3.6.13-2ubuntu1.12+esm2
    • 3.6.13-2ubuntu1.12+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu 22.04 LTS

    Versions
    • 3.7.1-5ubuntu1
    • 3.7.2-2ubuntu1
    • 3.7.2-4ubuntu1
    • 3.7.2-5ubuntu1
    • 3.7.3-4ubuntu1
    • 3.7.3-4ubuntu1.1
    All versions (14)
    • 3.7.3-4ubuntu1.2
    • 3.7.3-4ubuntu1.3
    • 3.7.3-4ubuntu1.4
    • 3.7.3-4ubuntu1.5
    • 3.7.3-4ubuntu1.6
    • 3.7.3-4ubuntu1.7
    • 3.7.3-4ubuntu1.8
    • 3.7.3-4ubuntu1.9
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu Pro FIPS-preview 22.04 LTS

    Versions
    • 3.7.3-4ubuntu1.2+Fips1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu Pro FIPS-updates 22.04 LTS

    Versions
    • 3.7.3-4ubuntu1.2+Fips1.1
    • 3.7.3-4ubuntu1.3+Fips1.1
    • 3.7.3-4ubuntu1.4+Fips1
    • 3.7.3-4ubuntu1.5+Fips1
    • 3.7.3-4ubuntu1.6+Fips1
    • 3.7.3-4ubuntu1.7+Fips1
    All versions (9)
    • 3.7.3-4ubuntu1.7+Fips1.1
    • 3.7.3-4ubuntu1.8+Fips1.1
    • 3.7.3-4ubuntu1.9+Fips1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu 24.04 LTS

    Versions
    • 3.8.1-4ubuntu1
    • 3.8.1-4ubuntu6
    • 3.8.1-4ubuntu7
    • 3.8.3-1ubuntu1
    • 3.8.3-1.1ubuntu2
    • 3.8.3-1.1ubuntu3
    All versions (12)
    • 3.8.3-1.1ubuntu3.1
    • 3.8.3-1.1ubuntu3.2
    • 3.8.3-1.1ubuntu3.3
    • 3.8.3-1.1ubuntu3.4
    • 3.8.3-1.1ubuntu3.5
    • 3.8.3-1.1ubuntu3.6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu Pro FIPS-updates 24.04 LTS

    Versions
    • 3.8.3-1.1ubuntu3.1+Fips1
    • 3.8.3-1.1ubuntu3.4+Fips1
    • 3.8.3-1.1ubuntu3.4+Fips1.1
    • 3.8.3-1.1ubuntu3.5+Fips1.1
    • 3.8.3-1.1ubuntu3.6+Fips1.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu 26.10

    Versions
    • 3.8.12-2ubuntu1
    • 3.8.12-2ubuntu1.1
    • 3.8.13-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • gnutls28 Ubuntu 26.04 LTS

    Versions
    • 3.8.9-3ubuntu2
    • 3.8.10-3ubuntu1
    • 3.8.12-2ubuntu1
    • 3.8.12-2ubuntu1.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →