{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "fixed": "2ecc5d0d79df346d632dd7f975ca7463f8fce4c2"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "0.15",
                "range": [
                  {
                    "fixed": "a8f182c481137408f413fed77194ef3e1d40c193"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2ecc5d0d79df346d632dd7f975ca7463f8fce4c2"
            },
            {
              "fixed": "a8f182c481137408f413fed77194ef3e1d40c193"
            }
          ],
          "repo": "https://github.com/libredwg/libredwg",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-c6r9-crw2-jcq3"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138381.json",
    "unresolved_ranges": [
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.14"
              },
              {
                "fixed": "0.15"
              }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.14"
              },
              {
                "fixed": "0.15"
              }
            ],
            "source": "CPE_FIELD",
            "strategy": "CPEApplicability"
          }
        ]
      },
      {
        "extracted_events": [
          {
            "range": [
              {
                "introduced": "0.14"
              },
              {
                "fixed": "0.15"
              }
            ],
            "source": "DESCRIPTION"
          }
        ]
      }
    ]
  },
  "details": "GNU LibreDWG 0.14 before 0.15 contains a heap use-after-free vulnerability in in_dxf.c new_object() where the OLE2FRAME oleclient pointer references freed memory after DXF import. Attackers can supply a DXF file with an OLE2FRAME entity to crash dxfwrite or similar applications and leak freed heap contents into exported output.",
  "id": "CVE-2026-138381",
  "modified": "2026-11-29T14:45:29.249993204Z",
  "published": "2026-11-29T13:24:14.513Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138381.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/LibreDWG/libredwg"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/LibreDWG/libredwg/blob/4f2aef33865e0d5bf3774acc439953fba15dea3e/src/out_dxf.c#L1405-L1417"
    },
    {
      "type": "FIX",
      "url": "https://github.com/LibreDWG/libredwg/commit/2ecc5d0d79df346d632dd7f975ca7463f8fce4c2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreDWG/libredwg/releases/tag/0.15"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/LibreDWG/libredwg/security/advisories/GHSA-c6r9-crw2-jcq3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138381"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/gnu-libredwg-0.14-before-0.15-use-after-free-via-ole2frame-dxf-import"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "GNU LibreDWG 0.14 before 0.15 Use-After-Free via OLE2FRAME DXF Import"
}