LiveActive security incident?Get immediate response
CVE Record

CVE-2025-46397: Xfig: xfig: stack-overflow allows possible code execution via local input manipulation

A flaw was found in xfig. This vulnerability allows possible code execution via local input manipulation via bezier_spline function.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2025-46397 is a high-severity stack overflow in xfig’s bezier_spline handling. Red Hat tracks affected transfig packages on several RHEL 8 and 9 channels. The risk is mainly systems where users or automated workflows process untrusted figure files, because successful exploitation could allow code execution with high confidentiality, integrity, and availability impact.

Executive priority

Treat this as a patch-priority issue for affected Linux systems that handle graphics or document conversion inputs. It is high impact but local in attack vector, so urgency depends on whether untrusted users or submitted files can reach xfig/transfig processing paths.

Technical view

The issue is reported as CWE-120 in xfig, allowing possible code execution through local input manipulation in bezier_spline. CVSS 3.1 is 7.8 with local attack vector, low complexity, low privileges, no user interaction, unchanged scope, and high CIA impact. Red Hat lists affected transfig builds for RHEL 8, RHEL 9, and RHEL 9 EUS variants.

Likely exposure

Exposure is most likely on Linux workstations, build hosts, document conversion systems, or engineering pipelines with xfig/transfig installed. Red Hat explicitly lists affected transfig packages for RHEL 8, RHEL 9, RHEL 9.4 EUS, and RHEL 9.6 EUS. RHEL 6 and 7 status is listed as unknown in the provided data.

Exploitation context

The source bundle does not show KEV listing or confirmed active exploitation. The attack vector is local, so internet-facing risk is indirect unless a service or workflow processes attacker-supplied xfig/transfig input. The record states possible code execution, but provides no exploit details in the supplied evidence.

Researcher notes

Evidence is strongest for Red Hat transfig package impact and CVSS characterization. The provided bundle identifies the vulnerable area as bezier_spline and CWE-120 but does not include patch mechanics, exploit status, or detailed root-cause analysis. Avoid assuming impact beyond listed packages without vendor confirmation.

Mitigation direction

  • Apply relevant Red Hat errata updates for affected RHEL channels.
  • Check Debian LTS and other vendor guidance for non-Red Hat packages.
  • Prioritize systems processing untrusted figure or conversion inputs.
  • Restrict untrusted local file processing until patched.
  • Review unsupported or unknown-status RHEL 6 and 7 deployments.

Validation and detection

  • Inventory installed xfig and transfig packages across Linux assets.
  • Compare installed package versions against Red Hat affected versions and errata.
  • Confirm RHEL channel, CRB, and EUS subscription exposure.
  • Check whether automated workflows process untrusted figure files.
  • Document vendor status where package exposure remains unknown.
Prepared
Confidence
medium
Sources
10

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-120: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-46397 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
5Timeline events
2ADP providers
9Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9redhat

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2025-46397Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. Source timelineredhat

    Made public.

  4. Source timelineredhat

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
CVECVE Program Container

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
Unknown vendorxfigxfig, 0unaffected
Red HatRed Hat Enterprise Linux 8transfig, 1:3.2.6a-5.el8_10affected
Red HatRed Hat Enterprise Linux 9transfig, 1:3.2.7b-11.el9_7affected
Red HatRed Hat Enterprise Linux 9.4 Extended Update Supporttransfig, 1:3.2.7b-10.el9_4.1affected
Red HatRed Hat Enterprise Linux 9.6 Extended Update Supporttransfig, 1:3.2.7b-10.el9_6.1affected
Red HatRed Hat Enterprise Linux 6transfigunknown
Red HatRed Hat Enterprise Linux 7transfigunknown
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-120 · source CWE mapping

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.