{
  "id": "CVE-2026-34181",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-34181",
  "published_at": "2026-06-09T16:03:22.065Z",
  "title": "PKCS#12 Files with PBMAC1 Are Accepted with Short HMAC Keys",
  "vendor": "OpenSSL",
  "product": "OpenSSL",
  "cvss": {
    "score": 7.4,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Issue Summary: The PKCS#12 file processing fails to perform sufficient input\nvalidation for files that use Password-Based Message Authentication Code 1\n(PBMAC1) integrity mechanism allowing a certificate and private key forgery.\n\nImpact Summary: An attacker impersonating a user can cause a service reading\nPKCS#12 files to accept forged certificates and private keys with a 1 in 256\nprobability.\n\nIf a service accepting PKCS#12 files is using passwords for authenticating\nthe received files, the attacker can create unencrypted PKCS#12 files that\nuse PBMAC1 authentication that specifies an HMAC key of only one byte, allowing\nthem to craft a file that will be accepted with a 1 in 256 probability.\nThat would then cause the service to accept a certificate and private key\ncontrolled by the attacker.\n\nThe FIPS modules are not affected by this issue, as the affected code is\noutside the OpenSSL FIPS module boundary.",
  "cwe": "CWE-354",
  "cpes": [
    "cpe:2.3:a:openssl:openssl:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:openssl:openssl:4.0.0:-:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "OpenSSL",
        "product": "OpenSSL",
        "ranges": [
          "\u003e= 4.0.0, \u003c 4.0.1",
          "\u003e= 3.6.0, \u003c 3.6.3",
          "\u003e= 3.5.0, \u003c 3.5.7",
          "\u003e= 3.4.0, \u003c 3.4.6"
        ],
        "fixed_in": [
          "4.0.1",
          "3.6.3",
          "3.5.7",
          "3.4.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade OpenSSL to 4.0.1 or 3.6.3 or 3.5.7 or 3.4.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://openssl-library.org/news/secadv/20260609.txt"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openssl/openssl/commit/0300eb9ddce7a0895bf301a4b0c03a9da2313a0f"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openssl/openssl/commit/ec36f2417c4ddd8cabce4b4a60a3d7a7365f2d81"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openssl/openssl/commit/85dcbb3abaa4878af5c8fbbe11bce708fcf984a7"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/openssl/openssl/commit/79eb76a937e474bb7610a0a3dc57131dc8dc6610"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
