# CVE-2025-47712: Nbd: nbdkit: integer overflow triggers an assertion resulting in denial of service

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.98% (percentile 61, 2026-11-26)
- **CWE:** CWE-190
- **Published:** 2025-06-09T05:58:41.198Z
- **Modified:** 2026-11-24T11:17:03.053Z

## Who should check

- Anyone running nbdkit \>= 1.21.16, \< 1.38.6; \>= 1.40.0, \< 1.40.6; \>= 1.42.0, \< 1.42.3
- Anyone running Red Hat Enterprise Linux 10 all versions
- Anyone running Red Hat Enterprise Linux 7 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 8 Advanced Virtualization (versions: see the vendor advisory)
- Anyone running Red Hat Enterprise Linux 9 all versions

## Description

A flaw exists in the nbdkit "blocksize" filter that can be triggered by a specific type of client request. When a client requests block status information for a very large data range, exceeding a certain limit, it causes an internal error in the nbdkit, leading to a denial of service.

## Affected and fixed versions

- nbdkit: \>= 1.21.16, \< 1.38.6; \>= 1.40.0, \< 1.40.6; \>= 1.42.0, \< 1.42.3 (cvelist)
- Red Hat Enterprise Linux 10: all versions (cvelist)
- Red Hat Enterprise Linux 7: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8 Advanced Virtualization: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 8 Advanced Virtualization: see vendor advisory (cvelist)
- Red Hat Enterprise Linux 9: all versions (cvelist)

## Mitigation

- Upgrade nbdkit to 1.42.3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-47712. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-47712.md
Affected: nbdkit >= 1.21.16, < 1.38.6; >= 1.40.0, < 1.40.6; >= 1.42.0, < 1.42.3; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 9…
Fixed in: nbdkit 1.38.6, nbdkit 1.40.6, nbdkit 1.42.3

Steps:
1. Search this machine and project for nbdkit, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 8 Advanced Virtualization, Red Hat Enterprise Linux 9: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-47712 being exploited?

There is no confirmed exploitation: CVE-2025-47712 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.98% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-47712?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2025-47712?

nbdkit \>= 1.21.16, \< 1.38.6; \>= 1.40.0, \< 1.40.6; \>= 1.42.0, \< 1.42.3; Red Hat Enterprise Linux 10 all versions; Red Hat Enterprise Linux 7; Red Hat Enterprise Linux 8; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 8 Advanced Virtualization; Red Hat Enterprise Linux 9 all versions.

### Is there a fix for CVE-2025-47712?

Yes. Fixed in nbdkit 1.38.6, nbdkit 1.40.6, nbdkit 1.42.3. Upgrade nbdkit to 1.42.3 or later.

### How do I check if I'm affected by CVE-2025-47712?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://access.redhat.com/security/cve/CVE-2025-47712>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2365724>
- other: <https://lists.libguestfs.org/archives/list/guestfs@lists.libguestfs.org/thread/67E7AASHHADIY7VAD3FFW2I67LTWVWYF/>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-47712>

HTML: <https://flawdb.com/CVE-2025-47712> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-47712>
