CVE catalog

CVE-2026-95520

A heap-based buffer overflow flaw was found in rpm. Parsing a symlink entry in an untrusted RPM package whose declared RPMTAG_LONGFILESIZES value is 0xFFFFFFFFFFFFFFFF causes an integer overflow in it

[CVE catalog]

Severity
High · CVSS 7.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.12% · Oct 25, 2026

A heap-based buffer overflow flaw was found in rpm. Parsing a symlink entry in an untrusted RPM package whose declared RPMTAG_LONGFILESIZES value is 0xFFFFFFFFFFFFFFFF causes an integer overflow in iterReadArchiveNext() that shrinks a buffer allocation to one byte, after which the payload's independently-controlled cpio filesize field is used to write attacker-controlled data past the end of that allocation. This is reachable via rpm2cpio, rpm2archive, and rpm -qlvp on an untrusted package.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrpmsid6.1.0-1vulnerable
Debianrpmforky6.1.0-1vulnerable
Debianrpmtrixie4.20.1+dfsg-3vulnerable
Debianrpmbookworm4.18.0+dfsg-1+deb12u1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrpmsourcesid(unfixed)not yet assignedNot reported[1149951]
Debianrpmsourceforky(unfixed)not yet assignedNot reported[1149951]
Debianrpmsourcetrixie(unfixed)not yet assignedNot reported[1149951]
Debianrpmsourcebookworm(unfixed)not yet assignedNot reported[1149951]

[Debian bug #1149951]

Notes

[trixie] rpm: Minor issue [bookworm] rpm: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [librpm9]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [librpmbuild9]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [librpm-dev]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [librpmio9]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [librpmsign9]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [python3-rpm]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [rpm]Affected
    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [rpm2cpio]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [rpm-common]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · amd64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · arm64 · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

  • [rpm-i18n]Affected

    Source package: [rpm]

    Details (2)
    • 4.18.0+dfsg-1+deb12u1 · all · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

    • 4.18.0+dfsg-1+deb12u1 · all · bookworm

      Affected

      nvd · rpm · debian · bookworm; nvd · rpm · debian · 12

[Debian 13 (Trixie)]

  • [librpm10]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [librpmbuild10]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [librpm-dev]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [librpmio10]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [librpmsign10]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [python3-rpm]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [rpm]Affected
    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [rpm2cpio]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [rpm-common]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · amd64 · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · arm64 · trixie

      Affected

      nvd · rpm · debian · 13

  • [rpm-i18n]Affected

    Source package: [rpm]

    Details (2)
    • 4.20.1+dfsg-3 · all · trixie

      Affected

      nvd · rpm · debian · 13

    • 4.20.1+dfsg-3 · all · trixie

      Affected

      nvd · rpm · debian · 13

Observed:

References