CVE-2022-3008
published high CVSS 3.1 · 8.1Command Injection on tinygltf
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| syoyo | — | tinygltfunspecified to < 2.6.0 | Affected | Not stated | |
| Debian | bullseye | tinygltf | Advisory build | 2.5.0+dfsg-3+deb11u1 | DSA-5232-1 |
| Ubuntu | jammy | tinygltf | Advisory build | 2.5.0+dfsg-4ubuntu0.1 | USN-7129-1 |
| Ubuntu | jammy | libtinygltf1d | Advisory build | 2.5.0+dfsg-4ubuntu0.1 | USN-7129-1 |
Description
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
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- Google · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| syoyo | tinygltf | unspecified to < 2.6.0 (affected · custom) | Google · cna |
Weaknesses
1- CWE-78 CWE-78 OS Command Injection
References
5Provider assertions
3Google · cna
Command Injection on tinygltf
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 322e575620c79f294dbaa860561e7d60356432b48223f75abd4f6aabddddd3b8
- Ingested
- 23 Sep 2026, 08:02:02 UTC
- Source record
- Official CVE record