CVE-2026-4748

pf silently ignores certain rules

State
Published
Severity
7.5 High
Published
Apr 1, 2026
Updated
Apr 1, 2026
Reserved
Mar 24, 2026

Read the record on cve.org

Description

A regression in the way hashes were calculated caused rules containing the address range syntax (x.x.x.x - y.y.y.y) that only differ in the address range(s) involved to be silently dropped as duplicates. Only the first of such rules is actually loaded into pf. Ranges expressed using the address[/mask-bits] syntax were not affected.

Some keywords representing actions taken on a packet-matching rule, such as 'log', 'return tll', or 'dnpipe', may suffer from the same issue. It is unlikely that users have such configurations, as these rules would always be redundant.

Affected rules are silently ignored, which can lead to unexpected behaviour including over- and underblocking.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCISA-ADP

Weaknesses

  • CWE-480 Use of Incorrect Operator
  • CWE-754 Improper Check for Unusual or Exceptional Conditions
  • CWE-1023 Incomplete Comparison with Missing Factors

Affected Products

ProductVersions
FreeBSDFreeBSD
  • 15.0-RELEASE to before p5Affected
  • 14.4-RELEASE to before p1Affected
  • 14.3-RELEASE to before p10Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.