CVE catalog

CVE-2019-12495

tcc: CVE-2019-12495

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
1.22% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiantccsid0.9.27+git20200814.62c30a4a-2fixed
Debiantcctrixie0.9.27+git20200814.62c30a4a-2fixed
Debiantccbookworm0.9.27+git20200814.62c30a4a-1fixed
Ubuntutcc16.040.9.27~git20140923.9d7fb33-3ubuntu1vulnerable
Ubuntutcc16.040.9.27~git20151227.933c223-1vulnerable
Ubuntutcc18.040.9.27~git20161217.cd9514ab-3ubuntu1vulnerable
Ubuntutcc18.040.9.27-2vulnerable
Ubuntutcc18.040.9.27-4vulnerable
Ubuntutcc18.040.9.27-5vulnerable
Ubuntutcc20.040.9.27-8vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantccsourcesid0.9.27+git20200814.62c30a4a-1not yet assignedNot reported[929872]
Debiantccsourcetrixie0.9.27+git20200814.62c30a4a-1not yet assignedNot reported[929872]
Debiantccsourcebookworm0.9.27+git20200814.62c30a4a-1not yet assignedNot reported[929872]

[Debian bug #929872]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libtcc-dev]Fixed

    Source package: [tcc]

    Details (2)
    • 0.9.27+git20200814.62c30a4a-1 · amd64 · bookworm

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · bookworm; dsa · tcc · debian · 12

    • 0.9.27+git20200814.62c30a4a-1 · arm64 · bookworm

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · bookworm; dsa · tcc · debian · 12

  • [tcc]Fixed
    Details (2)
    • 0.9.27+git20200814.62c30a4a-1 · amd64 · bookworm

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · bookworm; dsa · tcc · debian · 12

    • 0.9.27+git20200814.62c30a4a-1 · arm64 · bookworm

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · bookworm; dsa · tcc · debian · 12

[Debian 13 (Trixie)]

  • [libtcc-dev]Fixed

    Source package: [tcc]

    Details (2)
    • 0.9.27+git20200814.62c30a4a-2 · amd64 · trixie

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · 13

    • 0.9.27+git20200814.62c30a4a-2 · arm64 · trixie

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · 13

  • [tcc]Fixed
    Details (2)
    • 0.9.27+git20200814.62c30a4a-2 · amd64 · trixie

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · 13

    • 0.9.27+git20200814.62c30a4a-2 · arm64 · trixie

      Fixed · Fixed: 0.9.27+git20200814.62c30a4a-1

      dsa · tcc · debian · 13

Observed:

References