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 trend (30 days)EPSS over the last 30 days for CVE-2019-12495: held from 0.012 to 0.012.

EPSS over last 30 days · oldest: 0.012 · newest: 0.012 · change: 0.000

Affected products

Weakness classification (CWE)

References

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.