CVE-2023-49287: cxong tinydir · Classic Buffer Overflow
Affects cxong tinydirSource CVE Database V5
Not known to be exploited · CVSS 7.7 High : upgrade to 1.2.6 soon.
Data as of 26 Oct 2026, 11:42 UTC
- EPSS
- 1.8% chance of exploitation in 30 days – higher than 79% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 1.2.6
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2023
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade cxong/tinydir to 1.2.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubcxong/tinydirpkg:github/cxong/tinydirOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately audit their software inventories to identify any use of TinyDir versions prior to 1.2.6. Where found, upgrading to version 1.2.6 or later is essential to remediate the vulnerability. For software vendors, integrating the patched version into their build and release pipelines is critical. In environments where immediate patching is not feasible, applying strict access controls to limit local user access can reduce exploitation risk. Employing runtime protections such as stack canaries, address space layout randomization (ASLR), and control flow integrity (CFI) can mitigate exploitation impact. Code review and static analysis tools should be used to detect similar buffer overflow patterns in custom code. Additionally, monitoring for unusual application crashes or behavior related to file operations can help detect exploitation attempts. For embedded or specialized systems, firmware updates incorporating the patched library should be prioritized. Finally, educating developers about secure coding practices, especially regarding buffer handling in C, will help prevent similar vulnerabilities.
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.
References
- github.com/cxong/tinydir/security/advisories/GHSA-jf5r-wgf4-qhxf (opens in a new tab)
- github.com/cxong/tinydir/releases/tag/1.2.6 (opens in a new tab)
- openwall.com/lists/oss-security/2023/12/04/1 (opens in a new tab)
- packetstormsecurity.com/files/176060/TinyDir-1.2.5-Buffer-Overflow.html (opens in a new tab)
- seclists.org/fulldisclosure/2023/Dec/14 (opens in a new tab)