# CVE-2024-2331: SourceCodester Tourist Reservation System System.cpp ad\_writedata buffer overflow

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-09 · Modified: 2025-04-16
- Record: https://cvemate.com/vulnerability/CVE-2024-2331 · JSON: https://cvemate.com/vulnerability/CVE-2024-2331/json

## Description

```text
A vulnerability was found in SourceCodester Tourist Reservation System 1.0. It has been declared as critical. This vulnerability affects the function ad_writedata of the file System.cpp. The manipulation of the argument ad_code leads to buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-256282 is the identifier assigned to this vulnerability.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.629%, percentile 51.6%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- razormist tourist\_reservation\_system: 1.0
- sourcecodester tourist reservation system: 1.0

## References

- <https://vuldb.com/?id.256282>
- <https://vuldb.com/?ctiid.256282>
- <https://github.com/wkeyi0x1/vul-report/blob/main/Tourist%20Reservation%20System%20using%20C%2B%2B%20with%20Free%20Source%20Code/buffer-overflow-1.md>

---

Data as of 2026-12-05T13:09:46.409Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
