CVE-2014-3670: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-r6jr-5phj-2qqh
CWE-119
Published
Advisory Summary

CVE-2014-3670 is a MODERATE security vulnerability vulnerability (CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.. Remediation is available in the latest vendor maintenance releases.

CVE-2014-3670 at a Glance

CVE Identifier CVE-2014-3670
GHSA Identifier GHSA-r6jr-5phj-2qqh
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2014-3670

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2014-3670, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, where the product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. this may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The exif_ifd_make_value function in exif.c in the EXIF extension in PHP before 5.4.34, 5.5.x before 5.5.18, and 5.6.x before 5.6.2 operates on floating-point arrays incorrectly, which allows remote attackers to cause a denial of service (heap memory corruption and application crash) or possibly execute arbitrary code via a crafted JPEG image with TIFF thumbnail data that is improperly handled by the exif_thumbnail function.

References

NVD — CVE-2014-3670 NVD
https://nvd.nist.gov/vuln/detail/CVE-2014-3670
bugs.php.net/bug.php WEB
https://bugs.php.net/bug.php?id=68113
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=1154502
support.apple.com/ht204659 WEB
https://support.apple.com/HT204659
git.php.net/ WEB
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=ddb207e7fa2e9adeba021a1303c3781efda5409b
git.php.net/ WEB
http://git.php.net/?p=php-src.git;a=commit;h=ddb207e7fa2e9adeba021a1303c3781efda5409b
linux.oracle.com/errata/elsa-2014-17... WEB
http://linux.oracle.com/errata/ELSA-2014-1767.html
linux.oracle.com/errata/elsa-2014-17... WEB
http://linux.oracle.com/errata/ELSA-2014-1768.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2014-11/msg00024.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2014-11/msg00034.html
lists.opensuse.org/opensuse-updates/20... WEB
http://lists.opensuse.org/opensuse-updates/2015-01/msg00006.html
php.net/changelog-5.php WEB
http://php.net/ChangeLog-5.php
rhn.redhat.com/errata/rhsa-2014-17... WEB
http://rhn.redhat.com/errata/RHSA-2014-1765.html
rhn.redhat.com/errata/rhsa-2014-17... WEB
http://rhn.redhat.com/errata/RHSA-2014-1766.html
rhn.redhat.com/errata/rhsa-2014-17... WEB
http://rhn.redhat.com/errata/RHSA-2014-1767.html
rhn.redhat.com/errata/rhsa-2014-17... WEB
http://rhn.redhat.com/errata/RHSA-2014-1768.html
rhn.redhat.com/errata/rhsa-2014-18... WEB
http://rhn.redhat.com/errata/RHSA-2014-1824.html
secunia.com/advisories/59967 WEB
http://secunia.com/advisories/59967
secunia.com/advisories/60630 WEB
http://secunia.com/advisories/60630
secunia.com/advisories/60699 WEB
http://secunia.com/advisories/60699
secunia.com/advisories/61763 WEB
http://secunia.com/advisories/61763
secunia.com/advisories/61970 WEB
http://secunia.com/advisories/61970
secunia.com/advisories/61982 WEB
http://secunia.com/advisories/61982
Software Security Information SECURITY
http://www.debian.org/security/2014/dsa-3064
Software Security Information SECURITY
http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/70665
www.ubuntu.com/usn/usn-2391-1 WEB
http://www.ubuntu.com/usn/USN-2391-1

Frequently Asked Questions

What is CVE-2014-3670?
CVE-2014-3670 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2014-3670?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2014-3670?
CVE-2014-3670 is classified under CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer (The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.).
How can I check Maven dependencies for CVE-2014-3670?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-r6jr-5phj-2qqh",
  "modified" : "2025-04-12T12:41:19Z",
  "published" : "2022-05-17T03:47:53Z",
  "aliases" : [ "CVE-2014-3670" ],
  "details" : "The exif_ifd_make_value function in exif.c in the EXIF extension in PHP before 5.4.34, 5.5.x before 5.5.18, and 5.6.x before 5.6.2 operates on floating-point arrays incorrectly, which allows remote attackers to cause a denial of service (heap memory corruption and application crash) or possibly execute arbitrary code via a crafted JPEG image with TIFF thumbnail data that is improperly handled by the exif_thumbnail function.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-3670"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.php.net/bug.php?id=68113"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1154502"
  }, {
    "type" : "WEB",
    "url" : "https://support.apple.com/HT204659"
  }, {
    "type" : "WEB",
    "url" : "http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=ddb207e7fa2e9adeba021a1303c3781efda5409b"
  }, {
    "type" : "WEB",
    "url" : "http://git.php.net/?p=php-src.git;a=commit;h=ddb207e7fa2e9adeba021a1303c3781efda5409b"
  }, {
    "type" : "WEB",
    "url" : "http://linux.oracle.com/errata/ELSA-2014-1767.html"
  }, {
    "type" : "WEB",
    "url" : "http://linux.oracle.com/errata/ELSA-2014-1768.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2015/Apr/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2014-11/msg00024.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2014-11/msg00034.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-updates/2015-01/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://php.net/ChangeLog-5.php"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1765.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1766.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1767.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1768.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2014-1824.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/59967"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/60630"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/60699"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/61763"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/61970"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/61982"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2014/dsa-3064"
  }, {
    "type" : "WEB",
    "url" : "http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/70665"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-2391-1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-119" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2014-10-29T10:55:00Z"
  }
}