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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.0
- **CVSS:** 6.0 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: High; User interaction: Active; Confidentiality impact: Low; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: Low; Integrity impact on other systems: High; Availability impact on other systems: High; S: N; RE: M; U: Amber
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 1.05% (percentile 64, 2026-11-26)
- **CWE:** CWE-122
- **Published:** 2025-05-14T13:11:36.329Z
- **Modified:** 2026-06-17T09:28:06.387Z

## Who should check

- Anyone running Apache Software Foundation Apache ORC \<= 1.8.8; \>= 1.9.0, \<= 1.9.5; \>= 2.0.0, \<= 2.0.4; \>= 2.1.0, \<= 2.1.1

## 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 and fixed versions

- Apache Software Foundation Apache ORC: \<= 1.8.8; \>= 1.9.0, \<= 1.9.5; \>= 2.0.0, \<= 2.0.4; \>= 2.1.0, \<= 2.1.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-47436. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-47436.md
Affected: Apache Software Foundation Apache ORC <= 1.8.8; >= 1.9.0, <= 1.9.5; >= 2.0.0, <= 2.0.4; >= 2.1.0, <= 2.1.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Apache Software Foundation Apache ORC: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-47436 being exploited?

There is no confirmed exploitation: CVE-2025-47436 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.05% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-47436?

Medium: CVSS 6.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-47436?

Apache Software Foundation Apache ORC \<= 1.8.8; \>= 1.9.0, \<= 1.9.5; \>= 2.0.0, \<= 2.0.4; \>= 2.1.0, \<= 2.1.1.

### Is there a fix for CVE-2025-47436?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-47436?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://orc.apache.org/security/CVE-2025-47436/>
- vendor: <https://lists.apache.org/thread/kd6tlv8fs5jybmsgxr4vrkdxyc866wrn>
- other: <http://www.openwall.com/lists/oss-security/2025/05/13/4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-47436>

HTML: <https://flawdb.com/CVE-2025-47436> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-47436>
