Vulnerability Details : CVE-2019-12495
Potential exploit
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.
Vulnerability category: Memory Corruption
Products affected by CVE-2019-12495
- cpe:2.3:a:tinycc:tinycc:0.9.27:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2019-12495
0.20%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 39 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2019-12495
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2019-12495
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2019-12495
-
https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5
Public Git Hosting - tinycc.git/commitPatch;Third Party Advisory
-
http://www.securityfocus.com/bid/108541
Tiny C Compiler CVE-2019-12495 Heap Buffer Overflow Vulnerability
-
https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html
[Tinycc-devel] Out of Bounds Write in gsym_addrExploit;Third Party Advisory
Jump to