p PatchFirst

CVE-2025-12840

CVE-2025-12840 · Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Academy Software Foundation OpenEXR EXR File Parsing Heap-based Buffer Overflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Academy Software Foundation OpenEXR. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of EXR files. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a heap-based buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-27948.

CVSS 7.8 · High · EPSS 0.2% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • openexr

    Versions
    • 3.4.0: Affected

    No fix published

  • openexr Debian:12

    Versions
    • 3.1.13-1
    • 3.1.13-2
    • 3.1.5-5
    • 3.1.5-5.1
    • 3.1.5-5.1+hurd.1
    • 3.4.14-0.1
    • 3.4.15+ds-1
    • 3.4.16+ds-1
    • 3.4.6+ds-1
    • 3.4.6+ds-2
    • 3.4.6+ds-3
    • 3.4.6+ds-4
    • 3.5.2+ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Debian:13

    Versions
    • 3.1.13-2
    • 3.4.14-0.1
    • 3.4.15+ds-1
    • 3.4.16+ds-1
    • 3.4.6+ds-1
    • 3.4.6+ds-2
    • 3.4.6+ds-3
    • 3.4.6+ds-4
    • 3.5.2+ds-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Debian:14

    Versions
    • 3.1.13-2
    Affected ranges
    • ECOSYSTEM: < 3.4.6+ds-1

    Update to 3.4.6+ds-1

  • openexr Ubuntu:25.10

    Versions
    • 3.1.13-2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:26.10

    Versions
    • 3.1.13-2build1
    • 3.4.6+ds-4ubuntu3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • openexr Ubuntu:Pro:26.04:LTS

    Versions
    • 3.1.13-2
    • 3.1.13-2build1
    • 3.1.13-2ubuntu0.26.04.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →