6.0medium
Apache ORC: Potential Heap Buffer Overflow during C++ LZO Decompression
- Severity
- 6.0medium CVSS:4.0 by apache
- Exploit likelihood
- 0.58% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
Description
Heap-based Buffer Overflow vulnerability in Apache ORC. A vulnerability has been identified in the ORC C++ LZO decompression logic, where specially crafted malformed ORC files can cause the decompressor to allocate a 250-byte buffer but then attempts to copy 295 bytes into it. It causes memory corruption. This issue affects Apache ORC C++ library: through 1.8.8, from 1.9.0 through 1.9.5, from 2.0.0 through 2.0.4, from 2.1.0 through 2.1.1. Users are recommended to upgrade to version 1.8.9, 1.9.6, 2.0.5, and 2.1.2, which fix the issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Apache Software Foundation Apache ORC | up to 1.8.8, from 1.9.0 up to 1.9.5, from 2.0.0 up to 2.0.4, from 2.1.0 up to 2.1.1 | CVE List |
| apache orc | before 1.8.9, from 1.9.0 before 1.9.6, from 2.0.0 before 2.0.5, from 2.1.0 before 2.1.2 | NVD |
All scores
| apache | 6.0medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:L/VI:H/VA:H/SC:L/SI:H/SA:H/S:N/RE:M/U:Amber |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Heap-based Buffer Overflow vulnerability in Apache ORC. A vulnerability has been identified in the ORC C++ LZO decompression logic, where specially crafted malformed ORC files can cause the decompressor to allocate a 250-byte buffer but then attempts to copy 295 bytes into it. It causes memory corruption. This issue affects Apache ORC C++ library: through 1.8.8, from 1.9.0 through 1.9.5, from 2.0.0 through 2.0.4, from 2.1.0 through 2.1.1. Users are recommended to upgrade to version 1.8.9, 1.9.6, 2.0.5, and 2.1.2, which fix the issue.
NVD (es)
Vulnerabilidad de desbordamiento de búfer basado en montón en Apache ORC. Se ha identificado una vulnerabilidad en la lógica de descompresión LZO de ORC C++. Archivos ORC malformados, especialmente manipulados, pueden provocar que el descompresor asigne un búfer de 250 bytes, pero luego intente copiar 295 bytes en él. Esto causa corrupción de memoria. Este problema afecta a la librería Apache ORC C++: hasta la versión 1.8.8, de la 1.9.0 a la 1.9.5, de la 2.0.0 a la 2.0.4 y de la 2.1.0 a la 2.1.1. Se recomienda a los usuarios actualizar a las versiones 1.8.9, 1.9.6, 2.0.5 y 2.1.2, que solucionan el problema.
References
| https://orc.apache.org/security/CVE-2025-47436/ | third-party-advisory, vendor-advisory | |
| https://lists.apache.org/thread/kd6tlv8fs5jybmsgxr4vrkdxyc866wrn | mailing-list, vendor-advisory | |
| http://www.openwall.com/lists/oss-security/2025/05/13/4 | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-47436 changed 2025-05-14 | CVE Terms of Use |
| NVD | CVE-2025-47436 changed 2026-06-17 | Public domain |