First published: Fri May 31 2019(Updated: )
An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source file leads to a one-byte out-of-bounds write in the gsym_addr function in x86_64-gen.c. This occurs because tccasm.c mishandles section switches.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
TinyCC | =0.9.27 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-12495 has a medium-severity rating due to its potential for an out-of-bounds write that may lead to further exploitation.
To mitigate CVE-2019-12495, upgrade Tiny C Compiler to version 0.9.28 or later, which includes patches for the vulnerability.
CVE-2019-12495 specifically affects systems running Tiny C Compiler version 0.9.27.
CVE-2019-12495 is classified as an out-of-bounds write vulnerability that occurs during the compilation of specific crafted source files.
As of now, there are no public exploits reported specifically targeting CVE-2019-12495, but the nature of the vulnerability poses a risk for potential exploitation.