Skip to content
Heist/ feed
Back to feed
High

libimager-perl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-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.003+dfsg-1, 1.004+dfsg-1, 1.004+dfsg-1build1, 1.005+dfsg-2build1, 1.006+dfsg-1, 1.011+dfsg-1, 1.011+dfsg-1build1, 1.012+dfsg-1build1, 1.012+dfsg-2, 1.012+dfsg-2build1, 1.019+dfsg-2, 1.020+dfsg-1, 1.022+dfsg-1, 1.023+dfsg-1, 1.023+dfsg-1build1, 1.023+dfsg-1build2, 1.027+dfsg-1, 1.029+dfsg-1, 1.031+dfsg-1, 1.033+dfsg-1, 1.035+dfsg-1
Fixed versions
Not specified
CVEs
CVE-2026-19082
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:55 UTC · Revision 1

Source evidence

UBUNTU-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:UBUNTU-CVE-2026-19082

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

libimager-perl

Fixed versions: Not specified

Complete source record
{
  "id": "c4ab8e00bd6069dc6bcffeee1f25e37313b6788010adddf0f3d68c6980020f7c",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-19082",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-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:UBUNTU-CVE-2026-19082",
    "products": [
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.003+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.004+dfsg-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "1.004+dfsg-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.005+dfsg-2build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "1.006+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.011+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.011+dfsg-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.012+dfsg-1build1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.012+dfsg-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "1.012+dfsg-2build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.019+dfsg-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.020+dfsg-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.022+dfsg-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.023+dfsg-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.023+dfsg-1build1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "1.023+dfsg-1build2",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.029+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.031+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.033+dfsg-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "1.035+dfsg-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libimager-perl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.027+dfsg-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "1.029+dfsg-1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-19082",
      "aliases": [
        "UBUNTU-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"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "1.003+dfsg-1",
            "1.004+dfsg-1",
            "1.004+dfsg-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.004+dfsg-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "1.005+dfsg-2build1",
            "1.006+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.006+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "1.011+dfsg-1",
            "1.011+dfsg-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.011+dfsg-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "1.012+dfsg-1build1",
            "1.012+dfsg-2",
            "1.012+dfsg-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.012+dfsg-2build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "1.019+dfsg-2",
            "1.020+dfsg-1",
            "1.022+dfsg-1",
            "1.023+dfsg-1",
            "1.023+dfsg-1build1",
            "1.023+dfsg-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.023+dfsg-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "1.029+dfsg-1",
            "1.031+dfsg-1",
            "1.033+dfsg-1",
            "1.035+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.035+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libimager-perl",
            "purl": "pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.027+dfsg-1",
            "1.029+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-19082.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libimager-perl",
                "binary_version": "1.029+dfsg-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:54.290369289Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-19082"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-19082",
        "https://www.cve.org/CVERecord?id=CVE-2026-19082",
        "https://github.com/tonycoz/imager/commit/24bde0427a113264d53f45a9c29ae756d84c82fe.patch",
        "https://github.com/tonycoz/imager/security/advisories/GHSA-hx46-55wp-hv6m",
        "https://metacpan.org/release/TONYC/Imager-1.034/changes"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-19082",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359923,
  "published_at": "2026-08-07T18:17:00+00:00"
}