{"id":"UBUNTU-CVE-2018-20375","details":"An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source file leads to an 8 byte out of bounds write in the sym_pop function in tccgen.c.","modified":"2026-05-20T16:03:36.052419490Z","published":"2018-12-23T18:29:00Z","upstream":["CVE-2018-20375"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-20375"},{"type":"REPORT","url":"https://lists.nongnu.org/archive/html/tinycc-devel/2018-12/msg00014.html"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-20375"}],"affected":[{"package":{"name":"tcc","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27~git20140923.9d7fb33-3ubuntu1","0.9.27~git20151227.933c223-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27~git20151227.933c223-1","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}},{"package":{"name":"tcc","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27~git20161217.cd9514ab-3ubuntu1","0.9.27-2","0.9.27-4","0.9.27-5"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27-5","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}},{"package":{"name":"tcc","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27-8"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27-8","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}},{"package":{"name":"tcc","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27+git20200814.62c30a4a-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27+git20200814.62c30a4a-1","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}},{"package":{"name":"tcc","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27+git20200814.62c30a4a-1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27+git20200814.62c30a4a-1","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}},{"package":{"name":"tcc","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27+git20200814.62c30a4a-2"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27+git20200814.62c30a4a-2","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}},{"package":{"name":"tcc","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/tcc?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.9.27+git20200814.62c30a4a-2","0.9.27+git20200814.62c30a4a-2build1"],"ecosystem_specific":{"binaries":[{"binary_version":"0.9.27+git20200814.62c30a4a-2build1","binary_name":"tcc"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-20375.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}