# CVE-2022-0485: A flaw was found in the copying tool nbdcopy of libnbd.

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-08-29T14:03:04.000Z
- Modified: 2026-06-17T04:20:42.340Z
- Weaknesses: CWE-252
- Assigned by: redhat

## Description

A flaw was found in the copying tool `nbdcopy` of libnbd. When performing multi-threaded copies using asynchronous nbd calls, nbdcopy was blindly treating the completion of an asynchronous command as successful, rather than checking the *error parameter. This could result in the silent creation of a corrupted destination image.

(As written by CVE List.)

## Affected

- libnbd: Fixed in libnbd v1.11.8
- redhat libnbd: before 1.11.8
- redhat enterprise_linux: 8.0

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=2046194> (exploit, issue-tracking, vendor-advisory)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2050324> (issue-tracking, vendor-advisory)
- <https://listman.redhat.com/archives/libguestfs/2022-February/msg00104.html> (patch, vendor-advisory)
- <https://gitlab.com/nbdkit/libnbd/-/commit/8d444b41d09a700c7ee6f9182a649f3f2d325abb> (patch, third-party-advisory)
- <https://access.redhat.com/security/cve/CVE-2022-0485> (vendor-advisory)

## Sources

- CVE List: [CVE-2022-0485](https://www.cve.org/CVERecord?id=CVE-2022-0485), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2022-0485](https://nvd.nist.gov/vuln/detail/CVE-2022-0485), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-0485 · Whole record: https://cve.day/CVE-2022-0485.json · Rebuilt by cve.day 2026-11-25T22:58:14.526Z
