CVE-2026-24881
published high CVSS 3.1 · 8.1GnuPG: Remote code execution and denial of service via crafted CMS EnvelopedData message
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| GnuPG | — | GnuPG2.5.13 to < 2.5.17 · Other versions: unaffected | Affected | Not stated | mitre |
| Red Hat Enterprise Linux | 7, 8, 9, 10 | gnupg2 | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 6 | gnupg2 | Affected | Not stated | redhat-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | dirmngraarch64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dirmngrppc64le | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | dirmngrs390x | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | dirmngrx86_64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2aarch64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2ppc64le | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2s390x | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2x86_64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-langaarch64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-langppc64le | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-langs390x | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-langx86_64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-tpmaarch64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-tpmppc64le | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-tpms390x | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gpg2-tpmx86_64 | Advisory build | 2.5.17-1.1 | OPENSUSE-SU-2026:10112-1 |
Description
In GnuPG before 2.5.17, a crafted CMS (S/MIME) EnvelopedData message carrying an oversized wrapped session key can cause a stack-based buffer overflow in gpg-agent during PKDECRYPT--kem=CMS handling. This can easily be leveraged for denial of service; however, there is also memory corruption that could lead to remote code execution.
A flaw was found in GnuPG. A remote attacker could exploit this vulnerability by sending a specially crafted Cryptographic Message Syntax (CMS) EnvelopedData message. This message, containing an oversized wrapped session key, can cause a stack-based buffer overflow in the gpg-agent component. Successful exploitation may lead to a denial of service and potentially remote code execution.
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
- 8.1 / 10
- Severity
- high
- Provider
- mitre · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| GnuPG | GnuPG | 2.5.13 to < 2.5.17 (affected · semver)Default: unaffected | mitre · cna |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-121 CWE-121 Stack-based Buffer Overflow
- CWE-121 Stack-based Buffer Overflow
References
5- https://access.redhat.com/security/cve/CVE-2026-24881
- RHBZ#2433480 https://bugzilla.redhat.com/show_bug.cgi?id=2433480
- https://dev.gnupg.org/T8044
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24881.json
- https://www.openwall.com/lists/oss-security/2026/01/27/8
Provider assertions
3mitre · cna
redhat-SADP · adp
GnuPG: GnuPG: Remote code execution and denial of service via crafted CMS EnvelopedData message
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ed4c9cf26746dde351ae74d97aa155f512c6430b2d4104fc92a37c776a28429a
- Ingested
- 23 Sep 2026, 09:06:35 UTC
- Source record
- Official CVE record