Skip to main content
VulnerabilityPublished Updated

CVE-2023-49287: cxong tinydir · Classic Buffer Overflow

Affects cxong tinydirSource CVE Database V5

0

Not known to be exploited · CVSS 7.7 High : upgrade to 1.2.6 soon.

Data as of 26 Oct 2026, 10:12 UTC

CVSS 3.1 base score
7.7High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2023

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
GitHubcxong/tinydirpkg:github/cxong/tinydirOther threatsAffected
  • <1.2.6
Fixed in
  • 1.2.6

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

Community reviews

Loading reviews…