Buffer overflow in Tinycc

CVE-2019-9754

An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source file leads to an 1 byte out of bounds write in the end_macro function in tccpp.c.

Vulnerability class: Buffer Overflow

EPSS: 0.009 (55.0th percentile) — read the EPSS interpretation.

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.

Affected products

  • Tinycc — versions 0.9.27
  • N/a — versions n/a

Weakness classification (CWE)

References

  • cve@mitre.org (Exploit, Mailing List, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2019-9754?
CVE-2019-9754 is a medium-severity vulnerability in Tinycc, classified under Out-of-bounds Write. CVSS score: 5.5/10. Published 2019-03-13.
How severe is CVE-2019-9754?
Medium severity. CVSS v3 base score is 5.5 out of 10.