Skip to content
Heist/ feed
Back to feed
UnratedFix available

libexif — security advisory

Type: advisorySources: OSVAdvisory ID: ALPINE-CVE-2012-2837

The mnote_olympus_entry_get_value function in olympus/mnote-olympus-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (divide-by-zero error) via an image with crafted EXIF tags that are not properly handled during the formatting of EXIF maker note tags.

Products
libexif
Affected versions
Not specified
Fixed versions
0.6.21-r0
CVEs
CVE-2012-2837
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 21:55 UTC · Revision 1

Source evidence

ALPINE-CVE-2012-2837

core-osv · Original source

Published 13 Jul 2012, 10:34 UTC

The mnote_olympus_entry_get_value function in olympus/mnote-olympus-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (divide-by-zero error) via an image with crafted EXIF tags that are not properly handled during the formatting of EXIF maker note tags.

osv:ALPINE-CVE-2012-2837

libexif

Fixed versions: 0.6.21-r0

libexif

Fixed versions: 0.6.21-r0

libexif

Fixed versions: 0.6.21-r0

libexif

Fixed versions: 0.6.21-r0

libexif

Fixed versions: 0.6.21-r0

Complete source record
{
  "id": "b1057f06069ebebc7db3d043d79e6ee98cf51c6893cff3ee1f8a88d62debfc34",
  "url": "https://osv.dev/vulnerability/ALPINE-CVE-2012-2837",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ALPINE-CVE-2012-2837",
    "summary": "The mnote_olympus_entry_get_value function in olympus/mnote-olympus-entry.c in the EXIF Tag Parsing Library (aka libexif) before 0.6.21 allows remote attackers to cause a denial of service (divide-by-zero error) via an image with crafted EXIF tags that are not properly handled during the formatting of EXIF maker note tags.",
    "evidence": "osv:ALPINE-CVE-2012-2837",
    "products": [
      {
        "name": {
          "value": "libexif",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.21-r0",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libexif",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.21-r0",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libexif",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.21-r0",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libexif",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.21-r0",
            "evidence": "/affected/3/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "libexif",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.6.21-r0",
            "evidence": "/affected/4/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "ALPINE-CVE-2012-2837",
      "aliases": [
        "ALPINE-CVE-2012-2837"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.21-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "libexif",
            "purl": "pkg:apk/alpine/libexif?arch=source",
            "ecosystem": "Alpine:v3.10"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2837.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.21-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "libexif",
            "purl": "pkg:apk/alpine/libexif?arch=source",
            "ecosystem": "Alpine:v3.11"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2837.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.21-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "libexif",
            "purl": "pkg:apk/alpine/libexif?arch=source",
            "ecosystem": "Alpine:v3.12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2837.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.21-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "libexif",
            "purl": "pkg:apk/alpine/libexif?arch=source",
            "ecosystem": "Alpine:v3.8"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2837.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.6.21-r0"
                }
              ]
            }
          ],
          "package": {
            "name": "libexif",
            "purl": "pkg:apk/alpine/libexif?arch=source",
            "ecosystem": "Alpine:v3.9"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2012-2837.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-23T17:17:54.933632630Z",
      "provider": "osv",
      "upstream": [
        "CVE-2012-2837"
      ],
      "references": [
        "https://security.alpinelinux.org/vuln/CVE-2012-2837"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2012-2837",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 414912,
  "published_at": "2012-07-13T10:34:59.513+00:00"
}