Exploit database

GH-8955105f3084404f73fd9deba5d29be8

lcf2212dev/image-size-next

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-71329

1 source

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

Repository files23
lcf2212dev/image-size-nextRevision 6ad3604fb2a2

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

lib/types/j2c.ts

TypeScript · 367 bytes
import type { IImage } from './interface'
import { readUInt32BE } from './utils'

export const J2C: IImage = {
  // TODO: this doesn't seem right. SIZ marker doesn't have to be right after the SOC
  validate: (input) => readUInt32BE(input, 0) === 0xff4fff51,

  calculate: (input) => ({
    height: readUInt32BE(input, 12),
    width: readUInt32BE(input, 8),
  }),
}