Skip to main content
Mallory
MediumExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2023-41991: Certificate validation bypass in Apple CoreTrust

Published Sep 21, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.5Medium · v3.1
EPSS0.51%37th percentile
CISA KEVYesAdded Sep 25, 2023
In the wildActivePer CISA KEV
Vendor
Apple
IdentifiersCVE-2023-41991CWE-295 · Improper Certificate Validation

CVE-2023-41991 is a certificate validation vulnerability in Apple’s Security framework, associated with CoreTrust, that may allow a malicious application to bypass signature validation. It affects Apple operating systems including iOS, iPadOS, macOS, and watchOS. Apple addressed the issue in security updates released on September 21, 2023, and acknowledged reports of possible active exploitation against iOS versions earlier than 16.7. The vulnerability was used in a Predator-associated exploit chain alongside CVE-2023-41992 and CVE-2023-41993.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

A malicious application may circumvent application signature validation, undermining code-signing trust enforcement. In the Predator-associated exploit chain, this bypass accompanied separate WebKit remote code execution and kernel privilege-escalation vulnerabilities. Device takeover and spyware deployment are chain-level outcomes, not established standalone effects of CVE-2023-41991.

Mitigation

If you can’t patch tonight, do this now.

Where immediate patching is not possible, reduce exposure by restricting installation and execution of untrusted or unnecessary applications, enforcing mobile device management controls over app deployment, and limiting use of high-risk devices until updates can be applied. Because exploitation requires a malicious app and the vulnerability may be used in targeted attack chains, prioritizing rapid patch deployment is the primary mitigation.

Remediation

Patch, then assume compromise.

Install the applicable Apple security update or a later supported release. Fixed releases include macOS Monterey 12.7, macOS Ventura 13.6, iOS and iPadOS 16.7 or 17.0.1, and watchOS 9.6.3 or 10.0.1, depending on the device and operating-system branch. The fix addresses the certificate validation issue.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 2 rejected by Mallory's analysis as not a working exploit.

View more in app →
CVE-2023-41991This repository contains a sophisticated exploit tool targeting Apple's CoreTrust code signature verification on iOS and macOS. The main entry point is `src/main.m`, which orchestrates the process of extracting the preferred Mach-O slice from a (potentially FAT) binary, performing ad-hoc signing, and then applying a CoreTrust bypass. The bypass is implemented in `src/coretrust_bug.c`, which manipulates the code signature superblob of the Mach-O binary by injecting a template App Store code directory, updating hashes, and generating a new signature using a bundled private key. The exploit ensures the Team ID matches between code directories and removes problematic flags to maximize compatibility. The tool is intended to be run locally on a binary file, and does not interact with network endpoints. The codebase is modular, with reusable components for Mach-O and code signature manipulation, and includes a number of template blobs and cryptographic routines. The exploit is operational and can be used to allow unsigned or self-signed binaries to run on iOS devices by bypassing CoreTrust signature checks.itsgiddd · Disclosed Nov 28, 2023 · c · objective-c · localOperationalappsignThis repository contains a tool for bypassing Apple's CoreTrust code signature enforcement on iOS. The main entry point is 'src/main.m', which processes either a single Mach-O binary or recursively processes all binaries in an app bundle. The tool works by first performing ad-hoc signing of the target binary, then extracting the appropriate architecture slice, and finally applying a CoreTrust bypass by modifying the code signature blobs. The bypass leverages embedded CA certificates and private keys (see 'src/templates/CADetails.h') and signature templates (see 'src/templates/TemplateSignatureBlob.h', 'src/templates/DERTemplate.h'). The code interacts with low-level Mach-O structures and Apple's security frameworks, and uses the third-party 'ChOma' library for Mach-O manipulation. The exploit is operational and can be used to re-sign iOS binaries to run with forged signatures, which is useful for running unauthorized code on iOS devices, especially in a jailbroken or app repackaging context. The attack vector is local, requiring access to the target binary or bundle. The only notable fingerprintable endpoint is the use of '/tmp/XXXXXX' as a temporary file for Mach-O slice extraction.dmytrozykov · Disclosed Mar 18, 2025 · c · objective-c · localOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
AppleIpadosoperating_system
AppleIphone Osoperating_system
AppleMacosoperating_system
FAQ

Frequently asked questions

Is CVE-2023-41991 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Sep 25, 2023.
Is there a public exploit for CVE-2023-41991?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2023-41991, the earliest disclosed Nov 28, 2023.
Is there a patch for CVE-2023-41991?
Install the applicable Apple security update or a later supported release. Fixed releases include macOS Monterey 12.7, macOS Ventura 13.6, iOS and iPadOS 16.7 or 17.0.1, and watchOS 9.6.3 or 10.0.1, depending on the device and operating-system branch.
What products are affected by CVE-2023-41991?
Apple Ipados, Apple Macos, and Apple Iphone Os.
How severe is CVE-2023-41991?
CVE-2023-41991 has a CVSS v3.1 score of 5.5 (Medium) and an EPSS score of 0.51% (37th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

15 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+8 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence3Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures2YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.