# CVE-2025-47776: MantisBT: Authentication bypass for some passwords due to PHP type juggling

- Severity: High 8.8 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/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 30% of CVEs (2026-12-01)
- Published: 2025-11-03T17:07:36.000Z
- Modified: 2026-10-19T13:10:00.110Z
- Also known as: GHSA-4v8w-gg5j-ph37
- Weaknesses: CWE-305, CWE-697
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Mantis Bug Tracker (MantisBT) is an open source issue tracker. Due to incorrect use of loose (==) instead of strict (===) comparison in the authentication code in versions 2.27.1 and below.PHP type juggling will cause certain MD5 hashes matching scientific notation to be interpreted as numbers. Instances using the MD5 login method allow an attacker who knows the victim's username and has access to an account with a password hash that evaluates to zero to log in without knowing the victim's actual password, by using any other password with a hash that also evaluates to zero This issue is fixed in version 2.27.2.

(As written by CVE List.)

## Affected

- mantisbt mantisbt: < 2.27.2; before 2.27.2
- mantisbt/mantisbt (Packagist): before 2.27.2

## Every score

- GitHub_M: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/mantisbt/mantisbt/security/advisories/GHSA-4v8w-gg5j-ph37> (issue-tracking, mitigation, vendor-advisory, web)
- <https://github.com/mantisbt/mantisbt/commit/966554a19cf1bdbcfbfb3004766979faa748f9a2> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-47776> (advisory)
- <https://github.com/mantisbt/mantisbt> (package)
- <https://github.com/mantisbt/mantisbt/blob/0fb502dd613991e892ed2224ac5ea3e40ba632bc/core/authentication_api.php#L782> (web)
- <https://mantisbt.org/bugs/view.php?id=35967> (web)

## Sources

- CVE List: [CVE-2025-47776](https://www.cve.org/CVERecord?id=CVE-2025-47776), CVE Terms of Use, modified 2025-11-05
- GitHub Advisory Database: [GHSA-4v8w-gg5j-ph37](https://github.com/advisories/GHSA-4v8w-gg5j-ph37), CC-BY-4.0, modified 2026-03-06
- NVD: [CVE-2025-47776](https://nvd.nist.gov/vuln/detail/CVE-2025-47776), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-47776 · Whole record: https://cve.day/CVE-2025-47776.json · Rebuilt by cve.day 2026-11-25T22:59:07.213Z
