Every CVE Search/ Get API key

CVE-2018-20374

An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source...

5.5 Medium

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 use_section1 function in tccasm.c.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

0.75%Up 0.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 5.5

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 use_section1 function in tccasm.c.

Record
CVE-2018-20374
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-787
Updated
2026-11-02
CVE List No score

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 use_section1 function in tccasm.c.

Record
CVE-2018-20374
Updated
2026-11-02
EUVDEUVD-2018-12932 No score

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 use_section1 function in tccasm.c.

Record
EUVD-2018-12932
Updated
2026-11-03
GitHub AdvisoriesGHSA-c6x3-v6cq-j2qh 5.5

An issue was discovered in Tiny C Compiler (aka TinyCC or TCC) 0.9.27. Compiling a crafted source...

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 use_section1 function in tccasm.c.

Record
GHSA-c6x3-v6cq-j2qh
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness
CWE-787
Updated
2026-11-02
OSV 5.5

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 use_section1 function in tccasm.c.

Record
CVE-2018-20374
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-20374 5.5

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 use_section1 function in tccasm.c.

Record
DEBIAN-CVE-2018-20374
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2018-20374 5.5

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 use_section1 function in tccasm.c.

Record
UBUNTU-CVE-2018-20374
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
tcc
Debian:12
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-10.9.27+git20200814.62c30a4a-2
None known
tcc
Debian:13
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-2
None known
tcc
Ubuntu:16.04:LTS
All versions, plus listed versions
0.9.27~git20140923.9d7fb33-3ubuntu10.9.27~git20151227.933c223-1
None known
tcc
Ubuntu:18.04:LTS
All versions, plus listed versions
0.9.27~git20161217.cd9514ab-3ubuntu10.9.27-20.9.27-40.9.27-5
None known
tcc
Ubuntu:20.04:LTS
All versions, plus listed versions
0.9.27-8
None known
tcc
Ubuntu:22.04:LTS
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-1
None known
tcc
Ubuntu:24.04:LTS
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-1
None known
tcc
Ubuntu:25.10
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-2
None known
tcc
Ubuntu:26.10
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-2build1
None known
tcc
Ubuntu:26.04:LTS
All versions, plus listed versions
0.9.27+git20200814.62c30a4a-20.9.27+git20200814.62c30a4a-2build1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-20374 is a medium vulnerability (CVSS 5.5) in Tinycc, published December 23, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.75%, the 54th percentile. No source names a fixed version.

References

MoveEnter Open