CVE-2025-4038 Details
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.
A stack-based buffer overflow vulnerability has been identified in the Train Ticket Reservation System version 1.0. The issue arises in the Ticket Reservation component, specifically within the Reservation function. The vulnerability is caused by the manipulation of the Name argument, which is stored in a character array of 50 bytes. The unsafe gets() function is used to read the input, allowing for local exploitation of the vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/zzzxc643/cve/blob/main/Buffer%20Overflow%20Vulnerability%20in%20Train%20Reservation%20System.md | CISA-ADP | Exploit |
| https://code-projects.org/ | [email protected] | Product |
| https://github.com/zzzxc643/cve/blob/main/Buffer%20Overflow%20Vulnerability%20in%20Train%20Reservation%20System.md | [email protected] | Exploit |
| https://vuldb.com/?ctiid.306403 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.306403 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.559344 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-121 | Stack-based Buffer Overflow | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fabian train ticket reservation system | 1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 10, 2025 | Initial Analysis | [email protected] |
| Apr 28, 2025 | CVE Modified | CISA-ADP |
| Apr 28, 2025 | New CVE Received | [email protected] |