Cloudanix VulnDB

CVE-2025-46397

High · 7.8

CVSS

7.8

EPSS

0.3%

Published

Apr 23, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in software that handles drawings could let someone with access to your computer run harmful code by opening a specially made file.

Exploitation
Local Privilege
Attacker needs
Low Privilege
Complexity
Low
Impact
Full Compromise
Component
Application
Class
Buffer Overflow
Remediation
Upgrade
Effort
Medium
Patch risk
Medium

What it actually does

A buffer overflow in the bezier_spline function allows local attackers to execute arbitrary code through crafted input manipulation.

Why it matters to the business

Attackers can gain full control of affected systems, potentially leading to data breaches or system compromise. The vulnerability affects aws/aws-cdk with many dependents.

How an attack unfolds

An attacker with local access crafts malicious input that triggers the buffer overflow in bezier_spline, leading to code execution.

How to fix it

Update aws/aws-cdk to commit b396961272695cd70ac183fdaf842ffb48f5d91f or later.

How to confirm the fix worked

Verify the fixed commit is present in the codebase and test with malformed bezier spline inputs to confirm no overflow occurs.

Typical attack path

  1. Obtain local access to the system
  2. Craft malicious input targeting the bezier_spline function
  3. Trigger the function via local file or input manipulation
  4. Exploit the buffer overflow to execute arbitrary code

How to detect it

Examine system logs for crashes or unexpected behavior in processes handling bezier splines or xfig files; check for unauthorized code execution artifacts post-local access.

What your security team should do

  • Apply the specified commit update immediately across all instances
  • Review local input handling in drawing or spline processing code
  • Monitor for any local privilege escalation attempts

The record

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

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 transfig 0 1:3.2.6a-5.el8_10
AlmaLinux:9 transfig 0 1:3.2.7b-11.el9_7
Debian:11 fig2dev 0 1:3.2.8-3+deb11u3
Debian:12 fig2dev 0 No fix
Debian:13 fig2dev 0 1:3.2.9a-4
Debian:14 fig2dev 0 1:3.2.9a-4
Mageia:9 transfig 0 3.2.9a-1.1.mga9
SUSE:Linux Enterprise Module for Package Hub 15 SP6 transfig 0 3.2.9a-150600.3.5.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 transfig 0 3.2.8b-2.26.1
SUSE:Linux Enterprise Workstation Extension 15 SP6 transfig 0 3.2.9a-150600.3.5.1
Ubuntu:20.04:LTS fig2dev 0 No fix
Ubuntu:22.04:LTS fig2dev 0 No fix
Ubuntu:24.04:LTS fig2dev 0 No fix
Ubuntu:24.10 fig2dev 0 No fix
Ubuntu:25.04 fig2dev 0 No fix
Ubuntu:Pro:18.04:LTS fig2dev 0 No fix
openSUSE:Leap 15.6 transfig 0 3.2.9a-150600.3.5.1
openSUSE:Tumbleweed transfig 0 3.2.9a-3.1

Related vulnerabilities