SecurityContext

CVE-2018-20376: TinyCC - Out of Bounds Write

  • Cve: CVE-2018-20376
  • Name: TinyCC - Out of Bounds Write
  • Description: 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 asm_parse_directive function in tccasm.c.
  • Impact: Memory corruption can lead to crashes, arbitrary code execution, or system instability when successfully exploited.
  • Remediation: Update to the latest version of TinyCC or apply patches addressing this vulnerability.
  • Vulnerability type: out_of_bounds_rw
  • Vulnerability impact: remote_code_execution, denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.00746
  • Epss percentile: 0.55746
  • Assignee: [email protected]
  • Published at: 2018-12-23T18:29:00Z
  • Age in days: 2893
  • Modified at: 2026-06-17T01:52:43Z
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-20376
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://lists.nongnu.org/archive/html/tinycc-devel/2018-12/msg00013.htmlnvd2018-12-23

References

UrlSourceTags
https://lists.nongnu.org/archive/html/tinycc-devel/2018-12/msg00013.htmlnvdExploit, Mailing List, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
tinycc:tinycc= 0.9.27nonvd/v1/products/tinycc/tinycc

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2018-12-23
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts