CVE-2025-4891 Details
Description
A vulnerability was found in code-projects Police Station Management System 1.0. It has been classified as critical. Affected is the function criminal::display of the file source.cpp of the component Display Record. The manipulation of the argument N leads to buffer overflow. It is possible to launch the attack on the local host. The exploit has been disclosed to the public and may be used.
A critical buffer overflow vulnerability has been identified in Code-Projects Police Station Management System version 1.0. The issue arises in the 'criminal::display' function within 'source.cpp', part of the 'Display Record' component. The vulnerability is caused by the improper handling of the 'N' argument, which allows for memory corruption by overwriting adjacent memory locations. This could potentially lead to arbitrary code execution or cause the program to crash. The vulnerability can be exploited locally.
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 May 19, 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://code-projects.org/ | [email protected] | Product |
| https://github.com/zzzxc643/cve/blob/main/Police-StationManagementSystem.md | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/?ctiid.309444 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.309444 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.577500 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
| CWE-120 | Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code-projects police station management system | 1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 27, 2025 | Initial Analysis | [email protected] |
| May 18, 2025 | New CVE Received | [email protected] |