Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-43682 — Proof-of-concept disk-image generator that crafts a malformed HFS+ attributes B-tree key to trigger the CVE-2026-43682 kernel heap overflow on macOS. | Kitploit
Tools/GitHubGitHub/petermalone/cve-2026-43682
Vulnerability AnalysisExploitationBinary Exploitation
GitHubpetermalone/cve-2026-43682

CVE-2026-43682

Proof-of-concept disk-image generator that crafts a malformed HFS+ attributes B-tree key to trigger the CVE-2026-43682 kernel heap overflow on macOS.

View Repository
52122h 13m agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Proof of concept

This proof of concept is expected to kernel-panic and reboot an affected Mac. Use it only on a disposable test system. The evidence capture used Apple silicon running macOS Tahoe 26.3 (25D125). Apple fixed CVE-2026-43682 in Tahoe 26.6, Sequoia 15.7.8, and Sonoma 14.8.8.

The PoC is a disk-image generator, not a privilege-escalation exploit. It:

  • creates a small HFS+ volume with an attributes B-tree;
  • reads the current boot's _COMM_PAGE_ASB_TARGET_KERN_VALUE on Apple silicon;
  • changes one on-disk attributes-tree key length to 2,884; and
  • fills the long key with a repeating, boot-specific marker.

The malformed copy is deterministic. Whether Probabilistic GZAlloc places a guard where the overwrite immediately faults is not.

Requirements

  • an Apple-silicon Mac running a vulnerable macOS release;
  • Python 3;
  • Xcode Command Line Tools for the optional commpage helper; and
  • the macOS hdiutil and xattr commands.

No third-party Python packages are required.

Generate the image

The helper is optional, but it makes the per-boot value explicit before the image is generated:

root@kitploit:~
cd poc
clang -O2 -Wall -Wextra check_commpage.c -o check_commpage
./check_commpage

Create the base image and patch its attributes tree:

root@kitploit:~
./create_base_dmg.sh base_with_attrs.dmg
python3 craft_attr_poc_asb.py \
  base_with_attrs.dmg \
  cve-2026-43682.dmg \
  2884

The Python script prints the same boot's kernel Target Flag value and the pattern written into the image.

Trigger

Attaching or subsequently indexing the image may be enough to reach the vulnerable attributes path. The explicit trigger used during testing was:

root@kitploit:~
hdiutil attach -readonly -nobrowse cve-2026-43682.dmg
ls -l@ /Volumes/AttrPOC/

On a vulnerable system, the expected result is a kernel data abort during the oversized B-tree key copy. On a fixed system, the malformed key should be rejected without kernel-memory corruption.

After a non-crashing run, detach the test volume with:

root@kitploit:~
hdiutil detach /Volumes/AttrPOC
Download Tool