CVE-2016-8697: The bm_new function in bitmap.h in potrace before 1.13 allows remote attackers to cause a denial of service (d
CVE-2016-8697 is a medium-severity flaw (CVSS 5.5) affecting potrace. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The bm_new function in bitmap.h in potrace before 1.13 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted BMP image.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.4% (top 28%) |
| CISA exploited list | No |
| Weakness | CWE-369 |
| Published | 2017-01-31 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2016-8697?
potrace: upgrade to newer than 1.12. Exact commands for each OS are on this page.
Is CVE-2016-8697 being exploited?
CVE-2016-8697 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2016-8697 affect?
CVE-2016-8697 affects potrace. Severity is medium (CVSS 5.5). The bm_new function in bitmap.h in potrace before 1.13 allows remote attackers to cause a denial of service (divide-by-zero error and crash) via a crafted BMP image.
How urgent is CVE-2016-8697?
Priority 37/100. No elevated risk signals yet.
Related CVEs
- CVE-2017-7263 HIGH 7.8 DOWNGRADE The bm_readbody_bmp function in bitmap_io.c in Potrace 1.14 allows remote attackers to cause a denial of servi
- CVE-2017-12067 HIGH 7.5 DOWNGRADE Potrace 1.14 has a heap-based buffer over-read in the interpolate_cubic function in mkbitmap.c.
- CVE-2016-8703 HIGH 7.8 UPGRADE Heap-based buffer overflow in the bm_readbody_bmp function in bitmap_io.c in potrace before 1.13 allows remote
- CVE-2016-8702 HIGH 7.8 UPGRADE Heap-based buffer overflow in the bm_readbody_bmp function in bitmap_io.c in potrace before 1.13 allows remote
- CVE-2016-8701 HIGH 7.8 UPGRADE Heap-based buffer overflow in the bm_readbody_bmp function in bitmap_io.c in potrace before 1.13 allows remote