Description
An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source file leads to an 1 byte out of bounds write in the end_macro function in tccpp.c.
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | tcc | 0.9.27+git20200814.62c30a4a-1 | — |
| Debian 12 | tcc | 0.9.27+git20200814.62c30a4a-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | tcc | No fix yet | — |
| Ubuntu 18.04 LTS | tcc | No fix yet | — |
| Ubuntu 16.04 LTS | tcc | No fix yet | — |