CVE-2025-6395
Medium · 6.5CVSS
6.5
EPSS
0.8%
Published
Jul 10, 2025
CISA due date
—
Cloudanix analysis
A flaw in encryption software used by many Linux systems can let attackers knock those systems offline until they are updated.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Denial Of Service
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
NULL pointer dereference in GnuTLS _gnutls_figure_common_ciphersuite() during TLS handshake processing that crashes the process or corrupts memory state.
Why it matters to the business
Applications relying on GnuTLS for encrypted connections can be forced offline, interrupting services and requiring restarts or patching across Linux deployments.
How an attack unfolds
An attacker initiates a TLS connection with a specially crafted ClientHello that reaches the vulnerable ciphersuite selection path, triggering the NULL dereference and causing a crash or denial of service.
How to fix it
Upgrade linux-lts packages to the fixed versions: 6.1.81-r0 for Alpaquita:23, 6.6.58-r0 or 6.12.41-r0 for stream, and 6.12.41-r0 for 25; restart affected services after update.
How to confirm the fix worked
Verify installed package versions match the listed fixed releases, run regression tests with TLS handshake fuzzers, and confirm no crash occurs on the previously triggering ClientHello pattern.
Typical attack path
- Identify services exposing GnuTLS over the network
- Craft and send a malicious TLS ClientHello targeting _gnutls_figure_common_ciphersuite()
- Observe service crash or repeated connection failures
- Repeat or automate to sustain denial of service
How to detect it
Monitor process crash logs, GnuTLS debug output, and TLS handshake error rates for sudden spikes; correlate with connection attempts from untrusted sources.
What your security team should do
- Apply the listed package upgrades immediately on all affected Alpaquita systems
- Prioritize internet-facing TLS endpoints first
- Enable GnuTLS logging at debug level temporarily to capture handshake anomalies
- Reassess EPSS trend weekly until the score stabilizes
The record
A NULL pointer dereference flaw was found in the GnuTLS software in _gnutls_figure_common_ciphersuite().
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| AlmaLinux:10 | gnutls | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-c++ | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-dane | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-devel | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-fips | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:10 | gnutls-utils | 0 | 3.8.9-9.el10_0.14 |
| AlmaLinux:8 | gnutls | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-c++ | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-dane | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-devel | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:8 | gnutls-utils | 0 | 3.6.16-8.el8_10.4 |
| AlmaLinux:9 | gnutls | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-c++ | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-dane | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-devel | 0 | 3.8.3-6.el9_6.2 |
| AlmaLinux:9 | gnutls-utils | 0 | 3.8.3-6.el9_6.2 |
| Debian:11 | gnutls28 | 0 | No fix |
| Debian:12 | gnutls28 | 0 | 3.7.9-2+deb12u5 |
| Debian:13 | gnutls28 | 0 | 3.8.9-3 |
| Debian:14 | gnutls28 | 0 | 3.8.9-3 |
| Mageia:9 | gnutls | 0 | 3.8.4-1.2.mga9 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP6 | gnutls | 0 | 3.8.3-150600.4.9.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | gnutls | 0 | 3.8.3-150600.4.9.1 |
| openSUSE:Leap 15.6 | gnutls | 0 | 3.8.3-150600.4.9.1 |
| openSUSE:Tumbleweed | gnutls | 0 | 3.8.10-1.1 |
Related vulnerabilities
- CVE-2025-32990 A heap-buffer-overflow (off-by-one) flaw was found in the GnuTLS software in the template… Also affects gnutls
- CVE-2025-32988 A flaw was found in GnuTLS. Also affects gnutls
- CVE-2025-32989 A heap-buffer-overread vulnerability was found in GnuTLS in how it handles the… Also affects gnutls
- CVE-2024-12243 A flaw was found in GnuTLS, which relies on libtasn1 for ASN.1 data processing. Also affects gnutls
- CVE-2024-28834 A flaw was found in GnuTLS. Also affects gnutls
- CVE-2024-0553 A vulnerability was found in GnuTLS. Also affects gnutls
- CVE-2023-5981 A vulnerability was found that the response times to malformed ciphertexts in RSA-PSK… Also affects gnutls
- CVE-2024-28835 A flaw has been discovered in GnuTLS where an application crash can be induced when… Also affects gnutls