CVE-2017-14636: Because of an integer overflow in sam2p 0.49.3, a loop executes 0xffffffff times, ending with an invalid read
CVE-2017-14636 is a critical-severity flaw (CVSS 9.8) affecting sam2p. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Because of an integer overflow in sam2p 0.49.3, a loop executes 0xffffffff times, ending with an invalid read of size 1 in the Image::Indexed::sortPal function in image.cpp. However, this also causes memory corruption because of an attempted write to the invalid d[0xfffffffe] array element.
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.2% (top 31%) |
| CISA exploited list | No |
| Weakness | CWE-190 |
| Published | 2017-09-22 |
| 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-14636?
sam2p: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2017-14636 being exploited?
CVE-2017-14636 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-14636 affect?
CVE-2017-14636 affects sam2p. Severity is critical (CVSS 9.8). Because of an integer overflow in sam2p 0.49.3, a loop executes 0xffffffff times, ending with an invalid read of size 1 in the Image::Indexed::sortPal function in image.cpp. However, this also causes memory corruption because of an attempte
How urgent is CVE-2017-14636?
Priority 57/100. Critical severity; Remotely exploitable, no login, no user action
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