A valid image is followed by a large appended overlay that is a second container (PE/ZIP/...) or a loader-delimited base64-encoded payload.
A valid JPEG carries a loader-delimited encoded Windows executable after the JPEG end marker.
Polyglot child-content evidence: Polyglot Child PDF Static Triage.