Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2026-43823

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-43823
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 10:35 UTC · Revision 1

Source evidence

CVE-2026-43823

core-osv · Original source

Published 23 Jul 2026, 15:17 UTC

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.

osv:CVE-2026-43823
Complete source record
{
  "id": "380ca38efe981167870bbe8f50234d0f2a656dc0a81e686b9e59991df4b2ae75",
  "url": "https://osv.dev/vulnerability/CVE-2026-43823",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2026-43823",
    "summary": "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.",
    "evidence": "osv:CVE-2026-43823",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-43823",
      "aliases": [
        "CVE-2026-43823",
        "GHSA-8q93-f6xh-4f6f"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/apple/swift-crypto",
              "type": "GIT",
              "events": [
                {
                  "introduced": "cc76b894169a3c86b71bac10c78a4db6beb7a9ad"
                },
                {
                  "last_affected": "47d3869a7291f085c1fb9fb1e6d3b97a793f45c6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:*",
                    "range": [
                      {
                        "introduced": "3.2.0"
                      },
                      {
                        "last_affected": "4.5.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.5.1",
            "4.5.0",
            "4.4.0",
            "4.3.1",
            "4.3.0",
            "4.2.0",
            "4.1.0",
            "4.0.0",
            "3.15.1",
            "3.15.0",
            "3.14.0",
            "3.13.3",
            "3.13.2",
            "3.12.3",
            "3.13.1",
            "3.13.0",
            "3.12.2",
            "3.12.1",
            "3.12.0",
            "3.11.2",
            "3.11.1",
            "3.11.0",
            "3.10.2",
            "3.10.1",
            "3.10.0",
            "3.9.1",
            "3.9.0",
            "3.8.1",
            "3.8.0",
            "3.7.1",
            "3.7.0",
            "3.6.1",
            "3.6.0",
            "3.5.2",
            "3.5.1",
            "3.5.0",
            "3.4.0",
            "3.3.0",
            "3.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43823.json"
          }
        }
      ],
      "modified": "2026-10-26T02:31:00.835594792Z",
      "provider": "osv",
      "references": [
        "https://github.com/apple/swift-crypto/security/advisories/GHSA-8q93-f6xh-4f6f"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2026-43823",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 446688,
  "published_at": "2026-07-23T15:17:05.613+00:00"
}