CVEfocus › CVE database › CVE-2023-49287

CVE-2023-49287Buffer overflow vulnerabilities in tinydir

CVSS 7.7 HighEPSS 1.5% (higher than 74% of CVEs)Published 2023-12-04Updated 2025-05-29Assigner: GitHub_M

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.

CWE-120CWE-121

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
5Under investigation
5Will not fix
6Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10falcosecurity-libsFix pendingUBUNTU-CVE-2023-49287
Ubuntu 26.10gemmiFix pendingUBUNTU-CVE-2023-49287
Ubuntu 26.04falcosecurity-libsUnder investigationUBUNTU-CVE-2023-49287
Ubuntu 26.04gemmiUnder investigationUBUNTU-CVE-2023-49287
Ubuntu 26.04tcl8.6Not affected
vulnerable_code_not_present
Ubuntu 25.10falcosecurity-libsWill not fix
in tcl8.6, the tinydir.h file isn't compiled in lwip, tinydir code isn't part of the runtime binary packages
UBUNTU-CVE-2023-49287
Ubuntu 25.10gemmiWill not fix
in tcl8.6, the tinydir.h file isn't compiled in lwip, tinydir code isn't part of the runtime binary packages
UBUNTU-CVE-2023-49287
Ubuntu 25.10lwipNot affected
vulnerable_code_not_present
Ubuntu 25.10tcl8.6Not affected
vulnerable_code_not_present
Ubuntu 24.04falcosecurity-libsUnder investigationUBUNTU-CVE-2023-49287
Ubuntu 24.04gemmiUnder investigationUBUNTU-CVE-2023-49287
Ubuntu 24.04tcl8.6Not affected
vulnerable_code_not_present
Ubuntu 22.04gemmiUnder investigationUBUNTU-CVE-2023-49287
Ubuntu 22.04tcl8.6Not affected
vulnerable_code_not_present
Ubuntu 20.04tcl8.6Not affected
vulnerable_code_not_present
Ubuntu 18.04tcl8.6Will not fix
in tcl8.6, the tinydir.h file isn't compiled in lwip, tinydir code isn't part of the runtime binary packages
Ubuntu 16.04tcl8.6Will not fix
in tcl8.6, the tinydir.h file isn't compiled in lwip, tinydir code isn't part of the runtime binary packages
Ubuntu 14.04tcl8.6Will not fix
in tcl8.6, the tinydir.h file isn't compiled in lwip, tinydir code isn't part of the runtime binary packages
Debian 14falcosecurity-libsFixed0.14.1-1DEBIAN-CVE-2023-49287
Debian 14gemmiFixed0.6.4+ds-1DEBIAN-CVE-2023-49287
Debian 13falcosecurity-libsFixed0.14.1-1DEBIAN-CVE-2023-49287
Debian 13gemmiFixed0.6.4+ds-1DEBIAN-CVE-2023-49287
Debian 12falcosecurity-libsFix pendingDEBIAN-CVE-2023-49287
Debian 12gemmiFix pendingDEBIAN-CVE-2023-49287

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.