What’s Vulnerable › Vulnerabilities
CVE-2019-12495
- Severity: medium (CVSS 5.5 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-05-31 · updated 2026-06-17
- Weakness: CWE-787
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.
Affected products
- Tinycc: 0.9.27
References
- http://www.securityfocus.com/bid/108541
- https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html
- https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5
- http://www.securityfocus.com/bid/108541
- https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html
- https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5
Get alerted when CVE-2019-12495 or the next vulnerability affects your stack