SecurityContext

CVE-2025-4038: code-projects - Buffer Overflow

  • Cve: CVE-2025-4038
  • Name: code-projects - Buffer Overflow
  • 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.
  • Impact: Local attackers can execute arbitrary code, potentially leading to system compromise or privilege escalation.
  • Remediation: Update to the latest version of the system or apply security patches addressing buffer overflow vulnerabilities.
  • Vulnerability type: buffer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker needs local access
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00325
  • Epss percentile: 0.25998
  • Assignee: [email protected]
  • Published at: 2025-04-28T21:15:57Z
  • Age in days: 575
  • Modified at: 2026-06-17T09:32:22Z
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-4038
  • Nvd status: analyzed
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer
CWE-787Out-of-bounds Write

Public exploits

UrlSourceAdded date
https://github.com/zzzxc643/cve/blob/main/Buffer%20Overflow%20Vulnerability%20in%20Train%20Reservation%20System.mdnvd2025-04-28

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/zzzxc643/cve/blob/main/Buffer%20Overflow%20Vulnerability%20in%20Train%20Reservation%20System.mdExploit
https://vuldb.com/?id.306403Third Party Advisory, VDB Entry
https://vuldb.com/?submit.559344Third Party Advisory, VDB Entry
https://code-projects.org/Product
https://vuldb.com/?ctiid.306403Permissions Required, VDB Entry

Products

ProductAffectedPlatform boundSourcesUrl
fabian:train_ticket_reservation_system= 1.0nonvd/v1/products/fabian/train_ticket_reservation_system

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-04-28
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts