CVE Vulnerabilities

CVE-2022-2509

Double Free

Published: Aug 01, 2022 | Modified: Dec 02, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A vulnerability found in gnutls. This security flaw happens because of a double free error occurs during verification of pkcs7 signatures in gnutls_pkcs7_verify function.

Weakness

The product calls free() twice on the same memory address.

Affected Software

NameVendorStart VersionEnd Version
GnutlsGnu*3.7.7 (excluding)
Red Hat Enterprise Linux 8RedHatgnutls-0:3.6.16-5.el8_6*
Red Hat Enterprise Linux 8RedHatgnutls-0:3.6.16-5.el8_6*
Red Hat Enterprise Linux 9RedHatgnutls-0:3.7.6-12.el9_0*
Red Hat Enterprise Linux 9RedHatgnutls-0:3.7.6-12.el9_0*
Gnutls28Ubuntubionic*
Gnutls28Ubuntuesm-infra/bionic*
Gnutls28Ubuntuesm-infra/focal*
Gnutls28Ubuntufocal*
Gnutls28Ubuntujammy*
Gnutls28Ubuntukinetic*
Gnutls28Ubuntutrusty*
Gnutls28Ubuntuupstream*
Gnutls28Ubuntuxenial*

Potential Mitigations

References