# CVE-2024-26851: netfilter: nf\_conntrack\_h323: Add protection for bmp length out of range

> 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:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.02% (percentile 63, 2026-11-28)
- **CWE:** CWE-787
- **Published:** 2024-04-17T10:17:15.298Z
- **Modified:** 2026-10-15T01:17:25.280Z

## Who should check

- Anyone running Linux \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 98db42191329c679f4ca52bec0b319689e1ad8cb; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 4bafcc43baf7bcf93566394dbd15726b5b456b7a; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< ccd1108b16ab572d9bf635586b0925635dbd6bbc; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< b3c0f553820516ad4b62a9390ecd28d6f73a7b13; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 39001e3c42000e7c2038717af0d33c32319ad591; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 014a807f1cc9c9d5173c1cd935835553b00d211c; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 80ee5054435a11c87c9a4f30f1ff750080c96416; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 767146637efc528b5e3d31297df115e85a2fd362
- Anyone running Linux 2.6.17

## Description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf\_conntrack\_h323: Add protection for bmp length out of range

UBSAN load reports an exception of BRK\#5515 SHIFT\_ISSUE:Bitwise shifts
that are out of bounds for their data type.

vmlinux   get\_bitmap(b=75) + 712
\<net/netfilter/nf\_conntrack\_h323\_asn1.c:0\>
vmlinux   decode\_seq(bs=0xFFFFFFD008037000, f=0xFFFFFFD008037018, level=134443100) + 1956
\<net/netfilter/nf\_conntrack\_h323\_asn1.c:592\>
vmlinux   decode\_choice(base=0xFFFFFFD0080370F0, level=23843636) + 1216
\<net/netfilter/nf\_conntrack\_h323\_asn1.c:814\>
vmlinux   decode\_seq(f=0xFFFFFFD0080371A8, level=134443500) + 812
\<net/netfilter/nf\_conntrack\_h323\_asn1.c:576\>
vmlinux   decode\_choice(base=0xFFFFFFD008037280, level=0) + 1216
\<net/netfilter/nf\_conntrack\_h323\_asn1.c:814\>
vmlinux   DecodeRasMessage() + 304
\<net/netfilter/nf\_conntrack\_h323\_asn1.c:833\>
vmlinux   ras\_help() + 684
\<net/netfilter/nf\_conntrack\_h323\_main.c:1728\>
vmlinux   nf\_confirm() + 188
\<net/netfilter/nf\_conntrack\_proto.c:137\>

Due to abnormal data in skb-\>data, the extension bitmap length
exceeds 32 when decoding ras message then uses the length to make
a shift operation. It will change into negative after several loop.
UBSAN load could detect a negative shift as an undefined behaviour
and reports exception.
So we add the protection to avoid the length exceeding 32. Or else
it will return out of range error and stop decoding.

## Affected and fixed versions

- Linux: \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 98db42191329c679f4ca52bec0b319689e1ad8cb; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 4bafcc43baf7bcf93566394dbd15726b5b456b7a; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< ccd1108b16ab572d9bf635586b0925635dbd6bbc; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< b3c0f553820516ad4b62a9390ecd28d6f73a7b13; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 39001e3c42000e7c2038717af0d33c32319ad591; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 014a807f1cc9c9d5173c1cd935835553b00d211c; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 80ee5054435a11c87c9a4f30f1ff750080c96416; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 767146637efc528b5e3d31297df115e85a2fd362 (cvelist)
- Linux: 2.6.17 (cvelist)

## Mitigation

- Upgrade Linux to 767146637efc528b5e3d31297df115e85a2fd362 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-26851.md
Affected: Linux >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 98db42191329c679f4ca52bec0b319689e1ad8cb; >= 5e35941d990123f155b02d5663e51a24f816b6f3, < 4bafcc43baf7bcf93566394dbd15726b5b456b7a; >= 5e35941d990123f155b02d5663e51a24f816b6f3, < ccd1108b16ab572d9bf635586b0925635dbd6bbc; >= 5e35941d990123f155b02d5…
Fixed in: Linux 98db42191329c679f4ca52bec0b319689e1ad8cb, Linux 4bafcc43baf7bcf93566394dbd15726b5b456b7a, Linux 39001e3c42000e7c2038717af0d33c32319ad591, Linux 014a807f1cc9c9d5173c1cd935835553b00d211c, Linux 80ee5054435a11c87c9a4f30f1ff750080c96416, Linux 767146637efc528b5e3d31297df115e85a2fd362

Steps:
1. Search this machine and project for Linux: 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-2024-26851 being exploited?

There is no confirmed exploitation: CVE-2024-26851 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.02% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2024-26851?

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

### Which versions are affected by CVE-2024-26851?

Linux \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 98db42191329c679f4ca52bec0b319689e1ad8cb; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 4bafcc43baf7bcf93566394dbd15726b5b456b7a; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< ccd1108b16ab572d9bf635586b0925635dbd6bbc; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< b3c0f553820516ad4b62a9390ecd28d6f73a7b13; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 39001e3c42000e7c2038717af0d33c32319ad591; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 014a807f1cc9c9d5173c1cd935835553b00d211c; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 80ee5054435a11c87c9a4f30f1ff750080c96416; \>= 5e35941d990123f155b02d5663e51a24f816b6f3, \< 767146637efc528b5e3d31297df115e85a2fd362; Linux 2.6.17.

### Is there a fix for CVE-2024-26851?

Yes. Fixed in Linux 98db42191329c679f4ca52bec0b319689e1ad8cb, Linux 4bafcc43baf7bcf93566394dbd15726b5b456b7a, Linux 39001e3c42000e7c2038717af0d33c32319ad591, Linux 014a807f1cc9c9d5173c1cd935835553b00d211c, Linux 80ee5054435a11c87c9a4f30f1ff750080c96416, Linux 767146637efc528b5e3d31297df115e85a2fd362. Upgrade Linux to 767146637efc528b5e3d31297df115e85a2fd362 or later.

### How do I check if I'm affected by CVE-2024-26851?

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://git.kernel.org/stable/c/98db42191329c679f4ca52bec0b319689e1ad8cb>
- patch: <https://git.kernel.org/stable/c/4bafcc43baf7bcf93566394dbd15726b5b456b7a>
- patch: <https://git.kernel.org/stable/c/ccd1108b16ab572d9bf635586b0925635dbd6bbc>
- patch: <https://git.kernel.org/stable/c/b3c0f553820516ad4b62a9390ecd28d6f73a7b13>
- patch: <https://git.kernel.org/stable/c/39001e3c42000e7c2038717af0d33c32319ad591>
- patch: <https://git.kernel.org/stable/c/014a807f1cc9c9d5173c1cd935835553b00d211c>
- patch: <https://git.kernel.org/stable/c/80ee5054435a11c87c9a4f30f1ff750080c96416>
- patch: <https://git.kernel.org/stable/c/767146637efc528b5e3d31297df115e85a2fd362>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-265688.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-2024-26851>

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