CVE-2022-2509: Double Free

Published Jul 20, 2022
·
Updated

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

Other sources

In gnutls upstream we recently received a potential CVE: Double free during gnutlspkcs7verify. https://gitlab.com/gnutls/gnutls/-/issues/1383

— Red Hat

Affected Software

23 affected componentsFixes available
GNU GnuTLS<3.7.7
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Fedoraproject Fedora=35
Debian Debian Linux=10.0
Debian Debian Linux=11.0
debian/gnutls28
3.7.9-2+deb12u73.8.9-3+deb13u43.8.13-1
alpine/gnutls<3.7.1-r1
3.7.1-r1
alpine/gnutls<3.7.1-r1
3.7.1-r1
alpine/gnutls<3.7.1-r1
3.7.1-r1
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
alpine/gnutls<3.7.7-r0
3.7.7-r0
debian/gnutls28<3.7.7-1
3.7.7-1
debian/gnutls28<3.7.7-1
3.7.7-1
debian/gnutls28<3.7.7-1
3.7.7-1
redhat/gnutls<3.7.7
3.7.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.9-2+deb12u7Fixed in 3.8.9-3+deb13u4Fixed in 3.8.13-1
  2. Upgrade

    Upgrade alpine/gnutls to a version that resolves this vulnerability.

    Fixed in 3.7.1-r1
  3. Upgrade

    Upgrade alpine/gnutls to a version that resolves this vulnerability.

    Fixed in 3.7.7-r0
  4. Upgrade

    Upgrade debian/gnutls28 to a version that resolves this vulnerability.

    Fixed in 3.7.7-1
  5. Upgrade

    Upgrade redhat/gnutls to a version that resolves this vulnerability.

    Fixed in 3.7.7

Event History

Jul 20, 2022
Data Sourced
via Red Hat·07:53 AM
DescriptionSeverityAffected Software
Aug 1, 2022
CVE Published
via MITRE·02:01 PM
Data Sourced
via MITRE·02:01 PM
DescriptionWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·02:15 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-2509?

CVE-2022-2509 is a vulnerability found in gnutls. It is a security flaw that occurs due to a double free error during the verification of pkcs7 signatures in the gnutls_pkcs7_verify function.

2

What is the severity of CVE-2022-2509?

CVE-2022-2509 has a severity level of high.

3

Which software is affected by CVE-2022-2509?

CVE-2022-2509 affects Gnu Gnutls, Redhat Enterprise Linux 8.0 and 9.0, Fedoraproject Fedora 35, and Debian Debian Linux 10.0 and 11.0.

4

How can I fix CVE-2022-2509?

To fix CVE-2022-2509, you should update the gnutls28 package to version 3.7.7 or above on affected systems.

5

Where can I find more information about CVE-2022-2509?

You can find more information about CVE-2022-2509 at the following references: [Red Hat](https://access.redhat.com/security/cve/CVE-2022-2509), [Debian LTS Announcement](https://lists.debian.org/debian-lts-announce/2022/08/msg00002.html), [Fedora Project](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6FL27JS3VM74YEQU7PGB62USO3KSBYZX/)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203