Bug 2506494 (CVE-2026-43823) - CVE-2026-43823 swift-crypto: swift-crypto: Denial of Service due to double-free during RSA public key initialization
Summary: CVE-2026-43823 swift-crypto: swift-crypto: Denial of Service due to double-fr...
Keywords:
Status: NEW
Alias: CVE-2026-43823
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-23 15:01 UTC by OSIDB Bzimport
Modified: 2026-07-25 07:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-23 15:01:49 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.


Note You need to log in before you can comment on or make changes to this bug.