STB v2.27 was discovered to contain an integer shift of invalid size in the component stbi__jpeg_decode_block_prog_ac.
Weakness
The product performs a calculation that generates incorrect or unintended results that are later used in security-critical decisions or resource management.
Affected Software
Name |
Vendor |
Start Version |
End Version |
Stb |
Stb_project |
2.27 |
2.27 |
Libstb |
Ubuntu |
impish |
* |
Libstb |
Ubuntu |
trusty |
* |
Libstb |
Ubuntu |
xenial |
* |
Potential Mitigations
- Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences.
- Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
- Use languages, libraries, or frameworks that make it easier to handle numbers without unexpected consequences.
- Examples include safe integer handling packages such as SafeInt (C++) or IntegerLib (C or C++).
References