# CVE-2023-5981: Gnutls: timing side-channel in the rsa-psk authentication

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-11-28 · Modified: 2026-11-05
- Aliases: ALPINE-CVE-2023-5981, MGASA-2024-0008, SUSE-SU-2023:4983-1, SUSE-SU-2023:4986-1, RHSA-2024:0155, RHSA-2024:0319, RHSA-2024:0399, RHSA-2024:0451, UBUNTU-CVE-2023-5981, USN-6499-1, USN-6499-2, DEBIAN-CVE-2023-5981, DLA-3660-1, openSUSE-SU-2024:13444-1
- Record: https://cvemate.com/vulnerability/CVE-2023-5981 · JSON: https://cvemate.com/vulnerability/CVE-2023-5981/json

## Description

```text
A vulnerability was found that the response times to malformed ciphertexts in RSA-PSK ClientKeyExchange differ from response times of ciphertexts with correct PKCS#1 v1.5 padding.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 1.415%, percentile 73.676%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 36)

- alpine gnutls (Alpine Linux): \< 3.8.3-r0
- debian gnutls28 (Debian): \< 3.7.9-2+deb12u1 \| \< 3.8.2-1 \| \< 3.6.7-4+deb10u11
- ubuntu gnutls28 (Ubuntu): All versions (No fix recorded) \| \< 3.5.18-1ubuntu1.6+esm1 \| \< 3.6.13-2ubuntu1.9 \| \< 3.7.3-4ubuntu1.3
- debian debian\_linux: 10.0
- fedoraproject fedora: 37 \| 38
- gnu gnutls: \< 3.8.2
- mageia gnutls (Mageia): \< 3.8.0-2.1.mga9
- redhat linux: 8.0 \| 9.0
- opensuse gnutls&distro=openSUSE Leap 15.4 (openSUSE): \< 3.7.3-150400.4.38.1
- opensuse gnutls&distro=openSUSE Leap 15.5 (openSUSE): \< 3.7.3-150400.4.38.1
- opensuse gnutls&distro=openSUSE Leap Micro 5.4 (openSUSE): \< 3.7.3-150400.4.38.1
- opensuse gnutls&distro=openSUSE Tumbleweed (openSUSE): \< 3.8.2-1.1
- redhat gnutls (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-c++ (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-c++-debuginfo (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-dane (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-dane-debuginfo (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-debuginfo (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-debugsource (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1
- redhat gnutls-devel (Red Hat): \< 0:3.6.16-8.el8\_9 \| \< 0:3.6.16-5.el8\_6.2 \| \< 0:3.6.16-7.el8\_8.1 \| \< 0:3.7.6-21.el9\_2.1

## References (first 20 of 35)

- <https://access.redhat.com/errata/RHSA-2024:0155>
- <https://access.redhat.com/errata/RHSA-2024:0319>
- <https://access.redhat.com/errata/RHSA-2024:0399>
- <https://access.redhat.com/errata/RHSA-2024:0451>
- <https://access.redhat.com/errata/RHSA-2024:0533>
- <https://access.redhat.com/errata/RHSA-2024:1383>
- <https://access.redhat.com/errata/RHSA-2024:2094>
- <https://access.redhat.com/security/cve/CVE-2023-5981>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2248445>
- <https://gnutls.org/security-new.html#GNUTLS-SA-2023-10-23>
- <http://www.openwall.com/lists/oss-security/2024/01/19/3>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7ZEIOLORQ7N6WRPFXZSYDL2MC4LP7VFV/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GNXKVR5YNUEBNHAHM5GSYKBZX4W2HMN2/>
- <https://lists.debian.org/debian-lts-announce/2023/11/msg00016.html>
- <https://security.alpinelinux.org/vuln/CVE-2023-5981>
- <https://advisories.mageia.org/MGASA-2024-0008.html>
- <https://bugs.mageia.org/show_bug.cgi?id=32547>
- <https://www.openwall.com/lists/oss-security/2023/11/20/2>
- <https://www.suse.com/support/update/announcement/2023/suse-su-20234983-1/>
- <https://bugzilla.suse.com/1217277>

---

Data as of 2026-12-05T03:09:09.875Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
