CVE-2026-43823

Source
https://cve.org/CVERecord?id=CVE-2026-43823
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43823.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-43823
Aliases
  • GHSA-8q93-f6xh-4f6f
Downstream
Published
2026-07-23T15:17:05.613Z
Modified
2026-09-06T08:09:21.987451Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
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.

References

Affected packages

Git / github.com/apple/swift-crypto

Affected ranges

Type
GIT
Repo
https://github.com/apple/swift-crypto
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:apple:swift-crypto:*:*:*:*:*:swift:*:*",
    "source": "CPE_RANGE",
    "extracted_events": [
        {
            "introduced": "3.2.0"
        },
        {
            "last_affected": "4.5.1"
        }
    ]
}

Affected versions

3.*
3.10.0
3.10.1
3.10.2
3.11.0
3.11.1
3.11.2
3.12.0
3.12.1
3.12.2
3.12.3
3.13.0
3.13.1
3.13.2
3.13.3
3.14.0
3.15.0
3.15.1
3.2.0
3.3.0
3.4.0
3.5.0
3.5.1
3.5.2
3.6.0
3.6.1
3.7.0
3.7.1
3.8.0
3.8.1
3.9.0
3.9.1
4.*
4.0.0
4.1.0
4.2.0
4.3.0
4.3.1
4.4.0
4.5.0
4.5.1

Database specific

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