CVE-2025-6395Gnutls: null pointer dereference in _gnutls_figure_common_ciphersuite()
A NULL pointer dereference flaw was found in the GnuTLS software in _gnutls_figure_common_ciphersuite().
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | gnutls28 | Fixed | 3.8.9-3ubuntu1 | UBUNTU-CVE-2025-6395 |
| Ubuntu 24.04 | gnutls28 | Fixed | 3.8.3-1.1ubuntu3.4 | UBUNTU-CVE-2025-6395 |
| Ubuntu 22.04 | gnutls28 | Fixed | 3.7.3-4ubuntu1.7 | UBUNTU-CVE-2025-6395 |
| Ubuntu 20.04 | gnutls28 | Fix pending | 3.6.13-2ubuntu1.12+esm1 (Ubuntu Pro) | UBUNTU-CVE-2025-6395 |
| Debian 14 | gnutls28 | Fixed | 3.8.9-3 | DEBIAN-CVE-2025-6395 |
| Debian 13 | gnutls28 | Fixed | 3.8.9-3 | DEBIAN-CVE-2025-6395 |
| Debian 12 | gnutls28 | Fixed | 3.7.9-2+deb12u5 | DEBIAN-CVE-2025-6395 |
| Red Hat Enterprise Linux 10 | gnutls | Fixed | 0:3.8.9-9.el10_0.14 | RHSA-2025:16115 |
| Red Hat Enterprise Linux 10 | gnutls-c++ | Fixed | 0:3.8.9-9.el10_0.14 | RHSA-2025:16115 |
| Red Hat Enterprise Linux 10 | gnutls-dane | Fixed | 0:3.8.9-9.el10_0.14 | RHSA-2025:16115 |
| Red Hat Enterprise Linux 10 | gnutls-devel | Fixed | 0:3.8.9-9.el10_0.14 | RHSA-2025:16115 |
| Red Hat Enterprise Linux 10 | gnutls-fips | Fixed | 0:3.8.9-9.el10_0.14 | RHSA-2025:16115 |
| Red Hat Enterprise Linux 10 | gnutls-utils | Fixed | 0:3.8.9-9.el10_0.14 | RHSA-2025:16115 |
| Red Hat Enterprise Linux 9 | gnutls | Fixed | 0:3.8.3-6.el9_6.2 | RHSA-2025:16116 |
| Red Hat Enterprise Linux 9 | gnutls-c++ | Fixed | 0:3.8.3-6.el9_6.2 | RHSA-2025:16116 |
| Red Hat Enterprise Linux 9 | gnutls-dane | Fixed | 0:3.8.3-6.el9_6.2 | RHSA-2025:16116 |
| Red Hat Enterprise Linux 9 | gnutls-devel | Fixed | 0:3.8.3-6.el9_6.2 | RHSA-2025:16116 |
| Red Hat Enterprise Linux 9 | gnutls-utils | Fixed | 0:3.8.3-6.el9_6.2 | RHSA-2025:16116 |
| Red Hat Enterprise Linux 8 | gnutls | Fixed | 0:3.6.16-8.el8_10.4 | RHSA-2025:17415 |
| Red Hat Enterprise Linux 8 | gnutls-c++ | Fixed | 0:3.6.16-8.el8_10.4 | RHSA-2025:17415 |
| Red Hat Enterprise Linux 8 | gnutls-dane | Fixed | 0:3.6.16-8.el8_10.4 | RHSA-2025:17415 |
| Red Hat Enterprise Linux 8 | gnutls-devel | Fixed | 0:3.6.16-8.el8_10.4 | RHSA-2025:17415 |
| Red Hat Enterprise Linux 8 | gnutls-utils | Fixed | 0:3.6.16-8.el8_10.4 | RHSA-2025:17415 |
| Red Hat Enterprise Linux 7 | gnutls | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnutls-c++ | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnutls-dane | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnutls-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | gnutls-utils | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnutls | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnutls-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnutls-guile | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | gnutls-utils | Will not fix Out of support scope | ||
| AlmaLinux 10 | gnutls | Fixed | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux 10 | gnutls-c++ | Fixed | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux 10 | gnutls-dane | Fixed | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux 10 | gnutls-devel | Fixed | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux 10 | gnutls-fips | Fixed | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux 10 | gnutls-utils | Fixed | 3.8.9-9.el10_0.14 | ALSA-2025:16115 |
| AlmaLinux 9 | gnutls | Fixed | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux 9 | gnutls-c++ | Fixed | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux 9 | gnutls-dane | Fixed | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux 9 | gnutls-devel | Fixed | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux 9 | gnutls-utils | Fixed | 3.8.3-6.el9_6.2 | ALSA-2025:16116 |
| AlmaLinux 8 | gnutls | Fixed | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux 8 | gnutls-c++ | Fixed | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux 8 | gnutls-dane | Fixed | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux 8 | gnutls-devel | Fixed | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| AlmaLinux 8 | gnutls-utils | Fixed | 3.6.16-8.el8_10.4 | ALSA-2025:17415 |
| Rocky Linux 10 | gnutls | Fixed | 0:3.8.9-9.el10_0.14 | RLSA-2025:16115 |
| Rocky Linux 9 | gnutls | Fixed | 0:3.8.3-6.el9_6.2 | RLSA-2025:16116 |
| Rocky Linux 8 | gnutls | Fixed | 0:3.6.16-8.el8_10.4 | RLSA-2025:17415 |
| Alpine Linux 3.24 | gnutls | Fixed | 3.8.11-r0 | ALPINE-CVE-2025-6395 |
| Alpine Linux 3.23 | gnutls | Fixed | 3.8.11-r0 | ALPINE-CVE-2025-6395 |
| Alpine Linux 3.22 | gnutls | Fixed | 3.8.12-r0 | ALPINE-CVE-2025-6395 |
| Alpine Linux 3.21 | gnutls | Fixed | 3.8.12-r0 | ALPINE-CVE-2025-6395 |
| Alpine Linux 3.20 | gnutls | Fixed | 3.8.12-r0 | ALPINE-CVE-2025-6395 |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libgnutls: affected: before 3.8.10; fixed in
3.8.10 - Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
- Red Hat Enterprise Linux 9.4 Extended Update Support
- Red Hat Ceph Storage 7
- Red Hat Discovery 2
- Red Hat Insights proxy 1.5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat OpenShift Container Platform 4
Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2025:16115 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:16116 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:17181 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:17348 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:17361 (vendor-advisory)
- https://access.redhat.com/errata/RHSA-2025:17415 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2025:16115
- https://access.redhat.com/errata/RHSA-2025:16116
- https://access.redhat.com/errata/RHSA-2025:17181
- https://access.redhat.com/errata/RHSA-2025:17348
- https://access.redhat.com/errata/RHSA-2025:17361
- https://access.redhat.com/errata/RHSA-2025:17415
- https://access.redhat.com/errata/RHSA-2025:19088
- https://access.redhat.com/errata/RHSA-2025:22529
- https://access.redhat.com/security/cve/CVE-2025-6395
- https://bugzilla.redhat.com/show_bug.cgi?id=2376755
- https://gitlab.com/gnutls/gnutls/-/issues/1718
- https://lists.gnupg.org/pipermail/gnutls-help/2025-July/004883.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.