# CVE-2019-14842: Structured reply is a feature of the newstyle NBD protocol allowing the server to send a reply in chunks.

- Severity: High 7.3 (CVSS:3.0, scored by redhat) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- 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.83%, higher than 79% of CVEs (2026-12-01)
- Published: 2019-11-26T15:01:26.000Z
- Modified: 2026-06-17T02:19:08.973Z
- Weaknesses: CWE-681
- Assigned by: redhat

## Description

Structured reply is a feature of the newstyle NBD protocol allowing the server to send a reply in chunks. A bounds check which was supposed to test for chunk offsets smaller than the beginning of the request did not work because of signed/unsigned confusion. If one of these chunks contains a negative offset then data under control of the server is written to memory before the read buffer supplied by the client. If the read buffer is located on the stack then this allows the stack return address from nbd_pread() to be trivially modified, allowing arbitrary code execution under the control of the server. If the buffer is located on the heap then other memory objects before the buffer can be overwritten, which again would usually lead to arbitrary code execution.

(As written by CVE List.)

## Affected

- [UNKNOWN] libnbd: 1.0.3
- redhat libnbd: before 1.0.3

## Every score

- redhat: CVSS:3.0 7.3 High `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-14842> (issue-tracking, third-party-advisory)
- <https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2019-14842](https://www.cve.org/CVERecord?id=CVE-2019-14842), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-14842](https://nvd.nist.gov/vuln/detail/CVE-2019-14842), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-14842 · Whole record: https://cve.day/CVE-2019-14842.json · Rebuilt by cve.day 2026-11-25T22:57:48.216Z
