CVE-2025-47436

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

State
Published
Severity
6.0 Medium
Published
May 14, 2025
Updated
May 14, 2025
Reserved
May 7, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS: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:Amberapache

Weaknesses

Affected Products

ProductVersions
Apache ORCApache Software Foundation
  • 1.8.8 and earlierAffected
  • 1.9.0 through 1.9.5Affected
  • 2.0.0 through 2.0.4Affected
  • 2.1.0 through 2.1.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.