Skip to content

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

MediumCVSS 6.0 EPSS 0.58%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
Apache ORC <= 1.8.8; >= 1.9.0, <= 1.9.5; >= 2.0.0, <= 2.0.4; >= 2.1.0, <= 2.1.1 after 1.8.8, 1.9.5, 2.0.4, 2.1.1 Fixed
apache orc < 1.8.9; >= 1.9.0, < 1.9.6; >= 2.0.0, < 2.0.5; >= 2.1.0, < 2.1.2 1.8.9, 1.9.6, 2.0.5, 2.1.2 Fixed

Affected products

ProductAffected versionsFixed in
Apache ORC <= 1.8.8 No fix listed
Apache ORC >= 1.9.0, <= 1.9.5 No fix listed
Apache ORC >= 2.0.0, <= 2.0.4 No fix listed
Apache ORC >= 2.1.0, <= 2.1.1 No fix listed
apache orc < 1.8.9 1.8.9
apache orc >= 1.9.0, < 1.9.6 1.9.6
apache orc >= 2.0.0, < 2.0.5 2.0.5
apache orc >= 2.1.0, < 2.1.2 2.1.2

References