CVE-2024-53901
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of...
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
CVE-2024-53901- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-787, CWE-120
- Updated
- 2026-11-02
CVE List
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
CVE-2024-53901- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-120
- Updated
- 2026-11-02
EUVDEUVD-2024-52180
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
EUVD-2024-52180- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cwgj-pq49-6x66
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of...
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
GHSA-cwgj-pq49-6x66- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Weakness
- CWE-120, CWE-787
- Updated
- 2026-11-02
OSV
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
CVE-2024-53901- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2024-53901
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
DEBIAN-CVE-2024-53901- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-53901
5.5
The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image.
- Record
UBUNTU-CVE-2024-53901- CVSS 3.1
- 5.5 Medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVMGASA-2026-0284 No score
Updated perl-Imager package fixes security vulnerabilities
The updated package fixes security vulnerabilities: The Imager package before 1.025 for Perl has a heap-based buffer overflow leading to denial of service, or possibly unspecified other impact, when the trim() method is called on a crafted input image. (CVE-2024-53901) Imager versions before 1.032 for Perl have a heap out-of-bounds read in the bundled Imager::File::SGI reader via a 16-bit RLE literal run in read_rgb_16_rle. (CVE-2026-13705) Imager::File::JPEG versions before 1.003 for Perl leak heap memory when reading a JPEG with repeated APP13 markers in i_readjpeg_wiol. (CVE-2026-13708) Imager versions before 1.033 for Perl treat unsigned EXIF IFD entry counts as signed. (CVE-2026-14454)
- Record
MGASA-2026-0284- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libimager-perlDebian:12 |
All versions, plus listed versions 1.019+dfsg-11.019+dfsg-21.020+dfsg-11.022+dfsg-11.023+dfsg-1 Show 17 moreShow less1.024+dfsg-11.024+dfsg-21.025+dfsg-11.027+dfsg-11.028+dfsg-11.029+dfsg-11.030+dfsg-11.031+dfsg-11.032+dfsg-11.033+dfsg-11.034+dfsg-11.034+dfsg-21.035+dfsg-11.036+dfsg-11.037+dfsg-11.037+dfsg-21.040+dfsg-1 |
None known |
libimager-perlDebian:13 |
before 1.025+dfsg-1 | 1.025+dfsg-1 |
libimager-perlDebian:14 |
before 1.025+dfsg-1 | 1.025+dfsg-1 |
perl-ImagerMageia:10 From an advisory covering 4 CVEs |
before 1.33.0-1.mga10 | 1.33.0-1.mga10 |
perl-ImagerMageia:9 From an advisory covering 4 CVEs |
before 1.19.0-2.2.mga9 | 1.19.0-2.2.mga9 |
libimager-perlUbuntu:16.04:LTS |
All versions, plus listed versions 1.003+dfsg-11.004+dfsg-11.004+dfsg-1build1 |
None known |
libimager-perlUbuntu:18.04:LTS |
All versions, plus listed versions 1.005+dfsg-2build11.006+dfsg-1 |
None known |
libimager-perlUbuntu:20.04:LTS |
All versions, plus listed versions 1.011+dfsg-11.011+dfsg-1build1 |
None known |
libimager-perlUbuntu:22.04:LTS |
All versions, plus listed versions 1.012+dfsg-1build11.012+dfsg-21.012+dfsg-2build1 |
None known |
libimager-perlUbuntu:24.04:LTS |
All versions, plus listed versions 1.019+dfsg-21.020+dfsg-11.022+dfsg-11.023+dfsg-11.023+dfsg-1build11.023+dfsg-1build2 |
None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-53901 is a medium vulnerability (CVSS 5.5) in Tonycoz Imager, published November 24, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.39%, the 32nd percentile. Fixed in libimager-perl 1.025+dfsg-1.
References
github.com/tonycoz/imager/issues/534
metacpan.org/release/TONYC/Imager-1.025/changes
github.com/briandfoy/cpan-security-advisory/issues/171
github.com/briandfoy/cpan-security-advisory/issues/167
nvd.nist.gov/vuln/detail/CVE-2024-53901
github.com/advisories/GHSA-cwgj-pq49-6x66
Show 11 moreShow less
github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53901.json
security-tracker.debian.org/tracker/CVE-2024-53901
advisories.mageia.org/MGASA-2026-0284.html
bugs.mageia.org/show_bug.cgi?id=35848
lists.fedoraproject.org/archives/list/[email protected]/message/7QJU7MFFAP73YEH5YEG35EDMGSNOZ3O5
openwall.com/lists/oss-security/2026/07/08/6
lists.security.metacpan.org/cve-announce/msg/41572386
lists.security.metacpan.org/cve-announce/msg/41637674
ubuntu.com/security/CVE-2024-53901
cve.org/CVERecord?id=CVE-2024-53901
github.com/tonycoz/imager/commit/7851737838aa86113b276aea02729cc1f6e9eed0