CVE-2017-9935
Description
In LibTIFF 4.0.8, there is a heap-based buffer overflow in the t2p_write_pdf function in tools/tiff2pdf.c. This heap overflow could lead to different damages. For example, a crafted TIFF document can lead to an out-of-bounds read in TIFFCleanup, an invalid free in TIFFClose or t2p_free, memory corruption in t2p_readwrite_pdf_image, or a double free in t2p_free. Given these possibilities, it probably could cause arbitrary code execution.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 4.0.10-1 | |
| sles | affected | | |
| debian | 7.0 | affected | |
| debian | 8.0 | affected | |
| debian | 9.0 | affected | |
| ubuntu | 14.04 | affected | |
| ubuntu | 16.04 | affected | |
| ubuntu | 17.10 | affected | |
| debian | bookworm | fixed | 4.0.9-2 |
| debian | bullseye | fixed | 4.0.9-2 |
| debian | forky | fixed | 4.0.9-2 |
| debian | sid | fixed | 4.0.9-2 |
| debian | trixie | fixed | 4.0.9-2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| libtiff | libtiff | {"endIncluding":"4.0.8"} | |
References
- https://security.archlinux.org/ASA-201811-18
- https://security.archlinux.org/ASA-201811-17
- http://bugzilla.maptools.org/show_bug.cgi?id=2704
- http://www.securityfocus.com/bid/99296
- https://lists.debian.org/debian-lts-announce/2017/12/msg00008.html
- https://usn.ubuntu.com/3606-1/
- https://www.debian.org/security/2018/dsa-4100
- https://www.suse.com/security/cve/CVE-2017-9935.html
- https://security-tracker.debian.org/tracker/CVE-2017-9935
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.