Buffer overflow in Tinycc
CVE-2019-12495
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 class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.012 (68.5th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 68th percentile — 68.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000
Affected products
- Tinycc — versions 0.9.27
Weakness classification (CWE)
References
- lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html (Exploit, Third Party Advisory)
- repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5 (Patch, Third Party Advisory)
- www.securityfocus.com/bid/108541 (vdb-entry)
Frequently asked questions
- What is CVE-2019-12495?
- CVE-2019-12495 is a medium-severity vulnerability in Tinycc, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2019-05-31.
- How severe is CVE-2019-12495?
- Medium severity. CVSS v3 base score is 5.5 out of 10.