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
Lifecycle Timeline
1DescriptionCVE.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
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-53191
GHSA-phfr-gw5r-65ff