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 files5
blkph0x/cve-2026-83844_pocRevision 193ed44859da
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
lab/corpus/provenance_bfdb_marker/test_fixtures.py
Python · 1,951 bytes"""Meaningful offline guards for the bounded marker-placement corpus."""
from __future__ import annotations
import sys
import tempfile
import unittest
from pathlib import Path
sys.path.insert(0, str(Path(__file__).resolve().parent))
from build_fixtures import build, cases # noqa: E402
from verify_fixtures import checked_source, verify, verify_structure # noqa: E402
class MarkerCorpusTests(unittest.TestCase):
def test_all_twelve_cases_build_and_independently_verify(self) -> None:
with tempfile.TemporaryDirectory() as temporary:
output = Path(temporary) / "generated"
build(output)
build(output, check=True)
verify(output)
self.assertEqual(len(list(output.iterdir())), 12)
def test_nested_box_length_mutation_is_rejected(self) -> None:
source = checked_source()
data = bytearray(cases()["siblings-sameparse-04.jpg"])
data[0xD2 + 3] ^= 1
with self.assertRaisesRegex(ValueError, "Ancestor JUMBF LBox"):
verify_structure(bytes(data), source, "siblings", "sameparse", 4)
def test_marker_mutation_is_rejected_even_with_coherent_lengths(self) -> None:
source = checked_source()
data = bytearray(cases()["assertions-firstopen-01.jpg"])
first_marker = data.find(b"A01\x00", 0xD2)
self.assertGreaterEqual(first_marker, 0)
data[first_marker] = ord("B")
with self.assertRaisesRegex(ValueError, "media marker"):
verify_structure(bytes(data), source, "assertions", "firstopen", 1)
def test_builder_refuses_unexpected_output(self) -> None:
with tempfile.TemporaryDirectory() as temporary:
output = Path(temporary)
(output / "unexpected.txt").write_text("unexpected", encoding="utf-8")
with self.assertRaisesRegex(ValueError, "output set"):
build(output)
if __name__ == "__main__":
unittest.main()