# CVE-2023-49298: OpenZFS through 2.1.13 and 2.2.x through 2.2.1, in certain scenarios involving applications that try to rely on efficie…

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.30% (percentile 71, 2026-11-26)
- **CWE:** CWE-639
- **Published:** 2023-11-24T00:00:00.000Z
- **Modified:** 2026-06-17T06:35:47.880Z

## Who should check

- Anyone running n/a (versions: see the vendor advisory)
- Anyone running openzfs \<= 2.1.13; \>= 2.2.0, \<= 2.2.1

## Description

OpenZFS through 2.1.13 and 2.2.x through 2.2.1, in certain scenarios involving applications that try to rely on efficient copying of file data, can replace file contents with zero-valued bytes and thus potentially disable security mechanisms. NOTE: this issue is not always security related, but can be security related in realistic situations. A possible example is cp, from a recent GNU Core Utilities (coreutils) version, when attempting to preserve a rule set for denying unauthorized access. (One might use cp when configuring access control, such as with the /etc/hosts.deny file specified in the IBM Support reference.) NOTE: this issue occurs less often in version 2.2.1, and in versions before 2.1.4, because of the default configuration in those versions.

## Affected and fixed versions

- n/a: see vendor advisory (nvd)
- openzfs: \<= 2.1.13; \>= 2.2.0, \<= 2.2.1 (nvd)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-49298.md
Affected: n/a; openzfs <= 2.1.13; >= 2.2.0, <= 2.2.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for n/a, openzfs: 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-2023-49298 being exploited?

There is no confirmed exploitation: CVE-2023-49298 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-49298?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2023-49298?

n/a; openzfs \<= 2.1.13; \>= 2.2.0, \<= 2.2.1.

### Is there a fix for CVE-2023-49298?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-49298?

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

- patch: <https://github.com/openzfs/zfs/pull/15571>
- patch: <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308>
- patch: <https://news.ycombinator.com/item?id=38405731>
- exploit: <https://github.com/openzfs/zfs/issues/15526>
- other: <https://web.archive.org/web/20231124172959/https://www.ibm.com/support/pages/how-remove-missing%C2%A0newline%C2%A0or%C2%A0line%C2%A0too%C2%A0long-error-etchostsallow%C2%A0and%C2%A0etchostsdeny-files>
- other: <https://github.com/openzfs/zfs/releases/tag/zfs-2.2.2>
- other: <https://github.com/openzfs/zfs/releases/tag/zfs-2.1.14>
- other: <https://www.theregister.com/2023/12/04/two_new_versions_of_openzfs/>
- other: <https://bugs.gentoo.org/917224>
- other: <https://news.ycombinator.com/item?id=38770168>
- other: <https://lists.debian.org/debian-lts-announce/2024/03/msg00019.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/04/msg00009.html>

## 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-2023-49298>

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