CVE-2017-12982
Last modified
CVE-2017-12982 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 2.86% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Uclouvain | Openjpeg | < 2.3.0 |
References
- 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
- 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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2017-12982?
How severe is CVE-2017-12982?
How do I fix CVE-2017-12982?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2017
- CVE-2017-12977The Web-Dorado "Photo Gallery by WD - Responsive Photo Galle…
- CVE-2017-12978lib/html.php in Cacti before 1.1.18 has XSS via the title fi…
- CVE-2017-12979DokuWiki through 2017-02-19c has stored XSS when rendering a…
- CVE-2017-1298Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultI…
- CVE-2017-12980DokuWiki through 2017-02-19c has stored XSS when rendering a…
- CVE-2017-12981NexusPHP 1.5.beta5.20120707 has SQL Injection in forummanage…
- CVE-2017-12983Heap-based buffer overflow in the ReadSFWImage function in c…
- CVE-2017-12984PHPMyWind 5.3 has XSS in shoppingcart.php, related to messag…
- CVE-2017-12985The IPv6 parser in tcpdump before 4.9.2 has a buffer over-re…9.8
- CVE-2017-12986The IPv6 routing header parser in tcpdump before 4.9.2 has a…
- CVE-2017-12987The IEEE 802.11 parser in tcpdump before 4.9.2 has a buffer …9.8
- CVE-2017-12988The telnet parser in tcpdump before 4.9.2 has a buffer over-…
Are you affected by CVE-2017-12982?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
