CVE-2019-12495 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 be...
MediumCVSS 5.5
EPSS 1.2%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/tcc(Debian:12) | < 0.9.27+git20200814.62c30a4a-1 | 0.9.27+git20200814.62c30a4a-1 |
| debian/tcc(Debian:13) | < 0.9.27+git20200814.62c30a4a-1 | 0.9.27+git20200814.62c30a4a-1 |
| tinycc | = 0.9.27 | No fix listed |
| ubuntu/tcc(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/tcc(Ubuntu:16.04) | = 0.9.27~git20140923.9d7fb33-3ubuntu1 | No fix listed |
| ubuntu/tcc(Ubuntu:16.04) | = 0.9.27~git20151227.933c223-1 | No fix listed |
| ubuntu/tcc(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/tcc(Ubuntu:18.04) | = 0.9.27~git20161217.cd9514ab-3ubuntu1 | No fix listed |
| ubuntu/tcc(Ubuntu:18.04) | = 0.9.27-2 | No fix listed |
| ubuntu/tcc(Ubuntu:18.04) | = 0.9.27-4 | No fix listed |
| ubuntu/tcc(Ubuntu:18.04) | = 0.9.27-5 | No fix listed |
| ubuntu/tcc(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/tcc(Ubuntu:20.04) | = 0.9.27-8 | No fix listed |
References
- Debian Security Tracker CVE-2019-12495 vendor-advisory
- 108541 vdb-entry
- lists.nongnu.org exploit issue-tracking third-party-advisory
- repo.or.cz issue-tracking patch third-party-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- www.cve.org issue-tracking