Exploit database

GH-77b084c651f84d76fe59d880f4600f96

genaforvena/mishe-tauftauf2shell

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-109618

412 sources

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

Repository files2

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

lab/openexr2shell-real/oiiolab/oiio_flat_consumer.cpp

C++ · 898 bytes
// Advisory GHSA-98rx-qpfv-qcwv flat consumer: only ImageInput::open() and
// ImageInput::read_image(), no deep API and no spec.deep inspection.
#include <OpenImageIO/imageio.h>
#include <cstdio>
#include <vector>

int
main (int argc, char** argv)
{
    if (argc < 2) {
        std::fprintf (stderr, "usage: %s file.exr\n", argv[0]);
        return 2;
    }
    auto in = OIIO::ImageInput::open (argv[1]);
    if (!in) {
        std::printf ("OPEN failed\n");
        return 3;
    }
    const OIIO::ImageSpec& spec = in->spec ();
    std::printf ("OPEN w=%d h=%d c=%d deep=%d\n", spec.width, spec.height,
                 spec.nchannels, (int) spec.deep);
    std::vector<float> pixels ((size_t) spec.width * spec.height * spec.nchannels);
    bool ok = in->read_image (OIIO::TypeDesc::FLOAT, pixels.data ());
    std::printf ("READ ok=%d\n", (int) ok);
    in->close ();
    return ok ? 0 : 1;
}