CVE-2025-9820 Gnutls: stack-based buffer overflow in gnutls_pkcs11_token_init() function
MediumCVSS 4.0
EPSS 0.22%
- Published
- Updated
- Exploit status
- No public exploit known
Description
A flaw was found in the GnuTLS library, specifically in the gnutls_pkcs11_token_init() function that handles PKCS#11 token initialization. When a token label longer than expected is processed, the function writes past the end of a fixed-size stack buffer. This programming error can cause the application using GnuTLS to crash or, in certain conditions, be exploited for code execution. As a result, systems or applications relying on GnuTLS may be vulnerable to a denial of service or local privilege escalation attacks.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/gnutls28(Debian:12) | < 3.7.9-2+deb12u6 | 3.7.9-2+deb12u6 |
| debian/gnutls28(Debian:12) | = 3.7.9-2 | No fix listed |
| debian/gnutls28(Debian:12) | = 3.7.9-2+deb12u1 | No fix listed |
| debian/gnutls28(Debian:12) | = 3.7.9-2+deb12u2 | No fix listed |
| debian/gnutls28(Debian:12) | = 3.7.9-2+deb12u3 | No fix listed |
| debian/gnutls28(Debian:12) | = 3.7.9-2+deb12u4 | No fix listed |
| debian/gnutls28(Debian:12) | = 3.7.9-2+deb12u5 | No fix listed |
| debian/gnutls28(Debian:13) | < 3.8.9-3+deb13u1 | 3.8.9-3+deb13u1 |
| debian/gnutls28(Debian:13) | = 3.8.9-3 | No fix listed |
| debian/gnutls28(Debian:14) | < 3.8.11-3 | 3.8.11-3 |
| debian/gnutls28(Debian:14) | = 3.8.10-1 | No fix listed |
| debian/gnutls28(Debian:14) | = 3.8.10-2 | No fix listed |
| debian/gnutls28(Debian:14) | = 3.8.10-3 | No fix listed |
| debian/gnutls28(Debian:14) | = 3.8.11-1 | No fix listed |
| debian/gnutls28(Debian:14) | = 3.8.11-2 | No fix listed |
| debian/gnutls28(Debian:14) | = 3.8.9-3 | No fix listed |
| gnutls | = 3.8.1 | No fix listed |
| gnutls | = 3.8.2 | No fix listed |
| gnutls | = 3.8.3 | No fix listed |
| gnutls | = 3.8.4 | No fix listed |
| gnutls | = 3.8.5 | No fix listed |
| gnutls | = 3.8.6 | No fix listed |
| gnutls | = 3.8.7 | No fix listed |
| gnutls | = 3.8.8 | No fix listed |
| gnutls | = 3.8.9 | No fix listed |
Show 63 more
| Product | Affected versions | Fixed in |
|---|---|---|
| gnutls | = 3.8.10 | No fix listed |
| redhat enterprise linux | < 0:3.8.10-3.el10_1 | 0:3.8.10-3.el10_1 |
| redhat enterprise linux | < 0:3.6.16-8.el8_10.5 | 0:3.6.16-8.el8_10.5 |
| redhat enterprise linux | < 0:3.8.3-10.el9_7 | 0:3.8.3-10.el9_7 |
| redhat rhosemc | < 7.13.5-4.1777325677 | 7.13.5-4.1777325677 |
| redhat rhosemc | < 7.13.5-4.1777325711 | 7.13.5-4.1777325711 |
| redhat rhosemc | < 7.13.5-4.1777325710 | 7.13.5-4.1777325710 |
| redhat rhosemc | < 7.13.5-3.1777325680 | 7.13.5-3.1777325680 |
| redhat rhosemc | < 7.13.5-4.1777325709 | 7.13.5-4.1777325709 |
| redhat rhosemc | < 7.13.5-4.1777325680 | 7.13.5-4.1777325680 |
| redhat rhosemc | < 7.13.5-4.1777325708 | 7.13.5-4.1777325708 |
| redhat cert manager | < 1791459707 | 1791459707 |
| redhat cert manager | < 1791459711 | 1791459711 |
| redhat cert manager | < 1791459759 | 1791459759 |
| redhat cert manager | < 1789029076 | 1789029076 |
| redhat cert manager | < 1791966259 | 1791966259 |
| redhat ceph storage | < 1774002867 | 1774002867 |
| redhat discovery | < 1775668717 | 1775668717 |
| redhat discovery | < 1775675922 | 1775675922 |
| redhat hummingbird | < 3.8.12-1.1.hum1 | 3.8.12-1.1.hum1 |
| redhat insights proxy | < 1773685509 | 1773685509 |
| redhat rhui | < 1773670073 | 1773670073 |
| redhat rhui | < 1773672059 | 1773672059 |
| redhat rhui | < 1773668803 | 1773668803 |
| redhat rhui | < 1773670137 | 1773670137 |
| redhat rhel els | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| Siemens SIMATIC CN 4100 | < V5.0 | V5.0 |
| ubuntu/gnutls28(Ubuntu:22.04) | < 3.7.3-4ubuntu1.8 | 3.7.3-4ubuntu1.8 |
| alpine/gnutls(Alpine:v3.20) | < 3.8.12-r0 | 3.8.12-r0 |
| alpine/gnutls(Alpine:v3.21) | < 3.8.12-r0 | 3.8.12-r0 |
| alpine/gnutls(Alpine:v3.22) | < 3.8.12-r0 | 3.8.12-r0 |
| alpine/gnutls(Alpine:v3.23) | < 3.8.11-r0 | 3.8.11-r0 |
| alpine/gnutls(Alpine:v3.24) | < 3.8.11-r0 | 3.8.11-r0 |
| redhat/gnutls(Red Hat:enterprise_linux:10.1) | < 3.8.10-3.el10_1 | 3.8.10-3.el10_1 |
| redhat/gnutls(Red Hat:enterprise_linux:8) | < 3.6.16-8.el8_10.5 | 3.6.16-8.el8_10.5 |
| redhat/gnutls(Red Hat:enterprise_linux:9) | < 3.8.3-10.el9_7 | 3.8.3-10.el9_7 |
| redhat/rhpam-7/rhpam-businesscentral-monitoring-rhel8:7.13.5-4.1777325677(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/rhpam-7/rhpam-businesscentral-rhel8:7.13.5-4.1777325711(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/rhpam-7/rhpam-controller-rhel8:7.13.5-4.1777325710(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/rhpam-7/rhpam-dashbuilder-rhel8:7.13.5-3.1777325680(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/rhpam-7/rhpam-kieserver-rhel8:7.13.5-4.1777325709(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/rhpam-7/rhpam-process-migration-rhel8:7.13.5-4.1777325680(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/rhpam-7/rhpam-smartrouter-rhel8:7.13.5-4.1777325708(Red Hat:rhosemc:1.0::el8) | All versions | No fix listed |
| redhat/cert-manager/jetstack-cert-manager-acmesolver-rhel9:1791459707(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/jetstack-cert-manager-rhel9:1791459711(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-istio-csr-rhel9:1791459759(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-rhel9:1789029076(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/cert-manager/cert-manager-operator-bundle:1791966259(Red Hat:cert_manager:1.18::el9) | All versions | No fix listed |
| redhat/rhceph/rhceph-8-rhel9:1774002867(Red Hat:ceph_storage:8::el9) | All versions | No fix listed |
| redhat/discovery/discovery-server-rhel9:1775668717(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/discovery/discovery-ui-rhel9:1775675922(Red Hat:discovery:2::el9) | All versions | No fix listed |
| redhat/gnutls-main(Red Hat:hummingbird:1) | < 3.8.12-1.1.hum1 | 3.8.12-1.1.hum1 |
| redhat/insights-proxy/insights-proxy-container-rhel9:1773685509(Red Hat:insights_proxy:1.5::el9) | All versions | No fix listed |
| redhat/rhui5/cds-rhel9:1773670073(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/haproxy-rhel9:1773672059(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/installer-rhel9:1773668803(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/rhui5/rhua-rhel9:1773670137(Red Hat:rhui:5::el9) | All versions | No fix listed |
| redhat/gnutls(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/gnutls(Red Hat:rhel_els:7) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-9(Red Hat:openshift:4) | All versions | No fix listed |
| ubuntu/gnutls28(Ubuntu:24.04) | < 3.8.3-1.1ubuntu3.5 | 3.8.3-1.1ubuntu3.5 |
References
- Debian Security Tracker CVE-2025-9820 vendor-advisory
- RHSA-2026:13812 patch vendor-advisory
- RHSA-2026:3477 patch vendor-advisory
- RHSA-2026:4188 patch vendor-advisory
- RHSA-2026:4655 patch vendor-advisory
- RHSA-2026:4943 patch vendor-advisory
- RHSA-2026:5585 patch vendor-advisory
- RHSA-2026:5606 patch vendor-advisory
- RHSA-2026:7329 patch vendor-advisory
- RHSA-2026:7477 patch vendor-advisory
- RHSA-2026:82347 patch vendor-advisory
- RHSA-2026:82354 patch vendor-advisory
- RHSA-2026:82372 patch vendor-advisory
- RHSA-2026:82857 patch vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2392528 issue-tracking
- gitlab.com
- gitlab.com
- www.gnutls.org
- www.openwall.com
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-8043-1 vendor-advisory
- USN-8502-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- nvd.nist.gov
- bugs.debian.org issue-tracking