Out-of-bounds Write Affecting tcc package, versions <0.9.27+git20200814.62c30a4a-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.16% (54th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-TCC-518812
  • published31 May 2019
  • disclosed31 May 2019

Introduced: 31 May 2019

CVE-2019-12495  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Debian:11 tcc to version 0.9.27+git20200814.62c30a4a-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream tcc package and not the tcc package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.