CVE-2017-16663: In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in t
CVE-2017-16663 is a medium-severity flaw (CVSS 5.5) affecting sam2p. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in the function ReadImage, because "width * height" multiplications occur unsafely.
Why this priority
- No elevated risk signals yet
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 42%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2017-11-08 |
| 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-2017-16663?
sam2p: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-16663 being exploited?
CVE-2017-16663 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-2017-16663 affect?
CVE-2017-16663 affects sam2p. Severity is medium (CVSS 5.5). In sam2p 0.49.4, there are integer overflows (with resultant heap-based buffer overflows) in input-bmp.ci in the function ReadImage, because "width * height" multiplications occur unsafely.
How urgent is CVE-2017-16663?
Priority 34/100. No elevated risk signals yet.
Related CVEs
- CVE-2020-19492 HIGH 7.8 DOWNGRADE There is a floating point exception in ReadImage that leads to a Segmentation fault in sam2p 0.49.4
- CVE-2020-19491 HIGH 7.8 DOWNGRADE There is an invalid memory access bug in cgif.c that leads to a Segmentation fault in sam2p 0.49.4
- CVE-2018-7554 CRITICAL 9.8 DOWNGRADE MITIGATE There is an invalid free in ReadImage in input-bmp.ci that leads to a Segmentation fault in sam2p 0.49.4
- CVE-2018-7553 CRITICAL 9.8 DOWNGRADE MITIGATE There is a heap-based buffer overflow in the pcxLoadRaster function of in_pcx.cpp in sam2p 0.49.4
- CVE-2018-7552 CRITICAL 9.8 DOWNGRADE MITIGATE There is an invalid free in Mapping::DoubleHash::clear in mapping.cpp that leads to a Segmentation fault in sa