CVE-2023-49287
Linux Debian vulnerability analysis and mitigation

Overview

TinyDir, a lightweight C directory and file reader, was found to contain buffer overflow vulnerabilities in the tinydir_file_open() function. The vulnerability, identified as CVE-2023-49287, affects versions 1.2.5 and earlier, and was discovered by Marco Ivaldi on December 4, 2023. The issue has been patched in version 1.2.6 (GitHub Advisory).

Technical details

The vulnerability involves multiple buffer overflow issues in the tinydir_file_open() function. Three specific vulnerabilities were identified: a potential buffer overflow due to insecure splitpath API, a stack buffer overflow when concatenating file name and extension, and another stack buffer overflow when copying path to file_name_buf. The severity is rated as High with a CVSS v3.1 score of 7.7 (CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H). The vulnerability is classified under CWE-120 (Buffer Copy without Checking Size of Input) and CWE-121 (Stack-based Buffer Overflow) (NVD, GitHub Advisory).

Impact

If the input crosses a security boundary, the buffer overflow vulnerabilities could lead to consequences ranging from denial of service to arbitrary code execution. The CVSS scoring indicates high impact on both integrity and availability of the system, though no direct impact on confidentiality (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to TinyDir version 1.2.6 which contains the fix for these buffer overflow vulnerabilities. The patch was released on December 3, 2023 (GitHub Release).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-22857MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp-plugins
NoNoJan 14, 2026
CVE-2026-22856MEDIUM6.8
  • Linux DebianLinux Debian
  • freerdp2
NoNoJan 14, 2026
CVE-2026-22859MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22858MEDIUM5.6
  • Linux DebianLinux Debian
  • freerdp3
NoNoJan 14, 2026
CVE-2026-22036LOW3.7
  • JavaScriptJavaScript
  • node-undici
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management