- 31 C POC files, one per CVE folder: full seed construction + trigger + main(), self-contained, no app dependency. All compile clean with clang -O2 -Wall (zero warnings) on macOS arm64; each has a recorded oracle on this host. - CMGetDMVersionLevelFromRPU ABI pinned by disassembly: macOS export is (CFDataRef), the Swift POC drives the 4-arg iOS surface — this is the mechanism behind the cm.rpu death oracle on the simulator build. - Harness fixes: glyphCount guard, MachOInspector size guard, ModTools clamp, DeviceModel iPhone19,7, GPTPayload clamps, Gate patch display. - POC comments rewritten English-only (31 swift + arc.rr + 5 py). - README (en/zh): C twin column, .c anatomy section, compile/run examples, C oracle verification status. - Dead if-let binding removed from Identity summary; v2.0 build 3.
Cinder27
An iOS 17.0–27.1 vulnerability-verification and device-modification lab, 51 modules. Primary target: iOS 27.0.1 / iPhone 18 Pro Max (iPhone19,7 · 24A446).
Component coverage: ImageIO, CoreGraphics, CoreMedia, FontParser, ArchiveUtility, VideoToolbox, AudioToolbox, Calendar, Dolby Vision RPU, XNU kernel IPC, sandbox & filesystem, GPT / kexts, HID / peripherals / radio, entitlement probing.
Repository layout
| Block | Contents |
|---|---|
CVE-2026-XXXX/ (31) |
One folder per CVE with the POC proper inside: a .py seed builder (standalone runnable), a .swift seed construction + trigger closures (standalone typecheckable), and a .c twin — self-contained seed + trigger + main(), compiles and runs standalone on macOS arm64 |
<module-id>/ (11) |
Modules without a CVE number — tools, probes, baselines, sandbox primitives — named by module id, same folder-per-file shape |
Sources/ scripts/ Resources/ Info.plist |
The Cinder27 app itself (the verification harness; build below) |
42 Swift POC files (all pass standalone typecheck) + 5 Python seed builders (byte-identical output to the app's built-in seeds) + 31 C POC files (compile clean with clang -O2 -Wall on macOS arm64, each with a recorded oracle).
POC index — 31 CVE folders
Composite ids (e.g. CVE-2026-112627 / 112561) collapse into the primary id's folder; where one CVE is hit by several modules, the trigger closures sit side by side in the same file.
| CVE | Modules | Component | Primitive | Reach | Title | Files |
|---|---|---|---|---|---|---|
| CVE-2026-112415 | vid.hevc |
AVD.videodecoder plugin | OOB read | system process | MVHEVC layer id out of range | CVE-2026-112415.swift · CVE-2026-112415.c |
| CVE-2026-112416 | vid.avc |
AVD.videodecoder plugin (not a kext) | OOB write | system process | AVC slice count cap missing | CVE-2026-112416.swift · CVE-2026-112416.c |
| CVE-2026-112485 | mdl.usda |
Model I/O · libusd_ms | OOB read | in-process | USDA declaration nesting depth | CVE-2026-112485.py · CVE-2026-112485.swift · CVE-2026-112485.c |
| CVE-2026-112488 | iio.tiff.direntry |
ImageIO · TIFFReadDirEntry*Array | OOB write | in-process | TIFF directory entry allocation 32-bit truncation | CVE-2026-112488.swift · CVE-2026-112488.c |
| CVE-2026-112507 / 112476 | kern.ipc |
XNU · ipc_port.c request-table consumers | use-after-free | kernel | ipc_port request table index race | CVE-2026-112507.swift · CVE-2026-112507.c |
| CVE-2026-112515 | probe.hid |
IOHIDFamily · caps table lookup | OOB read | peripheral | IOHIDFamily preparsed data table index | CVE-2026-112515.swift · CVE-2026-112515.c |
| CVE-2026-112522 | arc.iso, arc.iso.stress, arc.cab |
libarchive · build_pathname_utf16be | OOB write | in-process | ISO9660 Joliet pathname heap overflow | CVE-2026-112522.py · CVE-2026-112522.swift · CVE-2026-112522.c |
| CVE-2026-112546 | aud.hoa |
AudioCodecs · APACHOADecoder::Initialize | OOB read | system process | HOA spatial audio coefficient out-of-bounds read | CVE-2026-112546.swift · CVE-2026-112546.c |
| CVE-2026-112554 | kext.gpt |
IOStorageFamily | OOB read | kernel | GPT partition name scan 72-byte kernel heap out-of-bounds read | CVE-2026-112554.swift · CVE-2026-112554.c |
| CVE-2026-112571 | iio.jpeg.comment |
ImageIO · ReadUserComment | info leak | in-process | EXIF UserComment short read → metadata disclosure | CVE-2026-112571.swift · CVE-2026-112571.c |
| CVE-2026-112610 | cg.cmap |
CoreGraphics · _cmap_convert | OOB write | in-process | CMap /UseCMap recursion out-of-bounds write (negative-result probe) | CVE-2026-112610.swift · CVE-2026-112610.c |
| CVE-2026-112611 | cg.shading, cg.shading.sweep |
CoreGraphics · _cg_shading_type5_draw | OOB write | in-process | Type-5 shading stack overflow (value-controlled OOB write) | CVE-2026-112611.swift · CVE-2026-112611.c |
| CVE-2026-112619 | cal.unzip |
CalendarFoundation · _UnzipArchiveWithLimits | OOB write | system process | Calendar attachment extraction containment | CVE-2026-112619.swift · CVE-2026-112619.c |
| CVE-2026-112625 | iio.ktx2, iio.pvr |
ImageIO · KTX2ReadPlugin | integer overflow | in-process | KTX2 dimension and level size arithmetic | CVE-2026-112625.py · CVE-2026-112625.swift · CVE-2026-112625.c |
| CVE-2026-112627 | iio.dds.bc7, iio.appx |
ImageIO · BCReadPlugin::initialize | OOB read | in-process | BC7 texture mip truncation | CVE-2026-112627.swift · CVE-2026-112627.c |
| CVE-2026-112629 | iio.jpeg.gps |
ImageIO · GPSCopy::processData | OOB read | in-process | GPS IFD value offset out of bounds | CVE-2026-112629.swift · CVE-2026-112629.c |
| CVE-2026-112630 | iio.apng.fctl |
ImageIO · IIO_Reader_PNG::getImageCount | info leak | in-process | APNG fcTL truncation → uninitialised frame geometry on the stack | CVE-2026-112630.swift · CVE-2026-112630.c |
| CVE-2026-112632 | iio.tiff.trunc |
ImageIO · decodeStripChunky | info leak | in-process | TIFF truncated strip → uninitialised heap into pixels | CVE-2026-112632.swift · CVE-2026-112632.c |
| CVE-2026-112633 / 112614 | iio.tiff.planar, iio.pdf.raster |
ImageIO · decodeStripPlanar | OOB write | in-process | TIFF planar scatter out-of-bounds write | CVE-2026-112633.swift · CVE-2026-112633.c |
| CVE-2026-112634 | iio.jpeg.marker |
ImageIO · _JPEGFile::processData | OOB read | in-process | JPEG marker length out of bounds | CVE-2026-112634.swift · CVE-2026-112634.c |
| CVE-2026-112638 | aud.lc3 |
AudioCodecs · ACLC3Decoder::AppendInputData | OOB write | entitlement-gated | LC3 decoder input buffer overflow | CVE-2026-112638.swift · CVE-2026-112638.c |
| CVE-2026-112646 | sb.stash |
SpringBoard · SBHomeScreenService | OOB write | system process | SpringBoard stashed layout name validation | CVE-2026-112646.swift · CVE-2026-112646.c |
| CVE-2026-112656 | font.gdef |
CoreText · GetLigatureCaretPositionsForGlyph | OOB read | in-process | GDEFLigatureCaret offset-chain out-of-bounds read | CVE-2026-112656.swift · CVE-2026-112656.c |
| CVE-2026-112683 | font.cff |
FontParser · charstring interpreter | OOB write | in-process | CFF Type2 charstring operand stack overflow | CVE-2026-112683.py · CVE-2026-112683.swift · CVE-2026-112683.c |
| CVE-2026-112688 | cm.rpu, cm.rpu.sweep |
CoreMedia · hevcbridgeParseVdrDmDataPayloadExMetadataBlocks | OOB write | system process | Dolby Vision RPU extension metadata block array overrun | CVE-2026-112688.swift · CVE-2026-112688.c |
| CVE-2026-112696 / 84494 | probe.ane |
AppleH16ANEInterface | OOB write | kernel | ANE kernel interface reachability | CVE-2026-112696.swift · CVE-2026-112696.c |
| CVE-2026-112706 | cm.fdleak, cm.fdleak.boundary |
CoreMedia · mediaplaybackd.bytestream.xpc | info leak | system process | CoreMedia bytestream XPC cross-sandbox file descriptor acquisition | CVE-2026-112706.swift · CVE-2026-112706.c |
| CVE-2026-113907 | aud.haptic, aud.immersive |
AudioToolbox · AVHapticServerInstance | OOB write | system process | AVHaptic custom audio event format validation | CVE-2026-113907.swift · CVE-2026-113907.c |
| CVE-2026-113910 | kern.decmpfs |
XNU · AppleFSCompressionTypeZlib | info leak | kernel | decmpfs chunked decompression under-produce → kernel heap disclosure | CVE-2026-113910.swift · CVE-2026-113910.c |
| CVE-2026-113912 / 86972 | aud.drc |
AudioCodecs · mpddrc::UniDrcSelection | OOB read | system process | MPEG-D DRC downmix matrix coefficient validation | CVE-2026-113912.swift · CVE-2026-113912.c |
| CVE-2026-65385 | kext.iohid |
IOKit.framework · IOHIDEventAppendEvent | OOB write | kernel | IOKit event short-heap fixed-offset write | CVE-2026-65385.swift · CVE-2026-65385.c |
Modules without a CVE — 11
| Module | Component | Title | Files |
|---|---|---|---|
| kern.baseline | XNU · mach_port | Mach namespace baseline | kern.baseline.swift |
| probe.privset | sandbox / signing / entitlements | This process's privilege surface | probe.privset.swift |
| arc.rr | libarchive · RockRidge CL/PL | RockRidge relocation cycle (unfixed sibling) | arc.rr.py · arc.rr.swift |
| sbx.toctou | libsystem_sandbox · sandbox_extension_issue_file | sandbox_extension symlink TOCTOU out-of-bounds read | sbx.toctou.swift |
| tool.ipa | IPASurgeon · MachO · ZipWriter | IPA surgery self-test (rename / inject / prepare for re-sign) | tool.ipa.swift |
| tool.zip | ZipWriter + libarchive | ZIP writer round-trip self-test | tool.zip.swift |
| tool.macho | MachO · MachOInspector | Mach-O parser self-test | tool.macho.swift |
| tool.hex | HexTool | Hex search and replace self-test | tool.hex.swift |
| tool.container | Container · ensureAll / probe / repair / normalize | Container read/write normalisation (data container self-test and repair) | tool.container.swift |
| tool.backup | BackupPane · ZipWriter · libarchive | Backup and restore round-trip self-test | tool.backup.swift |
| tool.paths | Probe · FileManager | Filesystem permission matrix sweep | tool.paths.swift |
Anatomy of a POC file (.swift)
Five sections, everything except comments extracted verbatim from the Cinder27 sources:
- Bilingual header — module id, component, CVE, primitive / reach / tier, zh+en summary
- Oracle — the observable signal of this vulnerability on-device (crash site, return-code distribution, repeated-decode fingerprinting, timing windows…)
enum B— byte helpers (fromSources/Kit.swift)- Seed construction — payload builders and their dependency closure (from
Sources/Payloads.swift/Payloads2.swift;Entry/BitWriter/PDFBuilderstructs pulled in by reference) - Trigger — the module's
runclosure, verbatim (comment block; referencesRunContext/Runners/tl(), executes inside the app harness)
The .py in seed folders is the same builder in its original Python (from scripts/gen_seeds.py) with a __main__ writer — runnable as-is.
Anatomy of a POC file (.c)
Every CVE folder carries a C twin — the same verification in plain C, compiling and running directly on a macOS arm64 host (no Swift runtime, no app dependency):
- Header — module · framework · vulnerable function · CVE, the bug class in one line, a
C twin of the Swift POCnote, andBuild:/Run:lines; multi-variant modules note which variant runs insidemain() - Seed construction — the same payload grammar as the Swift builder, hand-rolled: bit writers, byte buffers, struct emission
- Trigger — the vulnerable entry point itself. Public frameworks link directly (
VTDecompressionSessionCreate,AudioConverterNew,CGFontCreateWithDataProvider); private symbols resolve live viadlsym(CMGetDMVersionLevelFromRPU, theFig*XPC family,IOHIDEvent*) - Oracle — printed to stdout: OSStatus codes, parse-entry refusals, XPC reply types, signal / crash outcomes
main()— argument-parameterised where the Swift version is (depth, block-count, path); the seed file is written to the working directory for inspection
All 31 compile clean with clang -O2 -Wall — zero warnings — and each has a recorded oracle from this exact host.
Running
# Python seed builders — standalone
python3 CVE-2026-112522/CVE-2026-112522.py out.iso # → byte-identical joliet_path_oob.iso
python3 CVE-2026-112485/CVE-2026-112485.py deep_nest.usda
python3 CVE-2026-112625/CVE-2026-112625.py bad_dims.ktx2
python3 CVE-2026-112683/CVE-2026-112683.py stack_bomb.cff
python3 arc.rr/arc.rr.py out.iso
# Swift POC — standalone typecheck (no app dependency)
xcrun swiftc -parse-as-library -swift-version 5 -sdk "$(xcrun --sdk macosx --show-sdk-path)" \
-target arm64-apple-macos14 -typecheck CVE-2026-112611/CVE-2026-112611.swift
# Full triggers (decode, races, crash oracles) run inside the app harness
bash scripts/build-sim.sh # → build/sim/Cinder27.app, installed to the booted simulator
# C POC twins — compile + run standalone (macOS arm64)
clang -O2 -Wall -o /tmp/c112522 CVE-2026-112522/CVE-2026-112522.c # plain C, no frameworks
/tmp/c112522 # → SIGTRAP: the 2-byte OOB write
clang -O2 -Wall -o /tmp/c112706 CVE-2026-112706/CVE-2026-112706.c -fblocks -framework CoreFoundation
/tmp/c112706 # → FigXPC handshake, 'Connection invalid'
Building the harness app
Dependencies: macOS + Xcode command line tools (xcode-select --install); no third-party package manager.
bash scripts/build-device.sh # → dist/Cinder27-unsigned.ipa (arm64, iOS 17.0+, unsigned)
bash scripts/build-sim.sh # → build/sim/Cinder27.app (arm64 simulator)
python3 scripts/gen_seeds.py # → seeds/ (the app's built-in seeds, byte-identical to the .py POCs)
Device install: bundle id com.jbjf.cinder27 (v2.0 build 3), unsigned — sign with your own certificate + a matching (or wildcard) provisioning profile, then sideload.
Verification status
Full 51-module regression (simulator build): 47 done + 4 armed.
Armed is not a timeout — it is the death oracle firing: the payload crashes the process, the journal stays armed, the process vanishes. The cm.rpu / cm.rpu.sweep crash stacks land inside CMGetDMVersionLevelFromRPU with SIGSEGV; the C twin pins the mechanism — the iOS surface is the 4-argument (bytes, count, u32*, u32*) form, while the macOS export takes a single CFDataRef (verified by disassembly: arg0 goes through a CFRetain-style GOT call before FigHEVCBridge_GetRPUMetadata), so the Swift 4-arg call dies at entry on the simulator's CoreMedia. cg.shading / cg.shading.sweep are R=136 long-overflow ladder sweeps, by design advancing within one process to the fatal rung.
All 31 C twins compile clean — clang -O2 -Wall, zero warnings, macOS arm64 — and each runs with a recorded oracle on the dev host: 112522 raises SIGTRAP (the 2-byte OOB write caught by malloc), 112507 survives the ring race with -300 / invalid-destination receipts, 112706 answers 'Connection invalid' (mediaplaybackd bytestream XPC absent on macOS — silent-service verdict), 112485 surfaces the PEGTL depth receipt (Expected } at 'def Xform "n1999"'), 113910 reads back plain 0x41s (decmpfs does not engage for files with existing data). The rest refuse at the entry layer — same receipts as the app harness.
Module semantics
- tier 1 — direct primitive hit (OOB write / UAF / type confusion); the crash is the evidence
- tier 2 — observable signal (info-leak fingerprints, return-code distributions, timing windows); needs a baseline comparison
- probe / baseline / tool — environment probes, kernel baseline sampling, device-modification tools (hex editing, xattr / decmpfs surgery, MachO analysis, container / backup / IPA signing / paths / zip)
The app switches zh/en at runtime (RuntimeText, 633 fully mapped keys, no hardcoded CJK residue).