CVE-2019-12495 json
An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27.
published 7y ago modified 4mo ago also EUVD-2019-4091
- cvss
- 5.5
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- tcc Debian 13, Debian 12 0.9.27+git20200814.62c30a4a-1
debian advisories DEBIAN-CVE-2019-12495
Is CVE-2019-12495 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
1.22% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- lists.nongnu.org https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
repo.or.cz
/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5
patch, third-party-advisory
-
lists.nongnu.org
/archive/html/tinycc-devel/2019-05/msg00044.html
exploit, third-party-advisory
-
securityfocus.com
/bid/108541
vdb-entry
Sources
- CVE List CVE-2019-12495
- NVD CVE-2019-12495
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.