CVE-2019-12495

MEDIUM

Tinycc - Out-of-Bounds Write

Title source: rule
STIX 2.1

Description

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 (3)

Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/108541

Scores

CVSS v3 5.5
EPSS 0.0122
EPSS Percentile 65.1%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-787
Status published
Products (1)
tinycc/tinycc 0.9.27
Published May 31, 2019
Tracked Since Feb 18, 2026