CVE-2026-24881

Source
https://cve.org/CVERecord?id=CVE-2026-24881
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-24881.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-24881
Downstream
Related
Published
2026-01-27T18:36:56.727Z
Modified
2026-06-18T03:57:38.821247828Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-121"
    ],
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24881.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "2.5.13"
                },
                {
                    "fixed": "2.5.17"
                }
            ],
            "source": "AFFECTED_FIELD"
        },
        {
            "extracted_events": [
                {
                    "introduced": "2.5.13"
                },
                {
                    "fixed": "2.5.17"
                }
            ],
            "source": "CPE_FIELD"
        },
        {
            "extracted_events": [
                {
                    "fixed": "2.5.17"
                }
            ],
            "source": "DESCRIPTION"
        }
    ]
}
References

Affected packages

Git / git.gnupg.org/gpg4win.git

Affected ranges

Type
GIT
Repo
git://git.gnupg.org/gpg4win.git
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "5.0.0"
        },
        {
            "fixed": "5.0.1"
        }
    ],
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:gpg4win:gpg4win:*:*:*:*:*:*:*:*"
}

Affected versions

gpg4win-5.*
gpg4win-5.0.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-24881.json"