Incorrect numeric conversion in [UNKNOWN] libnbd
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA.
Summary
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.
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 |
|---|---|---|---|---|---|
| [UNKNOWN] | libnbd | 1.0.3 | — | No fix listed | CNA |
- libnbd Vendor[UNKNOWN] Affected 1.0.3 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2019-14842
- 2026-10-03 Alias added: GHSA-xv5g-h355-j9v9
References
More Red Hat Libnbd vulnerabilities
- TI-2023-04798 Libnbd: crash or misbehaviour when nbd server returns an unexpected block size CVSS 3.1MEDIUM 6.5
- TI-2023-05406 Libnbd: malicious nbd server may crash libnbd CVSS 3.1MEDIUM 5.3
- TI-2022-00408 A flaw was found in the copying tool `nbdcopy` of libnbd. CVSS 3.1MEDIUM 4.8
- TI-2021-03577 Reachable assertion in libnbd CVSS 3.1LOW 2.7
Sources
- CVE-2019-14842 · CVE Program
- CVE-2019-14842 · NVD
- FIRST EPSS
- GHSA-xv5g-h355-j9v9 · GitHub Advisory Database · CC BY 4.0
- CVE-2019-14842 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences