{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:*",
            "extracted_events": [
              {
                "introduced": "3.2.0"
              },
              {
                "last_affected": "4.5.1"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "cc76b894169a3c86b71bac10c78a4db6beb7a9ad"
            },
            {
              "last_affected": "47d3869a7291f085c1fb9fb1e6d3b97a793f45c6"
            }
          ],
          "repo": "https://github.com/apple/swift-crypto",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8q93-f6xh-4f6f"
  ],
  "database_specific": {},
  "details": "When initializing an RSA public key from DER or PEM bytes throws an error, the EVP_PKEY* is double-freed: first in the catch block, then in the deinit. This can lead to a crash on future memory allocations. This double-free manifests when BoringSSL cannot decode the public key from the bytes provided. This vulnerability is addressed in swift-crypto version 4.5.1.",
  "id": "CVE-2026-43823",
  "modified": "2026-09-06T03:30:53.687135803Z",
  "published": "2026-07-23T15:17:05.613Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}