UBUNTU-CVE-2026-13708

Source
https://ubuntu.com/security/CVE-2026-13708
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-13708
Upstream
Published
2026-07-06T13:16:00Z
Modified
2026-07-09T17:15:28.454265213Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Imager::File::JPEG versions before 1.003 for Perl leak heap memory when reading a JPEG with repeated APP13 markers in ireadjpegwiol. ireadjpegwiol walks the marker list libjpeg returns and, for each APP13 marker, allocates a new buffer with *iptc_itext = mymalloc(...) and overwrites the previous pointer without freeing it. Only the final payload is later turned into a Perl scalar and freed, so a JPEG with N such markers leaks the first N-1 payloads on every read. In a long-lived process, such as an upload or thumbnailing service, repeated reads accumulate these leaks and exhaust available memory, a denial of service. The same handler ships bundled in the Imager distribution, where versions before 1.032 are affected and the fix ships in 1.032.

References

Affected packages

Ubuntu:16.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.003+dfsg-1
1.004+dfsg-1
1.004+dfsg-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.004+dfsg-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"
Ubuntu:18.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.005+dfsg-2build1
1.006+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.006+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"
Ubuntu:20.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.011+dfsg-1
1.011+dfsg-1build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.011+dfsg-1build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"
Ubuntu:22.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.012+dfsg-1build1
1.012+dfsg-2
1.012+dfsg-2build1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.012+dfsg-2build1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"
Ubuntu:24.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.019+dfsg-2
1.020+dfsg-1
1.022+dfsg-1
1.023+dfsg-1
1.023+dfsg-1build1
1.023+dfsg-1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.023+dfsg-1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"
Ubuntu:25.10
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.027+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.027+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"
Ubuntu:26.04:LTS
libimager-perl

Package

Name
libimager-perl
Purl
pkg:deb/ubuntu/libimager-perl?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.027+dfsg-1
1.029+dfsg-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "libimager-perl",
            "binary_version": "1.029+dfsg-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-13708.json"