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.
References
Link | Resource |
---|---|
http://www.securityfocus.com/bid/108541 | |
https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html | Exploit Third Party Advisory |
https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 | Patch Third Party Advisory |
http://www.securityfocus.com/bid/108541 | |
https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html | Exploit Third Party Advisory |
https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 | Patch Third Party Advisory |
Configurations
History
21 Nov 2024, 04:22
Type | Values Removed | Values Added |
---|---|---|
References | () http://www.securityfocus.com/bid/108541 - | |
References | () https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html - Exploit, Third Party Advisory | |
References | () https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 - Patch, Third Party Advisory |
Information
Published : 2019-05-31 11:29
Updated : 2024-11-21 04:22
NVD link : CVE-2019-12495
Mitre link : CVE-2019-12495
CVE.ORG link : CVE-2019-12495
JSON object : View
Products Affected
tinycc
- tinycc
CWE
CWE-787
Out-of-bounds Write