Heap-based Buffer Overflow Affecting orc package, versions [,1.9.5)[2.0.0,2.1.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-ORC-10185699
  • published21 May 2025
  • disclosed14 May 2025
  • creditJason Villaluna

Introduced: 14 May 2025

NewCVE-2025-47436  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade orc to version 1.9.5, 2.1.1 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow through the LZO decompression logic. An attacker can cause memory corruption by providing a specially crafted ORC file. During decompression a malformed ORC file can attempt to copy more bytes than was allocated into the memory due to insufficient input buffer boundary validation.

CVSS Base Scores

version 4.0
version 3.1