UBUNTU-CVE-2026-126497

Source
https://ubuntu.com/security/CVE-2026-126497
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-126497
Upstream
Published
2026-11-12T00:00:00Z
Modified
2026-11-12T23:46:40Z
Severity
  • Ubuntu - medium
Summary
[none]
Details

LibreCAD through 2.2.1.6 contains a heap-based out-of-bounds write vulnerability in the bundled libdxfrw dwgReader18::parseDataPage() function due to unchecked buffer size and page offsets. Attackers can craft an AC1018 (R2004) DWG file with malicious startOffset values that cause decompress18 to write past the heap buffer when opened, causing crashes and potential code execution.

References

Affected packages

Ubuntu:20.04:LTS
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.3-1.2
2.1.3-1.2build1
2.1.3-1.2+deb10u1build0.20.04.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.1.3-1.2+deb10u1build0.20.04.1"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.1.3-1.2+deb10u1build0.20.04.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"
Ubuntu:22.04:LTS
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.3-1.3
2.1.3-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.1.3-3"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.1.3-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"
Ubuntu:24.04:LTS
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0-1
2.2.0.2-1
2.2.0.2-1build1
2.2.0.2-1build2
2.2.0.2-1build3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.2.0.2-1build3"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.2.0.2-1build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"
Ubuntu:26.04:LTS
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0.2-1build3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.2.0.2-1build3"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.2.0.2-1build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"
Ubuntu:26.10
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=stonking

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.2.0.2-1build3
2.2.0.2-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.2.0.2-3"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.2.0.2-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"
Ubuntu:Pro:16.04:LTS
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=esm-apps%2Fxenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.0.4-1build1
2.0.8-1
2.0.9-2
2.0.9-2ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.0.9-2ubuntu0.1~esm1"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.0.9-2ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"
Ubuntu:Pro:18.04:LTS
librecad

Package

Name
librecad
Purl
pkg:deb/ubuntu/librecad?arch=source&distro=esm-apps%2Fbionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.1.2-1
2.1.2-1ubuntu0.1~esm1
2.1.2-1ubuntu0.1~esm2
2.1.2-1ubuntu0.1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "librecad",
            "binary_version": "2.1.2-1ubuntu0.1~esm2"
        },
        {
            "binary_name": "librecad-data",
            "binary_version": "2.1.2-1ubuntu0.1~esm2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-126497.json"