{"id":"CVE-2019-12495","state":"PUBLISHED","title":"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-g","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.","publishedAt":"2019-05-31T10:45:28.000Z","updatedAt":"2024-08-04T23:24:38.393Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html","https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5","http://www.securityfocus.com/bid/108541"],"weaknesses":[],"ingestedAt":"2026-10-29T19:45:24.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/12xxx/CVE-2019-12495.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-12495","state":"PUBLISHED","datePublished":"2019-05-31T10:45:28.000Z","dateUpdated":"2024-08-04T23:24:38.393Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-05-31T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html","tags":["x_refsource_MISC"]},{"url":"https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/108541","name":"108541","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2019-06-03T10:06:02.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-12495","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html","refsource":"MISC","url":"https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html"},{"name":"https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5","refsource":"MISC","url":"https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5"},{"name":"108541","refsource":"BID","url":"http://www.securityfocus.com/bid/108541"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://lists.nongnu.org/archive/html/tinycc-devel/2019-05/msg00044.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://repo.or.cz/tinycc.git/commit/d04ce7772c2bc2781ab2502e0b1f1964488814b5","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/108541","name":"108541","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T23:24:38.393Z"}}]}}}