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_extent_trace.py
Python · 3,449 bytes#!/usr/bin/env python3
"""Build an opt-in old-x64 normal-heap source-block extent probe.
The profile preserves the NormalRecord route and adds scoped !heap diagnostics
at the original media pointer before/after strlen. It does not launch Paint.
"""
from __future__ import annotations
import argparse
import json
from dataclasses import asdict, replace
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 build_bfdb_normal_record_trace import RECORD_PINS, RECORD_POINTS
from generate_cdb import Checkpoint, VERSION, render
START_CAPTURE = (
".echo PAINT_BFDB_X_START_BEGIN; !heap -x @rcx; "
".echo PAINT_BFDB_X_START_END; "
".echo PAINT_BFDB_P_A_BEGIN; !heap -p -a @rcx; "
".echo PAINT_BFDB_P_A_END"
)
def extent_points() -> list[Checkpoint]:
points = [*POINTS["old"], *FOLLOWUP_POINTS[:3], *RECORD_POINTS]
changed: list[Checkpoint] = []
for point in points:
if (point.module, point.rva) == ("provenancesdk.dll", 0x8FE0D):
point = replace(point, capture=START_CAPTURE)
changed.append(point)
return changed
def build(output: Path) -> dict[str, object]:
points = extent_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("NormalExtent 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-extent-trace-v1",
"profile": "old", "version": VERSION["old"],
"heap_mode": "Normal", "trace_mode": "NormalExtent",
"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": [
"!heap -x reports a containing NT/segment-heap block, not necessarily requested bytes.",
"!heap -p -a is diagnostic only because normal heap has PageHeap off.",
"Unparsed or ambiguous heap output must yield unknown, never an OOB claim.",
"Raw addresses, heap rows and memory bytes 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 normal-extent checkpoints; no guest launched")
if __name__ == "__main__":
main()