Description
Poppler 21.01.0 through 26.11.0 contains a time-of-check time-of-use race condition in FormWidgetSignature::signDocument() that allows local attackers to obtain valid signatures over altered content. Attackers with write access to the output file or directory can overwrite or swap the PDF between writing and hashing, causing the signer's key to sign attacker-controlled content.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| freedesktop | poppler | 21.01.0 – ≤ 26.11.0 | — |
References
- https://gitlab.freedesktop.org/poppler/poppler/-/work_items/1854 issue-tracking
- https://gitlab.freedesktop.org/poppler/poppler/-/blob/poppler-26.11.0/poppler/Form.cc#L655-L704 technical-description
- VulnCheck Advisory: Poppler 21.01.0 through 26.11.0 TOCTOU Race Condition in signDocument() third-party-advisory