Name | CVE-2019-12495 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 929872 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
tcc (PTS) | jessie | 0.9.27~git20140923.9d7fb33-3 | vulnerable |
| stretch | 0.9.27~git20161217.cd9514ab-3 | vulnerable |
| buster | 0.9.27-8 | vulnerable |
| bullseye, bookworm | 0.9.27+git20200814.62c30a4a-1 | fixed |
| sid, trixie | 0.9.27+git20200814.62c30a4a-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
tcc | source | wheezy | (unfixed) | end-of-life | | |
tcc | source | (unstable) | 0.9.27+git20200814.62c30a4a-1 | | | 929872 |
Notes
[buster] - tcc <ignored> (Minor issue)
[stretch] - tcc <ignored> (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