CVE-2025-4891 code-projects Police Station Management System Display Record source.cpp display buffer overflow
A buffer overflow in the Police Station Management System allows local attackers to execute arbitrary code or escalate privileges via the display record function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-4891?
CVE-2025-4891 is a medium-severity memory corruption vulnerability in code-projects Police Station Management System, published on 18 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2025-4891?
It affects 1 product.
Products include Code-Projects Police Station Management System.
How do I fix CVE-2025-4891?
No fix has been published for CVE-2025-4891 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2025-4891 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4891 exists.
Sources
Also known as GHSA-qpr4-2qj4-54m8.