CVE-2025-47436CWE-122

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

Medium · published May 14, 2025

CVSS v4.0
6.0
EPSS
1%
Percentile
46.2
In the wild
Unconfirmed
What it is

⚠️ A crafty little buffer overflow lurks within the Apache ORC library! 🤓 When malformed ORC files show up, the decompressor tries to overstuff a 250-byte buffer with 295 bytes, causing memory chaos! Think of it like trying to shove a 10-pound turkey into a 5-pound bag—something’s gonna give, and it’s not going to be pretty. This mishap in memory management can lead to unexpected behavior in applications that rely heavily on this library. An attacker could exploit this vulnerability to cause memory corruption, potentially leading to application crashes or erratic behavior. While the risk isn't currently known to be exploited, allowing such corruption to occur might open doors for further malicious activity.

Put simply

Think of it like trying to shove a 10-pound turkey into a 5-pound bag—something’s gonna give, and it’s not going to be pretty. This mishap in memory management can lead to unexpected behavior in applications that rely heavily on this library. This heap-based buffer overflow in the ORC C++ LZO decompression logic allows an attacker to craft malformed ORC files that exceed allocated buffer sizes, causing memory corruption during decompression.

What to do

An attacker could exploit this vulnerability to cause memory corruption, potentially leading to application crashes or erratic behavior. While the risk isn't currently known to be exploited, allowing such corruption to occur might open doors for further malicious activity. To protect your systems, immediately upgrade to the patched versions: 1.8.9, 1.9.6, 2.0.5, or 2.1.2. Review any applications that use Apache ORC and ensure they are updated promptly to avoid this pesky issue! You've got this! Follow these steps, and you'll keep your systems safe from this buffer overflow! 🛡️

The record
Technical detail
CVSS v4.0
6.0 · MEDIUM
Vector
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
EPSS
0.00566 · 46.2th percentile
Weakness
CWE-122 · Heap-based Buffer Overflow
Published
2025-05-14T13:11Z
EPSS history
Timeline
  • 14 MAY 13:11Z
    Apache ORC: Potential Heap Buffer Overflow during C++ LZO Decompression
    cvelistv5