CVE-2024-45287 in Freebsd
A malicious value of size in a structure of packed libnv can cause an integer overflow, leading to the allocation of a smaller buffer than required for the parsed data.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Freebsd | Freebsd | 13.3 13.4 14.0 14.1 ≥ 13.0, < 13.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
A malicious value of size in a structure of packed libnv can cause an integer overflow, leading to the allocation of a smaller buffer than required for the parsed data.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-45287 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-213220-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2024-09-05 |
| Last modified | 2024-11-21 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-131: CWE-131
CWE-190: Integer Overflow or Wraparound
Arithmetic operation exceeds the maximum integer value, wrapping around and often leading to undersized allocations.
Related attack patterns (CAPEC)
CAPEC-47 Buffer Overflow via Parameter Expansion via CWE-131
CAPEC-92 Forced Integer Overflow via CWE-190
CAPEC-100 Overflow Buffers via CWE-131
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in the packed libnv library allows for an integer overflow due to a maliciously crafted 'size' value in a structure, leading to the allocation of an insufficiently sized buffer for the parsed data.
An attacker can exploit this vulnerability by sending a specially crafted input that triggers an integer overflow in the 'size' field of a structure within the packed libnv library. This results in the allocation of a smaller buffer than required, potentially leading to buffer overflows or other memory corruption issues.
Questions
What is CVE-2024-45287?
A vulnerability in the packed libnv library allows for an integer overflow due to a maliciously crafted 'size' value in a structure, leading to the allocation of an insufficiently sized buffer for the parsed data.
What is the CVSS score for CVE-2024-45287?
CVE-2024-45287 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 0.9%.
Is CVE-2024-45287 actively exploited?
No confirmed active exploitation of CVE-2024-45287 as of 2026-05-30.
How do I remediate CVE-2024-45287?
Priority: HIGH. Advisory: https://security.freebsd.org/advisories/FreeBSD-SA-24:09.libnv.asc PSIRT: [email protected]
What systems are affected by CVE-2024-45287?
CVE-2024-45287 affects Freebsd Freebsd.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Freebsd","product":"Freebsd","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2024-11-21.