Exploit database

GH-945bd5267b0d1b94c3f74faf5cda7e5a

blkph0x/cve-2026-83844_poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-83844

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files579
blkph0x/cve-2026-83844_pocRevision 193ed44859da
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

lab/trace/test_review_bfdb_declared_physical_v2_trial.py

Python · 2,765 bytes
"""Offline v2 reviewer category tests; no guest or raw memory is used."""

from __future__ import annotations

import unittest

from review_bfdb_declared_physical_v2_trial import classify, repeated_same_register


def event(label: str, capture: str = "") -> str:
    return f"PAINT_TRACE_HIT={label}\nPAINT_TRACE_HIT_PID={label}:1234\n{capture}"


class V2ReviewerTests(unittest.TestCase):
    def test_child_count_gate_and_media_category(self) -> None:
        labels = ["author_uri_dispatch", "validation_helper_call",
                  "validation_sdk_entry", "declphys_selected_type",
                  "declphys_selected_resize", "bfdb_selected_branch",
                  "bfdb_child_count_gate", "bfdb_child_two_path",
                  "bfdb_strlen_call", "bfdb_strlen_return", "validation_sdk_result"]
        captures = {
            "declphys_selected_type": "eax=62666462\n",
            "declphys_selected_resize": (
                "PAINT_DECLPHYS_REQUEST=24\n"
                "PAINT_DECLPHYS_VECTOR_BEGIN=0000000000001000\n"
                "PAINT_DECLPHYS_VECTOR_END=0000000000001018\n"),
            "bfdb_child_count_gate": "rax=0000000000000003\n",
            "bfdb_strlen_call": "rcx=0000000000001001\n"
                                 "rcx=0000000000001001\n",
            "bfdb_strlen_return": "rax=0000000000000016\n",
            "validation_sdk_result": "eax=00000000\n",
        }
        log = "".join(event(label, captures.get(label, "")) for label in labels)
        result = classify(labels, log, expected_payload=24)
        self.assertEqual(result["category"], "semantic_media_reached")
        self.assertEqual(result["semantic_child_count"], 3)
        self.assertTrue(result["semantic_two_child_path_seen"])
        self.assertEqual(result["media_strlen_length"], 22)
        self.assertEqual(result["strlen_end_relation"], "inside_request")
        self.assertEqual(repeated_same_register(log, "bfdb_strlen_call", "rcx"),
                         0x1001)

    def test_inconsistent_child_count_branch_fails_closed(self) -> None:
        labels = ["author_uri_dispatch", "validation_helper_call",
                  "validation_sdk_entry", "declphys_selected_type",
                  "bfdb_child_count_gate", "bfdb_child_two_path",
                  "validation_sdk_result"]
        captures = {"declphys_selected_type": "eax=62666462\n",
                    "bfdb_child_count_gate": "rax=0000000000000001\n",
                    "validation_sdk_result": "eax=00000000\n"}
        log = "".join(event(label, captures.get(label, "")) for label in labels)
        self.assertEqual(classify(labels, log, expected_payload=24)["category"],
                         "route_incomplete")


if __name__ == "__main__":
    unittest.main()