CVE-2019-12495

NameCVE-2019-12495
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitymedium (attack range: remote)
Debian Bugs929872

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcc (PTS)jessie0.9.27~git20140923.9d7fb33-3vulnerable
stretch0.9.27~git20161217.cd9514ab-3vulnerable
bullseye, sid, buster0.9.27-8vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tccsource(unstable)(unfixed)medium929872

Notes

[buster] - tcc <no-dsa> (Minor issue)
[stretch] - tcc <no-dsa> (Minor issue)
[jessie] - tcc <no-dsa> (Minor issue)
https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html
https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5

Search for package or bug name: Reporting problems