{
  "id": "CVE-2025-46397",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-46397",
  "published_at": "2025-04-23T20:55:09.795Z",
  "title": "Xfig: xfig: stack-overflow allows possible code execution via local input manipulation",
  "vendor": "Red Hat",
  "product": "Red Hat Enterprise Linux 8",
  "cvss": {
    "score": 7.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "A flaw was found in xfig. This vulnerability allows possible code execution via local input manipulation via bezier_spline function.",
  "cwe": "CWE-120",
  "cpes": [
    "cpe:2.3:a:fig2dev_project:fig2dev:3.2.9a:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
    "cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.8,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c= 3.2.9a"
        ],
        "fixed_in": null
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 8",
        "ranges": null,
        "fixed_in": [
          "1:3.2.6a-5.el8_10"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9",
        "ranges": null,
        "fixed_in": [
          "1:3.2.7b-11.el9_7"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.4 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "1:3.2.7b-10.el9_4.1"
        ]
      },
      {
        "vendor": "Red Hat",
        "product": "Red Hat Enterprise Linux 9.6 Extended Update Support",
        "ranges": null,
        "fixed_in": [
          "1:3.2.7b-10.el9_6.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade Red Hat Enterprise Linux 8 to 1:3.2.6a-5.el8_10 or later.",
      "Upgrade Red Hat Enterprise Linux 9 to 1:3.2.7b-11.el9_7 or later.",
      "Upgrade Red Hat Enterprise Linux 9.4 Extended Update Support to 1:3.2.7b-10.el9_4.1 or later.",
      "Upgrade Red Hat Enterprise Linux 9.6 Extended Update Support to 1:3.2.7b-10.el9_6.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:0700"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:0704"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:0705"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://access.redhat.com/errata/RHSA-2026:0756"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
