Test files › Documents › corrupt-xref.pdf
Corrupt PDF file
Valid PDF body with a deliberately wrong startxref offset, so the cross-reference table cannot be located.
↓ Download corrupt-xref.pdf| Filename | corrupt-xref.pdf |
| Format | |
| Size | 720 bytes (720 bytes) |
| MIME type | application/pdf |
| SHA-256 | bd5efc3d6ec6afa54aec7d16a763577239ce2e1fda8636bea12497b4d9046f32 |
What this file catchesParsers that crash or hang instead of falling back to a full-file object scan. Most real-world "damaged PDF" reports look exactly like this.
Download & verify
curl -fsSL -o "corrupt-xref.pdf" "https://files.hexaqa.com/pdf/corrupt-xref.pdf"
curl -fsSL "https://files.hexaqa.com/pdf/corrupt-xref.pdf" | sha256sum
# expect: bd5efc3d6ec6afa54aec7d16a763577239ce2e1fda8636bea12497b4d9046f32