Exploit databaseDownload repository ZIP
GH-945bd5267b0d1b94c3f74faf5cda7e5a
blkph0x/cve-2026-83844_poc
Sources for CVE-2026-83844
5 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files579
blkph0x/cve-2026-83844_pocRevision 193ed44859da
- ↑..Parent directory
- afl_emf_gdiplus/
- capture/
- generated/
- BFDB_ALLOCATOR_REUSE_PROTOCOL.md
- BFDB_AUTHORING_MEDIA_STATIC.md
- BFDB_AUTHORING_PROTOCOL.md
- BFDB_BOUNDED_MARKER_PLACEMENT_PROTOCOL.md
- BFDB_BYTE_PROVENANCE_PROTOCOL.md
- BFDB_CACHE_PROTOCOL.md
- BFDB_CLOCK_ONLY_CONTROL_PROTOCOL.md
- BFDB_CROSSSLOT_PROTOCOL.md
- BFDB_FAST_FIRST_OPEN_PROTOCOL.md
- BFDB_FOUR_WPR_PROTOCOL.md
- BFDB_GEOMETRY_GUEST_PROTOCOL.md
- BFDB_LFH_CHECKPOINT_PROTOCOL.md
- BFDB_MARKER_ACCEPTANCE.md
- BFDB_MARKER_FIRSTOPEN_SEMANTIC_GATE.md
- BFDB_MARKER_FOUR_FIRSTOPEN_PROTOCOL.md
- BFDB_MARKER_FOUR_PROTOCOL.md
- BFDB_MARKER_ROUTE_CONTROL.md
- BFDB_MARKER_SEMANTIC_GATE.md
- BFDB_NORMAL_EXTENT_PROTOCOL.md
- BFDB_NORMAL_HEAP_PROTOCOL.md
- BFDB_NORMAL_RECORD_PROTOCOL.md
- BFDB_OUTPUT_GATES_PROTOCOL.md
- BFDB_POSTOPEN_PROTOCOL.md
- BFDB_SDK_RESOLUTION_SCAN.md
- BFDB_SINK_GATE_PROTOCOL.md
- BFDB_VALIDATION_LIFETIME_PROTOCOL.md
- BFDB_WPR_HEAP_PROTOCOL.md
- BRUSH_DISPATCH_PROTOCOL.md
- COLD_ATTACH_REPAIR_PLAN.md
- EMF_BFDB_FUZZ_ANALYSIS.md
- EMF_BFDB_FUZZ_BATCH_PROTOCOL.md
- EMF_BFDB_FUZZ_CAMPAIGN.md
- EMF_BFDB_SEQUENCE_PROTOCOL.md
- EMF_BFDB_WARM_PAGEHEAP_PROTOCOL.md
- EMF_CLIPBOARD_VALID_PROTOCOL.md
- EMF_VALID_ACCEPTANCE_PROTOCOL.md
- FILL_LOOP_CENSUS_PROTOCOL.md
- FILL_MOUSE_EVENT_PROTOCOL.md
- FILL_TOUCH_INPUT_PROTOCOL.md
- FILL_WIN32_DISPATCH_PROTOCOL.md
- PROVENANCE_APP11_POSTSEEK_PROTOCOL.md
- PROVENANCE_APP11_READER_SCAN_PROTOCOL.md
- PROVENANCE_APP11_SPLIT_NEW_LABEL_GUARD_PROTOCOL.md
- PROVENANCE_BATCH_E_SUBSET_PROTOCOL.md
- PROVENANCE_COPY_REOPEN_PROTOCOL.md
- PROVENANCE_E_CHILD_DECISION_PROTOCOL.md
- PROVENANCE_FIELD_ID_CONSUMER_PROTOCOL.md
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/trace/build_bfdb_normal_record_trace.py
Python · 4,871 bytes#!/usr/bin/env python3
"""Pin an opt-in old-x64 normal-heap trace through bfdb record insertion.
This only builds guest debugger input. It does not launch a guest. The first
normal-heap pair established an over-field strlen result and memcpy call count;
this extension distinguishes copy return, parser result, both vector insertion
branches and their join. It cannot by itself establish output disclosure.
"""
from __future__ import annotations
import argparse
import json
from dataclasses import asdict
from pathlib import Path
from build_bfdb_authoring_trace import PINS, POINTS
from build_bfdb_normal_heap_trace import FOLLOWUP_PINS, FOLLOWUP_POINTS, verified_modules
from generate_cdb import Checkpoint, VERSION, render
RECORD_PINS = {
("provenancesdk.dll", 0x8FF16): "488b4628", # after memcpy call
("provenancesdk.dll", 0x93678): "85c0", # test parser/caller result
("provenancesdk.dll", 0x93680): "488b8da0000000", # nonzero route
("provenancesdk.dll", 0x93757): "4c8b742470", # zero route
("provenancesdk.dll", 0x9375C): "498b8690000000", # pre-insert vector
("provenancesdk.dll", 0x93793): "e89835f7ff", # growth insert
("provenancesdk.dll", 0x93799): "488b8da0000000", # post-insert join
}
RECORD_POINTS = [
Checkpoint("bfdb", "memcpy_return", "provenancesdk.dll", 0x8FF16,
"Imported memcpy returned; private AssertionData media pointer/sample",
"dq @rsi+0x28 L2; db poi(@rsi+0x28) L20"),
Checkpoint("bfdb", "result_test", "provenancesdk.dll", 0x93678,
"Caller tests parse result in EAX", "r eax"),
Checkpoint("bfdb", "result_nonzero", "provenancesdk.dll", 0x93680,
"Nonzero result avoids vector insertion"),
Checkpoint("bfdb", "result_zero", "provenancesdk.dll", 0x93757,
"Zero result enters vector insertion"),
Checkpoint("bfdb", "vector_before", "provenancesdk.dll", 0x9375C,
"Private vector begin/end/capacity before insertion",
"dq @r14+0x88 L3"),
Checkpoint("bfdb", "insert_spare", "provenancesdk.dll", 0x93773,
"Insert into spare vector capacity"),
Checkpoint("bfdb", "insert_grow", "provenancesdk.dll", 0x93793,
"Insert through vector growth"),
Checkpoint("bfdb", "insert_return", "provenancesdk.dll", 0x93799,
"Either insert call returned; private vector begin/end/capacity",
"dq @r14+0x88 L3"),
]
def build(output: Path) -> dict[str, object]:
# Keep the normal-heap route/copy checkpoints but replace its single
# optional insertion probe with both sides of the conditional branch.
points = [*POINTS["old"], *FOLLOWUP_POINTS[:3], *RECORD_POINTS]
pins = {**PINS["old"], **FOLLOWUP_PINS, **RECORD_PINS}
checkpoint_keys = {(point.module, point.rva) for point in points}
crt_thunks = {("provenancesdk.dll", 0x1A5AD0),
("provenancesdk.dll", 0x1A5B82)}
if len(checkpoint_keys) != len(points) or set(pins) != checkpoint_keys | crt_thunks:
raise ValueError("NormalRecord requires exactly one opcode pin per checkpoint and CRT thunk")
modules = verified_modules(points, pins)
script = render("old", points, auto_continue=True,
ignore_winui_rpc=True, continue_process_exit=True,
skip_breakpoint_listing=True, prewarm_pid=True)
output.parent.mkdir(parents=True, exist_ok=True)
output.write_text(script, encoding="ascii")
manifest: dict[str, object] = {
"schema": "paint-bfdb-normal-record-trace-v1",
"profile": "old", "version": VERSION["old"],
"heap_mode": "Normal", "trace_mode": "NormalRecord",
"auto_continue": True,
"route": "ms-paint://backgroundRemoval?isTemporaryPath=false&file=<guest JPEG>",
"modules": modules,
"checkpoints": [asdict(point) | {"rva": f"0x{point.rva:X}"} for point in points],
"pinned_crt_imports": {"strlen": "0x256C20", "memcpy": "0x2566C8"},
"limits": [
"The prior control-first normal-heap route remains a distinct profile.",
"A post-copy return does not prove an allocation-boundary violation.",
"Either vector insertion branch is internal retention, not output.",
"Raw vector pointers and media samples remain in ignored guest logs.",
],
}
output.with_suffix(output.suffix + ".json").write_text(
json.dumps(manifest, indent=2) + "\n", encoding="utf-8"
)
return manifest
def main() -> None:
parser = argparse.ArgumentParser(description=__doc__)
parser.add_argument("--output", required=True, type=Path)
args = parser.parse_args()
manifest = build(args.output)
print(f"Prepared {len(manifest['checkpoints'])} old record checkpoints; no guest launched")
if __name__ == "__main__":
main()