Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Tinycc | Tinycc | 0.9.27 |
Related Weaknesses (CWE)
References
- http://www.securityfocus.com/bid/108541
- https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.htmlExploitThird Party Advisory
- https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5PatchThird Party Advisory
- http://www.securityfocus.com/bid/108541
- https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.htmlExploitThird Party Advisory
- https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5PatchThird Party Advisory
FAQ
What is CVE-2019-12495?
CVE-2019-12495 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 be...
How severe is CVE-2019-12495?
CVE-2019-12495 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-12495?
Check the references section above for vendor advisories and patch information. Affected products include: Tinycc Tinycc.