MantisBT
CVE-2025-46556
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to MantisBT (or anonymous if enabled)
-
DeliverySubmit ~4.8M-character note to an issue
-
ExploitServer stores note without length validation
-
ExecutionActivity stream UI fails to render
-
ImpactIssue collaboration permanently broken
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be able to submit a note (or a long textarea field such as description/steps_to_reproduce/additional_information) to an issue in a MantisBT instance running 2.27.1 or earlier. In a stock configuration this requires an authenticated account with reporter-level privileges on a project; purely anonymous exploitation is only possible where the instance is configured to allow anonymous/public issue participation. No special feature or non-default mode is otherwise needed - unpatched default installations are affected because note length is never validated server-side. Limiting factors: the need for note-submission access, and the fact that impact is scoped to the individual issue that received the oversized note rather than the whole application. |
| Impact | The signals here diverge sharply and point to a lower real-world priority than the 7.5 'High' base score suggests. The CVSS score is driven entirely by A:H (C:N/I:N), i.e. a single availability impact, and the vector claims a trivially exploitable remote/unauthenticated path (AV:N/AC:L/PR:N/UI:N). However, exploitation probability is low: EPSS is 0.07% (23rd percentile), the CVE is NOT on CISA KEV, and no public exploit code is referenced - so this is 'no public exploit identified at time of analysis.' There is also a meaningful conflict between the CVSS vector and the described mechanics: NVD scores this PR:N (unauthenticated), but the attack requires submitting a note to an existing issue, which in default MantisBT deployments requires an authenticated account with reporter-level access - anonymous exploitation is only possible if public/anonymous issue participation is explicitly enabled. Verify the access model against your own configuration. Finally, the impact is a localized, per-issue denial of service (the activity stream of one affected issue becomes unrenderable), not a server-wide outage, RCE, or data exfiltration, so the 'High' rating overstates operational severity. Net assessment: a genuine but low-urgency integrity/availability bug - patch during normal maintenance rather than emergency change. |
| Exploit ScenarioDerived | An attacker who can add notes to an issue (an authenticated reporter in default configurations, or an anonymous user where public participation is enabled) submits a single note containing several million characters - the advisory tested ~4,788,761 characters. Because MantisBT ≤2.27.1 performs no server-side length validation, the note is stored and thereafter the issue's activity stream UI fails to render, permanently preventing any further notes from being displayed and breaking collaboration on that issue. No public proof-of-concept exploit is referenced, though the payload is trivial to construct. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Oct 19, 2026
Oversized issue notes submitted to MantisBT 2.27.1 and earlier permanently break the activity stream on the affected issue, and the underlying cause - no server-side limit on long-text fields such as notes, description, steps_to_reproduce, and additional_information - lets the same corruption be triggered through any of those textareas. In stock configurations the attacker needs a reporter-level account to post content, with fully anonymous abuse possible only where the instance is deliberately configured to allow public issue participation; impact is confined to the individual issue that received the oversized text rather than the whole application, and there is no public exploit code identified at time of analysis, with EPSS at 0.07% (23rd percentile). The signals here diverge sharply and point to a lower real-world priority than the 7.5 'High' base score suggests: NVD scores the flaw as unauthenticated (PR:N), while our assessment finds PR:L is the realistic prerequisite, and the worst case is a locally scoped, recoverable data-corruption/denial-of-service condition rather than remote code execution or data disclosure. Note that the CVSS 3.1 vector published by NVD also rates the availability impact as High, which is consistent with the UI becoming unrenderable, but the confidentiality and integrity scores remain None.
Earlier versions of this analysis (1)
Mantis Bug Tracker (MantisBT) is an open source issue tracker. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, low attack complexity. This Allocation of Resources Without Limits vulnerability could allow attackers to exhaust system resources through uncontrolled allocation.
RemediationAI
Vendor-released patch: upgrade to MantisBT 2.27.2 or later, which adds server-side length validation (helper_ensure_longtext_length_valid) to BugData::validate() and IssueAddCommand::validate() for description, steps_to_reproduce, and additional_information, and adds maxlength attributes to the corresponding textareas as defense in depth; the vendor advisory at https://github.com/mantisbt/mantisbt/security/advisories/GHSA-r3jf-hm7q-qfw5 states explicitly that no workaround exists, and the per-commit diffs are available at https://github.com/mantisbt/mantisbt/commit/c99a41272532ba49b5c8dccb7797afead9864234, https://github.com/mantisbt/mantisbt/commit/d5cec6bffb44d54bd412c186b9baa409b1aa4238, and https://github.com/mantisbt/mantisbt/commit/e9119c68b4a0eaa0bbde3deb121e81f5f7157361. Until the upgrade is scheduled, apply these compensating controls: enforce a request body size cap at the web tier (nginx client_max_body_size or Apache LimitRequestBody set to a modest value such as 256k-1M for the issue-reporting and note endpoints, or an equivalent mod_security rule) - trade-off is that legitimate attachments or large pastes toward those endpoints may be rejected and users will see generic 413 errors rather than a friendly validation message; restrict who can file issues and add notes by tightening project access levels and disabling anonymous/public issue participation (manage_config_work_threshold_page.php) - trade-off is reduced contributor throughput and a support burden for external reporters; and introduce moderation for new or low-reputation accounts, since abuse requires the ability to submit note or issue text. For instances already corrupted, remediation requires direct database intervention: identify oversized rows in the bugnote text and bug description/steps/additional_information columns and truncate or delete them so the activity stream renders again - trade-off is irreversible loss of that content, and the write should be preceded by a backup. Detection is best done by alerting on unusually large POST bodies to bug_report.php, bug_update.php, or bugnote_add.php, and by periodically scanning note and issue text columns for values in the multi-megabyte range.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in composer
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MantisBT is a PHP issue tracker backed by a relational database in which bug reports and notes are persisted in long-text columns, and the affected code path never enforced the database's practical capacity on inbound submissions. The root cause is CWE-770 (Allocation of Resources Without Limits or Throttling): user-controlled long-text input is accepted at arbitrary length, and once a multi-megabyte value (the reporter tested 4,788,761 characters) lands in the activity log, the stream rendering code fails and the issue's collaboration history becomes unviewable - subsequent legitimate notes are stored but never displayed, so the damage is persistent rather than transient and affects all users of that issue. The vendor fix, visible in the referenced commit diffs, is twofold: server-side validation added to core/bug_api.php's BugData::validate() and to core/commands/IssueAddCommand.php::validate() via a new helper_ensure_longtext_length_valid() call applied to description, steps_to_reproduce, and additional_information, plus client-side maxlength attributes on the corresponding textareas in bug_report_page.php and bug_update_page.php driven by the existing max_textarea_length configuration option. Only the server-side half is a security boundary; the HTML maxlength attributes are defense in depth and are trivially bypassed by direct POSTs or API calls. The advisory references three fix commits (c99a412, d5cec6b, e9119c68), the first of which is reproduced in the provided diff. The affected CPE, cpe:2.3:a:mantisbt:mantisbt:*:*:*:*:*:*:*:*, is unversioned in the feed but the advisory pins the vulnerable range to everything below 2.27.2, matching the composer package constraint mantisbt/mantisbt < 2.27.2.
Know when Mantisbt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Posting a note normally requires a low-privilege authenticated account, so PR:L rather than NVD's PR:N; impact is a permanent per-issue availability loss with no confidentiality or system-wide integrity effect.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Mantis Bug Tracker (MantisBT) is an open source issue tracker. Versions 2.27.1 and below allow attackers to permanently corrupt issue activity logs by submitting extremely long notes (tested with 4,788,761 characters) due to a lack of server-side validation of note length. Once such a note is added, the activity stream UI fails to render; therefore, new notes cannot be displayed, effectively breaking all future collaboration on the issue. This issue is fixed in version 2.27.2.
Executive ViewAI
MantisBT 2.27.1 and earlier can have issue activity streams permanently corrupted when oversized text is submitted into notes or other long-text fields, degrading defect and audit record integrity for affected issues. In stock configurations this requires a reporter-level account, and impact is limited to the individual issue rather than the whole application, so leadership should prioritize targeted patching and access hygiene over broad incident response. No public exploit identified at time of analysis; Patch available per vendor advisory.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Affected Products (CPE)NVD
MantisBT through 2.3.0 allows arbitrary password reset and unauthenticated admin access via an empty confirm_hash value
The XmlImportExport plugin in MantisBT 1.2.17 and earlier allows remote attackers to execute arbitrary PHP code via a cr
The XML Import/Export plugin in MantisBT 1.2.x does not restrict access, which allows remote attackers to (1) upload arb
SQL injection vulnerability in the manage configuration page (adm_config_report.php) in MantisBT 1.2.13 through 1.2.16 a
The Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerabilit
MantisBT versions prior to 2.28.1 contain an authentication bypass vulnerability in the SOAP API caused by improper type
MantisBT is an open source issue tracker. Rated high severity (CVSS 8.3), this vulnerability is remotely exploitable, no
The mc_issue_note_update function in the SOAP API in MantisBT before 1.2.11 does not properly check privileges, which al
The current_user_get_bug_filter function in core/current_user_api.php in MantisBT before 1.2.18 allows remote attackers
SQL injection vulnerability in the mc_project_get_attachments function in api/soap/mc_project_api.php in MantisBT before
Multiple SQL injection vulnerabilities in view_all_bug_page.php in MantisBT before 1.2.18 allow remote attackers to exec
SQL injection vulnerability in the mci_file_get function in api/soap/mc_file_api.php in MantisBT before 1.2.16 allows re
NVD
CVE.org
EPSS
GitHub
Exploit-DB