Buffer overflow in FreeBSD
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-120 and the CVSS impact.
Summary
In FreeBSD 12.2-STABLE before r368250, 11.4-STABLE before r368253, 12.2-RELEASE before p1, 12.1-RELEASE before p11 and 11.4-RELEASE before p5 rtsold(8) does not verify that the RDNSS option does not extend past the end of the received packet before processing its contents. While the kernel currently ignores such malformed packets, it passes them to userspace programs. Any programs expecting the kernel to do validation may be vulnerable to an overflow.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | FreeBSD | FreeBSD 12.2-RELEASE before p1, 12.1-RELEASE before p11, 11.4-RELEASE before p5 | — | No fix listed | CNA |
- FreeBSD Vendor— Affected FreeBSD 12.2-RELEASE before p1, 12.1-RELEASE before p11, 11.4-RELEASE before p5 Fixed in — No fix listed CNA
CPE configurations NVD · 15
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:freebsd:freebsd:11.4:-:*:*:*:*:*:* | 11.4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:11.4:p1:*:*:*:*:*:* | 11.4 p1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:11.4:p2:*:*:*:*:*:* | 11.4 p2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:11.4:p3:*:*:*:*:*:* | 11.4 p3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:-:*:*:*:*:*:* | 12.1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p1:*:*:*:*:*:* | 12.1 p1 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p2:*:*:*:*:*:* | 12.1 p2 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p3:*:*:*:*:*:* | 12.1 p3 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p4:*:*:*:*:*:* | 12.1 p4 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p5:*:*:*:*:*:* | 12.1 p5 | Vulnerable | FreeBSD |
- cpe:2.3:o:freebsd:freebsd:11.4:-:*:*:*:*:*:* Versions 11.4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:11.4:p1:*:*:*:*:*:* Versions 11.4 p1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:11.4:p2:*:*:*:*:*:* Versions 11.4 p2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:11.4:p3:*:*:*:*:*:* Versions 11.4 p3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:-:*:*:*:*:*:* Versions 12.1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p1:*:*:*:*:*:* Versions 12.1 p1 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p2:*:*:*:*:*:* Versions 12.1 p2 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p3:*:*:*:*:*:* Versions 12.1 p3 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p4:*:*:*:*:*:* Versions 12.1 p4 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p5:*:*:*:*:*:* Versions 12.1 p5 Vulnerable ·FreeBSD
Show 5 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:freebsd:freebsd:12.1:p6:*:*:*:*:*:* | 12.1 p6 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p7:*:*:*:*:*:* | 12.1 p7 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p8:*:*:*:*:*:* | 12.1 p8 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.1:p9:*:*:*:*:*:* | 12.1 p9 | Vulnerable | FreeBSD |
| cpe:2.3:o:freebsd:freebsd:12.2:-:*:*:*:*:*:* | 12.2 | Vulnerable | FreeBSD |
- cpe:2.3:o:freebsd:freebsd:12.1:p6:*:*:*:*:*:* Versions 12.1 p6 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p7:*:*:*:*:*:* Versions 12.1 p7 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p8:*:*:*:*:*:* Versions 12.1 p8 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.1:p9:*:*:*:*:*:* Versions 12.1 p9 Vulnerable ·FreeBSD
- cpe:2.3:o:freebsd:freebsd:12.2:-:*:*:*:*:*:* Versions 12.2 Vulnerable ·FreeBSD
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2020-25577
- 2026-10-03 Alias added: GHSA-r8gv-c2f3-665p
References
More Freebsd vulnerabilities
- 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
Sources
- CVE-2020-25577 · CVE Program
- CVE-2020-25577 · NVD
- FIRST EPSS
- GHSA-r8gv-c2f3-665p · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences