Skip to content
Heist/ feed
Back to feed
HighFix available

libimager-perl — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2026-19082

Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags. copy_string_tags() computes an ASCII EXIF tag's length as `entry->size - 1` to strip the trailing NUL. A zero-count ASCII entry sets `entry->size` to 0, and the derived length reaches i_tags_add() as -1, which is interpreted as a request to call strlen(), scanning past the entry to the next NUL and copying those bytes into the tag. JPEG reaches this path via im_decode_exif(), as does the separate Imager::File::WEBP distribution, which is fixed by upgrading Imager. Any caller of Imager->read() on an attacker-supplied image with such an entry may receive an exif_* tag holding adjacent heap bytes instead of an empty string.

Products
libimager-perl
Affected versions
1.019+dfsg-1, 1.019+dfsg-2, 1.020+dfsg-1, 1.022+dfsg-1, 1.023+dfsg-1, 1.024+dfsg-1, 1.024+dfsg-2, 1.025+dfsg-1, 1.027+dfsg-1, 1.028+dfsg-1, 1.029+dfsg-1, 1.030+dfsg-1, 1.031+dfsg-1, 1.032+dfsg-1, 1.033+dfsg-1, 1.034+dfsg-1, 1.034+dfsg-2, 1.035+dfsg-1, 1.036+dfsg-1, 1.037+dfsg-1, 1.037+dfsg-2, 1.040+dfsg-1
Fixed versions
1.034+dfsg-1
CVEs
CVE-2026-19082
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:11 UTC · Revision 1

Source evidence

DEBIAN-CVE-2026-19082

core-osv · Original source

Published 7 Aug 2026, 18:17 UTC

Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags. copy_string_tags() computes an ASCII EXIF tag's length as `entry->size - 1` to strip the trailing NUL. A zero-count ASCII entry sets `entry->size` to 0, and the derived length reaches i_tags_add() as -1, which is interpreted as a request to call strlen(), scanning past the entry to the next NUL and copying those bytes into the tag. JPEG reaches this path via im_decode_exif(), as does the separate Imager::File::WEBP distribution, which is fixed by upgrading Imager. Any caller of Imager->read() on an attacker-supplied image with such an entry may receive an exif_* tag holding adjacent heap bytes instead of an empty string.

osv:DEBIAN-CVE-2026-19082

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: 1.034+dfsg-1

Complete source record
{
  "id": "679fc21d3f1090e49b35990628fca70f181dbbf353def3f77e594fb54dfaaf1a",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-19082",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2026-19082",
    "summary": "Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags. copy_string_tags() computes an ASCII EXIF tag's length as `entry->size - 1` to strip the trailing NUL. A zero-count ASCII entry sets `entry->size` to 0, and the derived length reaches i_tags_add() as -1, which is interpreted as a request to call strlen(), scanning past the entry to the next NUL and copying those bytes into the tag. JPEG reaches this path via im_decode_exif(), as does the separate Imager::File::WEBP distribution, which is fixed by upgrading Imager. Any caller of Imager->read() on an attacker-supplied image with such an entry may receive an exif_* tag holding adjacent heap bytes instead of an empty string.",
    "evidence": "osv:DEBIAN-CVE-2026-19082",
    "products": [
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.019+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.019+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.020+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.022+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.023+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.024+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.024+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.025+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.027+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.028+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.029+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.030+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.031+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.032+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.033+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.034+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.034+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.035+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.036+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.037+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.037+dfsg-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.040+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.027+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.028+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.029+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.030+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.031+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.032+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.033+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.034+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.034+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.035+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.036+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.037+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.037+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.040+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "1.034+dfsg-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": [
          {
            "value": "1.027+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.028+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.029+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.030+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.031+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.032+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.033+dfsg-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "DEBIAN-CVE-2026-19082",
      "aliases": [
        "DEBIAN-CVE-2026-19082"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/debian/libimager-perl?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "versions": [
            "1.019+dfsg-1",
            "1.019+dfsg-2",
            "1.020+dfsg-1",
            "1.022+dfsg-1",
            "1.023+dfsg-1",
            "1.024+dfsg-1",
            "1.024+dfsg-2",
            "1.025+dfsg-1",
            "1.027+dfsg-1",
            "1.028+dfsg-1",
            "1.029+dfsg-1",
            "1.030+dfsg-1",
            "1.031+dfsg-1",
            "1.032+dfsg-1",
            "1.033+dfsg-1",
            "1.034+dfsg-1",
            "1.034+dfsg-2",
            "1.035+dfsg-1",
            "1.036+dfsg-1",
            "1.037+dfsg-1",
            "1.037+dfsg-2",
            "1.040+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/debian/libimager-perl?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "versions": [
            "1.027+dfsg-1",
            "1.028+dfsg-1",
            "1.029+dfsg-1",
            "1.030+dfsg-1",
            "1.031+dfsg-1",
            "1.032+dfsg-1",
            "1.033+dfsg-1",
            "1.034+dfsg-1",
            "1.034+dfsg-2",
            "1.035+dfsg-1",
            "1.036+dfsg-1",
            "1.037+dfsg-1",
            "1.037+dfsg-2",
            "1.040+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.034+dfsg-1"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/debian/libimager-perl?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "versions": [
            "1.027+dfsg-1",
            "1.028+dfsg-1",
            "1.029+dfsg-1",
            "1.030+dfsg-1",
            "1.031+dfsg-1",
            "1.032+dfsg-1",
            "1.033+dfsg-1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-24T10:00:44.323662616Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-19082"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2026-19082"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-19082",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 429066,
  "published_at": "2026-08-07T18:17:11.363+00:00"
}