Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach network-exposed application using Lucy
-
DeliverySubmit crafted oversized input
-
ExploitTrigger stack buffer overflow in Lucy parser
-
ExecutionOverwrite stack return address
-
ImpactExecute arbitrary code in process context
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Stack buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The application must embed Apache Lucy (any version) for search or text indexing functionality and must pass externally-controlled input - such as search queries, indexed documents, or field values - to the vulnerable library code. Applications that process only fully trusted, internally-generated data are not exposed. Exploitation is bounded by whether the hosting process is reachable from an attacker-controlled network path; applications that gate Lucy-processed input behind authentication or that are entirely internal-facing reduce the practical attack surface. No specific non-default configuration is documented as required - the flaw exists in the core library across all versions. |
| Impact | No CVSS score or vector is provided for this CVE, requiring full inference from description and CWE context. Stack-based buffer overflows (CWE-121) historically carry critical severity when exploitable remotely with no authentication. EPSS data is absent. KEV status is negative and no POC has been identified, reducing near-term exploitation likelihood. However, the permanent no-patch posture - explicitly confirmed by the Apache Software Foundation - means risk cannot be mitigated through vendor updates, only through architectural replacement or strict access controls. The realistic risk is low in practice due to the project's retired status and presumed minimal active deployment, but any remaining production instance is permanently exposed to this unresolved memory-safety flaw. |
| Exploit ScenarioDerived | An attacker submits a specially crafted search query or document payload to an application that internally uses Apache Lucy for indexing or search. The oversized or malformed input overflows a fixed stack buffer within the Lucy parsing or indexing routines, corrupting the return address and redirecting execution to attacker-controlled shellcode or a ROP chain. No public exploit code has been identified at time of analysis, but the vulnerability class is well-understood and exploitation techniques for CWE-121 are widely documented. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Stack-based buffer overflow in Apache Lucy (all versions) enables potential arbitrary code execution through crafted input triggering memory corruption in the retired C-based search library. All versions are affected with no patch planned, as the Apache Software Foundation has officially retired the project. No public exploit or active exploitation has been identified at time of analysis, but the absence of any future fix makes this a permanent unresolved risk for any remaining deployments.
RemediationAI
No vendor-released patch identified at time of analysis, and none is planned - the Apache Software Foundation has explicitly stated the project is retired and will not issue a fix. The primary recommended action is migrating to an actively maintained search library such as Apache Lucene (Java), Xapian, or Meilisearch, depending on language and deployment requirements. As an interim compensating control, restrict access to any service or endpoint that accepts input processed by Apache Lucy to trusted, authenticated users only, reducing the attack surface. This control does not eliminate the vulnerability but limits exposure by preventing untrusted input from reaching the vulnerable code path. Organizations should treat any remaining Apache Lucy deployment as end-of-life infrastructure requiring architectural replacement on a defined timeline.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache Lucy (CPE: cpe:2.3:a:apache_software_foundation:apache_lucy:*:*:*:*:*:*:*:*) was a port of the Apache Lucene search engine to C and Perl, designed for embedding full-text search capabilities into applications. CWE-121 (Stack-based Buffer Overflow) indicates that user-supplied or externally-sourced input is written into a fixed-size stack buffer without adequate bounds checking, allowing an attacker to overwrite adjacent stack memory including return addresses or function pointers, typically enabling control-flow hijacking and arbitrary code execution within the process hosting the library.
Know when Apache Lucy 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:H/I:H/A:H
Inferred network vector for a search library accepting external input; no authentication or interaction required; full stack compromise implies high C/I/A.
Primary rating from Vendor (apache).
CVSS VectorVendor: apache
DescriptionCVE.org
UNSUPPORTED WHEN ASSIGNED Stack-based Buffer Overflow vulnerability in Apache Lucy.
This issue affects Apache Lucy: all versions.
As this project is retired, we do not plan to release a version that fixes this issue. Users are recommended to find an alternative or restrict access to the instance to trusted users.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer.
Articles & Coverage 1
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
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A stack-based buffer overflow occurs when a program writes more data to a buffer located on the stack than it was allocated to hold.
More in Apache Lucy
View allInsecure deserialization (CWE-502) in Apache Lucy affects all versions of this retired full-text search engine library,
Memory allocation with excessive size value in Apache Lucy (all versions) enables potential denial-of-service and inform
Uncontrolled Recursion in Apache Lucy, a retired full-text search library, enables remote unauthenticated attackers to c
EUVD-2026-53191
GHSA-phfr-gw5r-65ff
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB