CVE-2022-3008Tinygltf Project Tinygltf
High 8.8 No auth needed
Follow: this CVE · Tinygltf Project · Tinygltf Project Tinygltf We alert you by email or Slack (account required).
- Priority
- 68
- CVSS 3.1
- 8.8
- EPSS
- 4.3% probability of exploitation in 30 days · percentile 92
- Auth required
- No
- Published
- Sep 5, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
What happens
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
What to do
- Apply the vendor's security update for Tinygltf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| tinygltf_project | tinygltf | < 2.6.0 |
| debian | debian_linux | 11.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.chromium.org Exploit Issue Tracking Mailing List
- github.com Product Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Issue Tracking Patch
- www.debian.org Third Party Advisory