Paper/Archive/CVE-2025-47436

CVE-2025-47436

Apache Software Foundation Apache ORC — Apache ORC: Potential Heap Buffer Overflow during C++ LZO Decompression

Description · from the CVE record

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

ProductAffectedFixed inSource
Apache ORC≤ 1.8.8–CNA
Apache ORC1.9.0 – 1.9.5–CNA
Apache ORC2.0.0 – 2.0.4–CNA
Apache ORC2.1.0 – 2.1.1–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
apache (CNA)6.0CVSS: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
CISA ADPSSVCExploitation: none · Automatable: no · Technical impact: partial

References

advisoryorc.apache.org/security/CVE-2025-47436reflists.apache.org/thread/kd6tlv8fs5jybmsgxr4vrkdxyc866wrnrefopenwall.com/lists/oss-security/2025/05/13/4