VulnerabilityModified
CVE-2019-12495
Compiling a crafted source file leads to a one-byte out-of-bounds write in the gsym_addr function in x86_64-gen.c.
MEDIUM 5.5EPSS 1.22%
Does this matter?
Lower severity and a low EPSS score (1.22%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.0
- 5.5 MEDIUMCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
- EPSS
- 1.22% probability · 67th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-787
- Affected
- tinycc/tinycc
- Source
- cve@mitre.org
References
- http://www.securityfocus.com/bid/108541
- https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.htmlExploit, Third Party Advisory
- https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5Patch, Third Party Advisory
- http://www.securityfocus.com/bid/108541
- https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.htmlExploit, Third Party Advisory
- https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5Patch, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.