Skip to content
OpenAdvisories
Unscored CVE-2019-12495 EUVD-2019-4091GHSA-pv69-3373-mhhq

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 wr…

Published May 31, 2019 · Updated Aug 4, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 tcc 0.9.27+git20200814.62c30a4a-1 —
Debian 12 tcc 0.9.27+git20200814.62c30a4a-1 —
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS tcc No fix yet —
Ubuntu 18.04 LTS tcc No fix yet —
Ubuntu 16.04 LTS tcc No fix yet —

References