SecurityContext

CVE-2017-12982: OpenJPEG - Denial of Service

  • Cve: CVE-2017-12982
  • Name: OpenJPEG - Denial of Service
  • Description: The bmp_read_info_header function in bin/jp2/convertbmp.c in OpenJPEG 2.2.0 does not reject headers with a zero biBitCount, which allows remote attackers to cause a denial of service (memory allocation failure) in the opj_image_create function in lib/openjp2/image.c, related to the opj_aligned_alloc_n function in opj_malloc.c.
  • Impact: Remote attackers can cause denial of service by triggering memory allocation failures, leading to application crash or resource exhaustion.
  • Remediation: Update to the latest version of OpenJPEG where this issue is fixed or apply patches addressing the header validation.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
  • Epss score: 0.02772
  • Epss percentile: 0.86692
  • Assignee: [email protected]
  • Published at: 2017-08-21T07:29:00Z
  • Age in days: 3382
  • Modified at: 2026-06-17T01:04:15Z
  • Patch available: yes
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2017-12982
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-119Improper Restriction of Operations within the Bounds of a Memory Buffer

References

Same in every row:

  • Source: nvd
UrlTags
https://blogs.gentoo.org/ago/2017/08/14/openjpeg-memory-allocation-failure-in-opj_aligned_alloc_n-opj_malloc-c/Patch, Third Party Advisory, VDB Entry
https://github.com/uclouvain/openjpeg/commit/baf0c1ad4572daa89caa3b12985bdd93530f0dd7Issue Tracking, Patch, Third Party Advisory
https://github.com/uclouvain/openjpeg/issues/983Issue Tracking, Patch, Third Party Advisory
https://security.gentoo.org/glsa/201710-26Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
uclouvain:openjpeg< 2.3.0nonvd/v1/products/uclouvain/openjpeg

Projects

RepositoryLink kindsIndexedUrl
uclouvain/openjpegcommit, issuesyes/v1/repositories/uclouvain/openjpeg

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts