# CVE-2025-4038: code-projects Train Ticket Reservation System reservation stack-based overflow

- Severity: Medium 4.8 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- 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.33%, higher than 27% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-04-28T21:00:07.109Z
- Modified: 2026-06-17T09:32:22.210Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability was found in code-projects Train Ticket Reservation System 1.0. It has been declared as critical. Affected by this vulnerability is the function Reservation of the component Ticket Reservation. The manipulation of the argument Name leads to stack-based buffer overflow. Attacking locally is a requirement. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- code-projects Train Ticket Reservation System: 1.0
- fabian train_ticket_reservation_system: 1.0

## Every score

- VulDB: CVSS:4.0 4.8 Medium `CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N`
- VulDB: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:3.0 5.3 Medium `CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- VulDB: CVSS:2.0 4.3 Medium `AV:L/AC:L/Au:S/C:P/I:P/A:P`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/zzzxc643/cve/blob/main/Buffer%20Overflow%20Vulnerability%20in%20Train%20Reservation%20System.md> (exploit)
- <https://vuldb.com/?id.306403> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.306403> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.559344> (third-party-advisory, vdb-entry)
- <https://code-projects.org/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2025-4038 · Whole record: https://cve.day/CVE-2025-4038.json · Rebuilt by cve.day 2026-11-25T22:58:57.044Z
