p PatchFirst

CVE-2026-135294

CVE-2026-135294 · LibreCAD through 2.2.1.6 Heap Out-of-Bounds Write via RS_FilterDXF1::readFileInBuffer()

CVSS 5.8 · Medium · EPSS 0.4% · Public exploit

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="librecad"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

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

LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in RS_FilterDXF1::readFileInBuffer() caused by unvalidated truncation of the 64-bit file size. Attackers can persuade users to open a crafted DXF file sized 0xFFFFFFF8 bytes, writing a NUL byte before an 8-byte buffer to corrupt heap metadata and crash the application.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • librecad

    Versions
    • ≥ 0, ≤ 2.2.1.6: Affected (custom)

    No fix published

  • librecad Debian 12

    Versions
    • 2.2.0-1
    • 2.2.0.2-1
    • 2.2.0.2-2
    • 2.2.0.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Debian 13

    Versions
    • 2.2.0.2-1
    • 2.2.0.2-2
    • 2.2.0.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Debian 14

    Versions
    • 2.2.0.2-1
    • 2.2.0.2-2
    • 2.2.0.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu Pro 16.04 LTS

    Versions
    • 2.0.4-1build1
    • 2.0.8-1
    • 2.0.9-2
    • 2.0.9-2ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu Pro 18.04 LTS

    Versions
    • 2.1.2-1
    • 2.1.2-1ubuntu0.1~esm1
    • 2.1.2-1ubuntu0.1~esm2
    • 2.1.2-1ubuntu0.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu 20.04 LTS

    Versions
    • 2.1.3-1.2
    • 2.1.3-1.2build1
    • 2.1.3-1.2+deb10u1build0.20.04.1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu 22.04 LTS

    Versions
    • 2.1.3-1.3
    • 2.1.3-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu 24.04 LTS

    Versions
    • 2.2.0-1
    • 2.2.0.2-1
    • 2.2.0.2-1build1
    • 2.2.0.2-1build2
    • 2.2.0.2-1build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu 26.10

    Versions
    • 2.2.0.2-1build3
    • 2.2.0.2-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • librecad Ubuntu 26.04 LTS

    Versions
    • 2.2.0.2-1build3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →