Skip to content
Heist/ feed
Back to feed
High

openssl_encrypt before 1.4.9 Denial of Service via KDF

Type: advisorySources: OSV

openssl_encrypt before 1.4.9 fails to validate KDF cost parameters in encrypted file metadata and keystore headers, allowing attackers to trigger unbounded memory allocation. Attackers can craft malicious encrypted files declaring arbitrarily large Argon2, scrypt, or balloon KDF parameters to exhaust system memory and crash the process without authentication.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-81721
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 01:16 UTC · Revision 1

Source evidence

openssl_encrypt before 1.4.9 Denial of Service via KDF

core-osv · Original source

Published 27 Aug 2026, 14:51 UTC

openssl_encrypt before 1.4.9 fails to validate KDF cost parameters in encrypted file metadata and keystore headers, allowing attackers to trigger unbounded memory allocation. Attackers can craft malicious encrypted files declaring arbitrarily large Argon2, scrypt, or balloon KDF parameters to exhaust system memory and crash the process without authentication.

osv:CVE-2026-81721
Complete source record
{
  "id": "73e6363845688299b7ec2b5679fc2ef7b7f6990143aa32d73b004b4348c86894",
  "url": "https://osv.dev/vulnerability/CVE-2026-81721",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "openssl_encrypt before 1.4.9 Denial of Service via KDF",
    "summary": "openssl_encrypt before 1.4.9 fails to validate KDF cost parameters in encrypted file metadata and keystore headers, allowing attackers to trigger unbounded memory allocation. Attackers can craft malicious encrypted files declaring arbitrarily large Argon2, scrypt, or balloon KDF parameters to exhaust system memory and crash the process without authentication.",
    "evidence": "osv:CVE-2026-81721",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-81721",
      "aliases": [
        "CVE-2026-81721",
        "GHSA-7894-5gw8-69hr",
        "PYSEC-2026-3803"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/jahlives/openssl_encrypt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "39b0a010cae90520f74b7194f61fedd43af04ef8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4.9"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:jahlives:openssl_encrypt:*:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.4.9"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.4.7",
            "v1.4.6",
            "v1.4.5",
            "v1.4.4",
            "v1.4.2",
            "v1.4.1rc2",
            "v1.4.1rc1",
            "v1.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-81721.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:24.766142231Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81721.json",
        "https://github.com/jahlives/openssl_encrypt/security/advisories/GHSA-7894-5gw8-69hr",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-81721",
        "https://www.vulncheck.com/advisories/openssl-encrypt-before-1.4.9-denial-of-service-via-kdf-2"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-400"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/81xxx/CVE-2026-81721.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-81721",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 491519,
  "published_at": "2026-08-27T14:51:15.109+00:00"
}