Read the docs
TI-2023-04940 Aliases CVE-2023-5369GHSA-4hwj-mwvm-vc26

copy_file_range insufficient capability rights check

Priority LOW 33CWE-273Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA.

Summary

Before correction, the copy_file_range system call checked only for the CAP_READ and CAP_WRITE capabilities on the input and output file descriptors, respectively. Using an offset is logically equivalent to seeking, and the system call must additionally require the CAP_SEEK capability. This incorrect privilege check enabled sandboxed processes with only read or write but no seek capability on a file descriptor to read data from or write data to an arbitrary location within the file corresponding to that file descriptor.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00197 9th percentileScored 2026-11-07
Fix Fixed FreeBSD (FreeBSD): p4

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FreeBSDFreeBSD13.2-RELEASE to before p4p4Patch availableCNA
  • FreeBSD VendorFreeBSD Affected 13.2-RELEASE to before p4 Fixed in p4 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:*13.2VulnerableFreeBSD
  • cpe:2.3:o:freebsd:freebsd:13.2:-:*:*:*:*:*:* Versions 13.2 Vulnerable ·FreeBSD

Remediation

  • Fix · CNA FreeBSD (FreeBSD) Fixed in p4

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    FreeBSD p4

    2 records Highest priority Priority LOW 2 LOW

    Other records, highest priority first

    • TI-2023-04941 arm64 boot CPUs may lack speculative execution protectionsPriority LOW 24

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-5369
  2. 2026-10-03 Alias added: GHSA-4hwj-mwvm-vc26

References

  • TI-2011-04182 Buffer overflow in libtelnet/encrypt.c in telnetd in FreeBSD 7.3 through 9.0, MIT… CVSS 2.0HIGH 10.0
  • TI-2007-03684 Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows… CVSS 3.1CRITICAL 9.8
  • TI-2002-00376 Integer overflow in xdr_array function in RPC servers for operating systems that use… CVSS 3.1CRITICAL 9.8
  • TI-2024-05929 Openssh: regresshion - race condition in ssh allows rce/dos CVSS 3.1HIGH 8.1
  • TI-2003-00437 Off-by-one error in the fb_realpath() function, as derived from the realpath function in… CVSS 3.1CRITICAL 9.8
  • TI-2003-00642 The prescan function in Sendmail 8.12.9 allows remote attackers to execute arbitrary code… CVSS 2.0HIGH 10.0
See all 576 →

Sources