Description
TinyDir is a lightweight C directory and file reader. Buffer overflows in the `tinydir_file_open()` function. This vulnerability has been patched in version 1.2.6.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cxong | tinydir | < 1.2.6 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | falcosecurity-libs | 0.14.1-1 | — |
| Debian 14 | gemmi | 0.6.4+ds-1 | — |
| Debian 13 | falcosecurity-libs | 0.14.1-1 | — |
| Debian 13 | gemmi | 0.6.4+ds-1 | — |
| Debian 12 | gemmi +1 | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gemmi +1 | No fix yet | — |
| Ubuntu 26.04 LTS | gemmi +1 | No fix yet | — |
| Ubuntu 25.10 | gemmi +1 | No fix yet | — |
| Ubuntu 24.04 LTS | gemmi +1 | No fix yet | — |
| Ubuntu 22.04 LTS | gemmi | No fix yet | — |
References
- https://github.com/cxong/tinydir/security/advisories/GHSA-jf5r-wgf4-qhxf
- https://github.com/cxong/tinydir/releases/tag/1.2.6
- http://www.openwall.com/lists/oss-security/2023/12/04/1
- http://packetstormsecurity.com/files/176060/TinyDir-1.2.5-Buffer-Overflow.html
- http://seclists.org/fulldisclosure/2023/Dec/14