Cyber Resilience

CVE-2025-31162

Fig2Dev Project Fig2Dev 3.2.9a

Public PoC
Published
28 March 2025
Modified
03 November 2025
CVSS Score v3.1 6.6
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
EPSS Score 0.0018 8th percentile
Risk Priority 48 floored blend · peak EPSS

Summary

CVE-2025-31162 is a medium-severity Divide By Zero (CWE-369) vulnerability in Fig2Dev Project Fig2Dev. Its CVSS base score is 6.6 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 8th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SA-8 (Security and Privacy Engineering Principles) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

Floating point exception in fig2dev in version 3.2.9a allows an attacker to availability via local input manipulation via get_slope function.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-31163Same product: Fig2Dev Project Fig2Dev
CVE-2025-31164Same product: Fig2Dev Project Fig2Dev
CVE-2025-46400Same product: Fig2Dev Project Fig2Dev
CVE-2025-46399Same product: Fig2Dev Project Fig2Dev
CVE-2026-37232Shared CWE-369
CVE-2026-31423Shared CWE-369
CVE-2024-26777Shared CWE-369
CVE-2026-61378Shared CWE-369
CVE-2023-51104Shared CWE-369
CVE-2023-31085Shared CWE-369

Affected Assets

fig2dev project
fig2dev
3.2.9a

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

Developer testing and evaluation (including static/dynamic analysis) finds divide-by-zero conditions after they have been coded.

Security engineering principles can require safe-arithmetic constructs or explicit guards that keep division operands nonzero.

Validating numeric inputs before use as divisors structurally blocks zero values from reaching division operations.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly include code analysis, input validation, and testing that prevent divide-by-zero errors.

ID.RA-01 partial match
prevents

Vulnerability identification processes can discover divide-by-zero flaws via static analysis or testing.

PR.PS-02 partial match
prevents

Routine patching and replacement can remediate divide-by-zero bugs present in deployed software.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Security testing in development can detect divide-by-zero conditions before release.

prevents

Secure development lifecycle includes input validation and error-handling practices that can prevent divide-by-zero faults.

prevents

Application security requirements can mandate checks for zero denominators and safe arithmetic handling.

prevents

Secure architecture principles encourage defensive coding patterns that avoid arithmetic exceptions.

prevents

Secure coding standards directly require validation to prevent divide-by-zero and similar runtime faults.

References