NULL pointer dereference in GnuTLS - CVE-2025-6395

 

NULL pointer dereference in GnuTLS - CVE-2025-6395

Published: July 16, 2025


Vulnerability identifier: #VU112995
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-6395
CWE-ID: CWE-476
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error when a TLS 1.3 handshake involves a Hello Retry Request and the second Client Hello omits the PSK which was present in the first Client Hello. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.


Affected software

GnuTLS
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP3
Gentoo Linux
Debian Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Basesystem Module
openSUSE Leap
Ubuntu
openEuler
Fedora
Netezza Appliance
Financial Transaction Manager for RedHat OpenShift
Robotic Process Automation for Cloud Pak
IBM Observability with Instana
Cryostat
Red Hat Advanced Cluster Management for Kubernetes
Splunk Operator for Kubernetes Add-on
App Connect Enterprise Certified Container
LANTIME Operating System Firmware (LTOS)
Juniper Secure Analytics (JSA)
IBM Qradar SIEM
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
gnutls28 (Ubuntu package)
libgnutls30-32bit
gnutls
libgnutlsxx28
libgnutls30-hmac-32bit
libgnutls30-32bit-debuginfo
libgnutls-devel-32bit
libgnutls30-debuginfo
gnutls-debugsource
libgnutls30-hmac
libgnutlsxx-devel
libgnutls30
libgnutls-devel
libgnutlsxx28-debuginfo
gnutls-debuginfo
gnutls-help
gnutls-utils
gnutls-devel
gnutls (Red Hat package)
gnutls-dane
gnutls-c++
gnutls-guile-debuginfo
libgnutls-devel-64bit
libgnutls30-64bit
libgnutls30-hmac-64bit
libgnutls30-64bit-debuginfo
gnutls-guile
gnutls28 (Debian package)
gnutls-doc
libgnutlsxx30-debuginfo
libgnutlsxx30
net-libs/gnutls
Red Hat OpenShift Serverless
Multicluster Engine for Kubernetes
OpenShift Virtualization
AMQ Broker
IBM CICS TX Standard

How to mitigate CVE-2025-6395

Install update from vendor's website.

GnuTLS - update to 3.8.10
Netezza Appliance - update to 1.0.0.1
IBM Observability with Instana - update to 1.0.308
Cryostat - update to 4.0.3
LANTIME Operating System Firmware (LTOS) - update to 7.08.025
Juniper Secure Analytics (JSA) - update to 7.5.0 UP14 IF01
IBM Qradar SIEM - update to 7.5.0 Update Pack 14 IF01
Robotic Process Automation for Cloud Pak - addressed in versions 23.0.20.5, 30.0.1
Red Hat OpenShift Serverless - update to 1
Multicluster Engine for Kubernetes - update to 2.7.6
Red Hat Advanced Cluster Management for Kubernetes - update to 2.12.5
Splunk Operator for Kubernetes Add-on - update to 3.1.0
gnutls28 (Ubuntu package) - addressed in versions 3.4.10-4ubuntu1.9+esm2, 3.5.18-1ubuntu1.6+esm2, 3.6.13-2ubuntu1.12+esm1, 3.7.3-4ubuntu1.7, 3.8.3-1.1ubuntu3.4, 3.8.9-2ubuntu3.1
libgnutls30-32bit - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutlsxx28 - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
libgnutls30-hmac-32bit - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
libgnutls30-32bit-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls-devel-32bit - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls-debugsource - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-hmac - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
libgnutlsxx-devel - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30 - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls-devel - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutlsxx28-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1
gnutls-debuginfo - addressed in versions 3.6.7-150200.14.37.1, 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls-help - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-utils - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-devel - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-debugsource - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls-debuginfo - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls - addressed in versions 3.6.14-18, 3.7.2-16, 3.7.2-17, 3.8.2-7
gnutls (Red Hat package) - addressed in versions 3.6.16-8.el8_10.4, 3.7.6-21.el9_2.4, 3.8.3-4.el9_4.4, 3.8.3-6.el9_6.2, 3.8.9-9.el10_0.14
gnutls-utils - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-devel - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-dane - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-c++ - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls - addressed in versions 3.6.16-8.0.2, 3.8.2-4
gnutls-guile-debuginfo - update to 3.7.3-150400.4.50.1
libgnutls-devel-64bit - addressed in versions 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-64bit - addressed in versions 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
libgnutls30-hmac-64bit - update to 3.7.3-150400.4.50.1
libgnutls30-64bit-debuginfo - addressed in versions 3.7.3-150400.4.50.1, 3.8.3-150600.4.9.1
gnutls-guile - update to 3.7.3-150400.4.50.1
gnutls28 (Debian package) - update to 3.7.9-2+deb12u5
gnutls-doc - update to 3.8.2-4
gnutls-dane - update to 3.8.2-7
libgnutlsxx30-debuginfo - update to 3.8.3-150600.4.9.1
libgnutlsxx30 - update to 3.8.3-150600.4.9.1
net-libs/gnutls - update to 3.8.10
gnutls - update to 3.8.10-1.fc42
OpenShift Virtualization - update to 4.19.17
AMQ Broker - update to 7.13.2
IBM CICS TX Standard - update to 11.1.0.0 ifix41
App Connect Enterprise Certified Container - update to 12.0.17

External References

Related Security Bulletins