Skip to content
OpenAdvisories
High · 7.5 CVE-2026-43823 EUVD-2026-48288

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…

Published Jul 23, 2026 · Updated Jul 23, 2026 · Assigned by apple

Description

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.

Affected products

VendorProductAffectedFixed
Apple swift-crypto < 4.5.1 4.5.1

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 nodejs24 +6 24.18.0-0.5.hum1 RHSA-2026:45784
Red Hat Hardened Images 1 nodejs24-npm 11.16.0-1.24.18.0.0.5.hum1 RHSA-2026:45784
Red Hat Hardened Images 1 swift-lang +1 6.3.3-0.1.1.hum1 RHSA-2026:45785

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 swiftlang +1 6.3-1.amzn2023.0.2 ALAS2023-2026-2073

Advisories 3

References