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, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs929872

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
tcc (PTS)buster0.9.27-8vulnerable
sid, trixie, bookworm, bullseye0.9.27+git20200814.62c30a4a-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
tccsource(unstable)0.9.27+git20200814.62c30a4a-1929872

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

Search for package or bug name: Reporting problems