CVE catalog

CVE-2022-3008

tinygltf: CVE-2022-3008

[CVE catalog]

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

The tinygltf library uses the C library function wordexp() to perform file path expansion on untrusted paths that are provided from the input file. This function allows for command injection by using backticks. An attacker could craft an untrusted path input that would result in a path expansion. We recommend upgrading to 2.6.0 or past commit 52ff00a38447f06a17eab1caa2cf0730a119c751

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debiantinygltfsid2.9.7+dfsg-1fixed
Debiantinygltfforky2.9.7+dfsg-1fixed
Debiantinygltftrixie2.9.5+dfsg-1fixed
Debiantinygltfbookworm2.7.0+dfsg-2fixed
Ubuntutinygltf22.042.5.0+dfsg-3build1vulnerable
Ubuntutinygltf22.042.5.0+dfsg-4vulnerable
Ubuntutinygltf22.042.5.0+dfsg-4ubuntu0.1fixed
Ubuntutinygltf22.042.5.0+dfsg-3build1vulnerable
Ubuntutinygltf22.042.5.0+dfsg-4vulnerable
Ubuntutinygltf22.042.5.0+dfsg-4ubuntu0.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiantinygltfsourcesid2.5.0+dfsg-5not yet assignedNot reported[1019357]
Debiantinygltfsourceforky2.5.0+dfsg-5not yet assignedNot reported[1019357]
Debiantinygltfsourcetrixie2.5.0+dfsg-5not yet assignedNot reported[1019357]
Debiantinygltfsourcebookworm2.5.0+dfsg-5not yet assignedNot reported[1019357]
Ubuntutinygltfdeb22.042.5.0+dfsg-4ubuntu0.1Not reportedUBUNTU-CVE-2022-3008Not reported
Ubuntutinygltfdeb22.042.5.0+dfsg-4ubuntu0.1Not reportedUSN-7129-1Not reported

[Debian bug #1019357]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [tinygltf]

    Details (2)
    • 2.7.0+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 2.5.0+dfsg-5

      dsa · tinygltf · debian · bookworm

    • 2.7.0+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0+dfsg-5

      dsa · tinygltf · debian · bookworm

  • Source package: [tinygltf]

    Details (2)
    • 2.7.0+dfsg-2 · amd64 · bookworm

      Fixed · Fixed: 2.5.0+dfsg-5

      dsa · tinygltf · debian · bookworm

    • 2.7.0+dfsg-2 · arm64 · bookworm

      Fixed · Fixed: 2.5.0+dfsg-5

      dsa · tinygltf · debian · bookworm

Observed:

References