# CVE-2025-47436: Apache ORC: Potential Heap Buffer Overflow during C++ LZO Decompression

- Severity: Medium 6.0 (CVSS:4.0, scored by apache) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.58%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-05-14T13:11:36.329Z
- Modified: 2026-06-17T09:28:06.387Z
- Weaknesses: CWE-122
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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
- 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

## Every score

- apache: CVSS:4.0 6.0 Medium `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2025-47436](https://www.cve.org/CVERecord?id=CVE-2025-47436), CVE Terms of Use, modified 2025-05-14
- NVD: [CVE-2025-47436](https://nvd.nist.gov/vuln/detail/CVE-2025-47436), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-47436 · Whole record: https://cve.day/CVE-2025-47436.json · Rebuilt by cve.day 2026-11-25T22:58:58.048Z
