Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-85965 Overview
CVE-2026-85965 affects Progress MarkLogic Server versions 12.x before 12.1.0 and 11.x before 11.3.7. The flaw resides in the JavaScript engine integration layer and stems from a use-after-free condition [CWE-416]. An authenticated attacker with high privileges can trigger memory corruption, forced process termination, or broader server instability through crafted interactions with the JavaScript runtime. Successful exploitation can cross privilege boundaries, impacting the confidentiality, integrity, and availability of the database server and adjacent components. Progress addressed the issue in its October 2026 security bulletin.
Critical Impact
Memory corruption in the JavaScript engine integration can lead to controlled process failure, server instability, and potential compromise of data served by MarkLogic Server.
Affected Products
- Progress MarkLogic Server 12.x releases before 12.1.0
- Progress MarkLogic Server 11.x releases before 11.3.7
- Deployments exposing JavaScript engine functionality to authenticated users
Discovery Timeline
- 2026-10-12 - CVE-2026-85965 published to the National Vulnerability Database (NVD)
- 2026-10-15 - Last updated in NVD database
- October 2026 - Progress publishes the Progress MarkLogic Security Bulletin
Technical Details for CVE-2026-85965
Vulnerability Analysis
The vulnerability is a use-after-free defect [CWE-416] inside the JavaScript engine integration of MarkLogic Server. The server embeds a JavaScript runtime to execute user-supplied scripts and server-side extensions. Flawed object lifecycle handling allows a freed memory region to be reused while still referenced by the engine. When the engine dereferences the stale pointer, memory corruption occurs, which can crash the process or alter execution flow in adjacent code paths.
The scope rating indicates the impact can extend beyond the vulnerable component. A corrupted MarkLogic process can disrupt clustered services, interrupt queries, and interfere with replication and backup workflows.
Root Cause
The root cause is improper lifetime management of JavaScript engine objects within the MarkLogic native integration. Native handles outlive their associated JavaScript values, and subsequent operations access memory that has already been released. This pattern is characteristic of use-after-free conditions in script engine bindings, where garbage collection and native reference counting are not consistently synchronized.
Attack Vector
Exploitation requires network access to the MarkLogic Server and high-privilege authenticated credentials. The attack complexity is high, indicating specific preconditions must be met to reliably trigger the condition. An attacker submits crafted JavaScript workloads or XQuery requests that invoke the JavaScript engine in a way that produces the stale reference. Successful exploitation causes memory corruption or process termination, with potential cascading effects on the broader server.
No public proof-of-concept exploit, CISA KEV listing, or in-the-wild exploitation has been reported. The vulnerability is described in prose only; see the Progress MarkLogic Security Bulletin for vendor technical details.
Detection Methods for CVE-2026-85965
Indicators of Compromise
- Unexpected MarkLogic process crashes or restarts with signal-related exit codes in ErrorLog.txt
- Core dumps or memory faults tied to the JavaScript engine threads within MarkLogic
- Spikes in failed JavaScript or server-side JavaScript (sjs) query evaluations from authenticated accounts
- Repeated authenticated requests from a single principal that terminate connections abnormally
Detection Strategies
- Monitor MarkLogic audit logs for high-privilege accounts executing anomalous JavaScript or xdmp.javascriptEval calls
- Correlate process restarts and segmentation faults with preceding JavaScript workloads from the same session
- Baseline normal administrative script execution patterns and alert on deviations
Monitoring Recommendations
- Forward MarkLogic ErrorLog.txt, AuditLog.txt, and OS-level crash telemetry to a centralized log platform
- Track privileged role assignments and audit any new accounts granted script execution privileges
- Alert on repeated service restarts within short time windows across cluster nodes
How to Mitigate CVE-2026-85965
Immediate Actions Required
- Upgrade MarkLogic Server 12.x to version 12.1.0 or later
- Upgrade MarkLogic Server 11.x to version 11.3.7 or later
- Audit all accounts with privileges to execute server-side JavaScript and revoke any that are unnecessary
- Restrict network access to MarkLogic management and query endpoints to trusted administrative networks
Patch Information
Progress has released fixed builds in MarkLogic Server 12.1.0 and 11.3.7. Review the Progress MarkLogic Security Bulletin for the complete list of addressed issues and upgrade guidance before applying patches to production clusters.
Workarounds
- Limit execution of server-side JavaScript to a minimal set of trusted administrative accounts until patching is complete
- Place MarkLogic Server behind network segmentation that enforces least-privilege access to authenticated endpoints
- Enable verbose auditing of JavaScript execution to shorten investigation time if abnormal behavior occurs
# Verify installed MarkLogic Server version on Linux
/opt/MarkLogic/bin/MarkLogic -v
# Review recent process restarts and faults in the MarkLogic error log
grep -Ei 'restart|signal|fault|segv' /var/opt/MarkLogic/Logs/ErrorLog.txt
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

