# CVE-2022-28733: Integer underflow in grub_net_recv_ip4_packets

- Severity: High 8.1 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-11-30)
- Published: 2023-07-20T00:20:02.458Z
- Modified: 2026-11-10T12:10:00.177Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: canonical

## Description

Integer underflow in grub_net_recv_ip4_packets; A malicious crafted IP packet can lead to an integer underflow in grub_net_recv_ip4_packets() function on rsm->total_len value. Under certain circumstances the total_len value may end up wrapping around to a small integer number which will be used in memory allocation. If the attack succeeds in such way, subsequent operations can write past the end of the buffer.

(As written by CVE List.)

## Affected

- grub2: before 2.06-3
- gnu grub2: from 2.00 before 2.06-3

## Every score

- canonical: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://www.openwall.com/lists/oss-security/2022/06/07/5> (mailing-list, third-party-advisory)
- <https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-28733> (issue-tracking, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230825-0002/>

## Sources

- CVE List: [CVE-2022-28733](https://www.cve.org/CVERecord?id=CVE-2022-28733), CVE Terms of Use, modified 2025-02-13
- NVD: [CVE-2022-28733](https://nvd.nist.gov/vuln/detail/CVE-2022-28733), Public domain, modified 2026-11-10

---

Page: https://cve.day/CVE-2022-28733 · Whole record: https://cve.day/CVE-2022-28733.json · Rebuilt by cve.day 2026-11-25T22:58:19.473Z
