CVE-2023-6857
Mozilla: Symlinks may resolve to smaller than expected buffers
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · December 19, 2023
Updated · November 21, 2025
Description
The Mozilla Foundation Security Advisory describes this flaw as:
When resolving a symlink, a race may occur where the buffer passed to readlink may actually be smaller than necessary.
This bug only affects Firefox on Unix-based operating systems (Android, Linux, MacOS). Windows is unaffected.
Statement
Red Hat Product Security rates the severity of this flaw as determined by the Mozilla Foundation Security Advisory.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CWE-363 · Race Condition Enabling Link Following