# CVE-2023-46586: cgi.c in weborf .0.17, 0.18, 0.19, and 0.20 (before 1.0) lacks '\0' termination of the path for CGI scripts because strncpy is misused.

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-10-09T00:00:00.000Z
- Modified: 2026-06-17T06:31:10.000Z
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

cgi.c in weborf .0.17, 0.18, 0.19, and 0.20 (before 1.0) lacks '\0' termination of the path for CGI scripts because strncpy is misused.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- weborf_project weborf: before 1.0

## References

- <https://github.com/ltworf/weborf/pull/88>
- <https://github.com/ltworf/weborf/commit/49824204add55aab0568d90a6b1e7c822d32120d>
- <https://github.com/ltworf/weborf/commit/6f83c3e9ceed8b0d93608fd5d42b53c081057991>
- <https://github.com/ltworf/weborf/pull/88/commits/7057d254b734dfc9cfb58983f901aa6ec3c94fd4>

## Sources

- CVE List: [CVE-2023-46586](https://www.cve.org/CVERecord?id=CVE-2023-46586), CVE Terms of Use, modified 2025-03-19
- NVD: [CVE-2023-46586](https://nvd.nist.gov/vuln/detail/CVE-2023-46586), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46586 · Whole record: https://cve.day/CVE-2023-46586.json · Rebuilt by cve.day 2026-11-25T22:58:34.330Z
