LiveActive security incident?Get immediate response
CVE Record

CVE-2018-7712: The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote att...

The validateInputImageSize function in modules/imgcodecs/src/loadsave.cpp in OpenCV 3.4.1 allows remote attackers to cause a denial of service (assertion failure) because (size.height <= (1<<20)) may be false. Note: “OpenCV CV_Assert is not an assertion (C-like assert()), it is regular C++ exception which can raised in case of invalid or non-supported parameters.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This vulnerability can let a remote party crash software that uses OpenCV 3.4.1 to process malformed or extreme image sizes. The known impact is denial of service, not data theft or code execution. Business urgency depends on whether OpenCV image decoding is exposed to untrusted uploads, URLs, or automated image pipelines.

Executive priority

Treat as high priority when untrusted image processing is reachable over a network. Prioritize public upload services, media ingestion, OCR, computer vision, and automation queues. Lower priority for internal-only tools with trusted inputs and process isolation.

Technical view

CVE-2018-7712 affects OpenCV 3.4.1 in validateInputImageSize within modules/imgcodecs/src/loadsave.cpp. A height check can fail and raise an OpenCV CV_Assert C++ exception. The CVSS vector is network, low complexity, no privileges, no user interaction, with high availability impact only.

Likely exposure

Most relevant exposure is internet-facing or partner-facing applications that process attacker-controlled images using OpenCV 3.4.1 imgcodecs functionality. The source bundle does not identify downstream products, package names, or fixed versions, so asset inventory is required.

Exploitation context

The CVE references a public proof-of-concept repository and an OpenCV issue. CISA KEV status is false in the supplied bundle, and no cited source here confirms active exploitation in the wild.

Researcher notes

Evidence supports a denial-of-service issue in OpenCV 3.4.1, with availability-only CVSS impact. The bundle does not provide an official affected-version range, fixed release, patch commit, or evidence of active exploitation. Avoid over-scoping without confirming local dependency usage.

Mitigation direction

  • Identify services and containers using OpenCV 3.4.1 for image decoding.
  • Check OpenCV project guidance for fixed versions or official remediation.
  • Reject unreasonable image dimensions before passing files to OpenCV.
  • Handle OpenCV exceptions around image loading without crashing the service.
  • Isolate image-processing workers with restart and resource controls.

Validation and detection

  • Search SBOMs, lockfiles, images, and builds for OpenCV 3.4.1.
  • Map all routes and jobs accepting untrusted image files or URLs.
  • Confirm those paths call OpenCV imgcodecs or equivalent image-loading APIs.
  • Review logs for OpenCV assertion failures during image processing.
  • Verify malformed image handling returns controlled errors, not process crashes.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-617: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-7712 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2018-7712Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-617 · source CWE mapping

Reachable Assertion

Reachable Assertion represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.