# CVE-2025-5297: SourceCodester Computer Store System main.c Add 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.34%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-28T11:31:05.140Z
- Modified: 2026-06-17T09:47:38.083Z
- Weaknesses: CWE-119, CWE-121, CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## Description

A vulnerability, which was classified as critical, has been found in SourceCodester Computer Store System 1.0. This issue affects the function Add of the file main.c. The manipulation of the argument laptopcompany/RAM/Processor leads to stack-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used.

(As written by CVE List.)

## Affected

- SourceCodester Computer Store System: 1.0
- razormist simple_computer_store_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 6.6 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H`

## References

- <https://github.com/byxs0x0/cve/issues/6> (exploit, issue-tracking, third-party-advisory)
- <https://vuldb.com/?id.310421> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.310421> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.585114> (third-party-advisory, vdb-entry)
- <https://www.sourcecodester.com/> (product)

## Sources

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

---

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