CVE-2026-127040
published medium CVSS 3.1 · 5.9gnutls: denial of service via memory allocation failure in RSA-PSK ClientKeyExchange
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GnuTLS Project | — | gnutlsGnuTLS · 3.7.7 through 3.8.13 · Other versions: unaffected | Affected | Not stated | gnutls |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | gnutls | Fixed | 3.8.14-r0 | Package fix record |
| Alpine Linux | v3.21 | gnutls | Fixed | 3.8.14-r0 | Package fix record |
| Alpine Linux | v3.22 | gnutls | Fixed | 3.8.14-r0 | Package fix record |
| Alpine Linux | v3.23 | gnutls | Fixed | 3.8.14-r0 | Package fix record |
| Alpine Linux | v3.24 | gnutls | Fixed | 3.8.14-r0 | Package fix record |
Description
The RSA-PSK ClientKeyExchange handler in gnutls before 3.8.14 does not return after detecting a memory allocation failure when copying the PSK username, which allows remote attackers to cause a denial of service for a peer under heap pressure.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- gnutls · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GnuTLS Project | GnuTLS | 3.7.7 through 3.8.13 (affected · semver)Default: unaffected | gnutls · cna |
Weaknesses
1- CWE-476 CWE-476: NULL Pointer Dereference
References
2- Missing return after gnutls_assert_val() in RSA-PSK ClientKeyExchange handler https://gitlab.com/gnutls/gnutls/-/work_items/1868
- https://gnutls.org/security-new.html
Provider assertions
2gnutls · cna
gnutls: denial of service via memory allocation failure in RSA-PSK ClientKeyExchange
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc2fd608e02460ffda47ba7ecda3c7e1d53160595cdb0ee1e7063a55db05340c
- Ingested
- 19 Nov 2026, 15:40:29 UTC
- Source record
- Official CVE record