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/test_export_bfdb_authoring_trial.py
Python · 5,738 bytes"""Failure gates for the shared bfdb validation trace."""
from __future__ import annotations
import unittest
from export_bfdb_authoring_trial import (
EXPECTED, cleanup_limited_route, new_reader_return_category, ordered_route,
)
class OrderedRouteTests(unittest.TestCase):
def test_old_validation_route_allows_optional_authoring_observation(self) -> None:
required = list(EXPECTED["old"]["required_route"])
with_authoring = required[:4] + [
"author_helper_call", "author_sdk_entry",
] + required[4:]
self.assertTrue(ordered_route(required, EXPECTED["old"]))
self.assertTrue(ordered_route(with_authoring, EXPECTED["old"]))
def test_old_authoring_only_does_not_substitute_for_validation(self) -> None:
old = EXPECTED["old"]
authoring_only = [name for name in old["markers"]
if not name.startswith("validation_")]
self.assertFalse(ordered_route(authoring_only, old))
def test_reordered_repeated_or_unknown_markers_fail(self) -> None:
old = EXPECTED["old"]
required = list(old["required_route"])
reordered = required.copy()
reordered[4], reordered[5] = reordered[5], reordered[4]
for labels in (reordered, required + [required[-1]],
required + ["unexpected_checkpoint"]):
with self.subTest(labels=labels):
self.assertFalse(ordered_route(labels, old))
def test_new_validation_reader_does_not_require_signing(self) -> None:
new = EXPECTED["new"]
reader = list(new["required_route"])
self.assertTrue(ordered_route(reader, new))
self.assertTrue(ordered_route(reader + ["validation_net_read_return"], new))
self.assertTrue(ordered_route(reader + ["author_net_sign"], new))
self.assertFalse(ordered_route(reader[:-1], new))
class ReaderReturnCategoryTests(unittest.TestCase):
def test_absent_optional_checkpoint_keeps_old_reviews_valid(self) -> None:
self.assertEqual(new_reader_return_category("PAINT_TRACE_HIT=validation_net_read_entry\n"),
(True, None))
def test_return_value_is_reduced_to_only_four_categories(self) -> None:
for raw, category in (
("0", "0"), ("1", "1"),
("00000000", "0"), ("00000001", "1"),
("00000002", "other"), ("7fffffff", "other"),
("80000000", "negative"), ("ffffffff", "negative"),
):
with self.subTest(raw=raw):
log = ("PAINT_TRACE_HIT=validation_net_read_return\n"
f"eax={raw}\n")
self.assertEqual(new_reader_return_category(log),
(True, category))
def test_present_checkpoint_without_unique_eax_fails_closed(self) -> None:
for suffix in ("", "eax=0\neax=1\n", "eax=0000000g\n",
"eax=123456789\n", "eax=0 extra\n"):
with self.subTest(suffix=suffix):
log = "PAINT_TRACE_HIT=validation_net_read_return\n" + suffix
self.assertEqual(new_reader_return_category(log), (False, None))
class CleanupLimitedRouteTests(unittest.TestCase):
def setUp(self) -> None:
self.gates = {
name: True for name in (
"stage_and_wsb_pinned", "fixture_profile_gflags_bound",
"profile_and_guest_script_bound", "installed_signed_modules",
"loaded_signed_modules", "full_pageheap", "same_pid_trace",
"ordered_backend_route", "optional_reader_return_status_bound",
"av_text_consistent", "host_guest_closed",
"guest_zero_process_after_cleanup",
"guest_debugger_registration_cleanup",
"safe_guest_and_host_teardown",
)
}
self.gates["normal_paint_close"] = False
self.result = {
"route_status_before_cleanup": "observed",
"status": "review_required",
"observation_window_exhausted": False,
"application_error_events": [],
"dump_files": [],
}
self.cleanup = {
"close_requested_pids": [7],
"paint_forced_pids": [7],
"debugger_forced_pids": [8],
}
def eligible(self, *, av_seen: bool = False,
host_dumps: list[object] | None = None) -> bool:
return cleanup_limited_route(
self.gates, self.result, self.cleanup, 7,
av_seen=av_seen, host_dumps=[] if host_dumps is None else host_dumps,
)
def test_complete_route_with_recorded_forced_cleanup_is_limited(self) -> None:
self.assertTrue(self.eligible())
def test_missing_gate_or_precleanup_route_fails(self) -> None:
self.gates["same_pid_trace"] = False
self.assertFalse(self.eligible())
self.gates["same_pid_trace"] = True
self.result["route_status_before_cleanup"] = "review_required"
self.assertFalse(self.eligible())
def test_fault_or_wer_never_gets_no_av_claim(self) -> None:
self.assertFalse(self.eligible(av_seen=True))
self.assertFalse(self.eligible(host_dumps=[object()]))
self.result["application_error_events"] = [{"id": 1000}]
self.assertFalse(self.eligible())
def test_cleanup_must_be_forced_but_zero_residual(self) -> None:
self.cleanup["paint_forced_pids"] = []
self.cleanup["debugger_forced_pids"] = []
self.assertFalse(self.eligible())
self.cleanup["paint_forced_pids"] = [7]
self.gates["guest_zero_process_after_cleanup"] = False
self.assertFalse(self.eligible())
if __name__ == "__main__":
unittest.main()