CVE catalog

CVE-2026-34353

In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.

[CVE catalog]

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

In OCaml through 4.14.3, Bigarray.reshape allows an integer overflow, and resultant reading of arbitrary memory, when untrusted data is processed.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debianocamlsid5.4.1-1fixed
Debianocamlforky5.4.1-1fixed
Debianocamltrixie5.3.0-3fixed
Debianocamlbookworm4.13.1-4vulnerable
CpeocamlNot reportedNot reportedvulnerable
CpeocamlNot reportedNot reportedunknown
Ubuntuocamlpro4.04.0-2ubuntu4vulnerable
Ubuntuocamlpro4.05.0-10ubuntu1vulnerable
Ubuntuocamlpro4.05.0-10ubuntu1+esm1vulnerable
Ubuntuocaml20.044.05.0-12ubuntu3vulnerable
Ubuntuocaml20.044.08.1-8vulnerable
Ubuntuocaml22.044.11.1-4vulnerable
Ubuntuocaml22.044.11.1-5ubuntu1vulnerable
Ubuntuocaml22.044.13.1-3ubuntu1vulnerable
Ubuntuocaml24.044.13.1-6ubuntu1vulnerable
Ubuntuocaml24.044.14.1-1ubuntu1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianocamlsourcesid5.2.0-1not yet assignedNot reportedNot reported
Debianocamlsourceforky5.2.0-1not yet assignedNot reportedNot reported
Debianocamlsourcetrixie5.2.0-1not yet assignedNot reportedNot reported
Debianocamlsourcebookworm(unfixed)not yet assignedNot reportedNot reported

Notes

[bookworm] ocaml: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [ocaml]Affected
    Details (2)
    • 4.13.1-4 · amd64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · arm64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • [ocaml-base]Affected

    Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · amd64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · arm64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • [ocaml-base-nox]Affected

    Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · amd64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · arm64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • [ocaml-interp]Affected

    Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · amd64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · arm64 · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • [ocaml-man]Affected

    Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • [ocaml-nox]Affected

    Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

  • [ocaml-source]Affected

    Source package: [ocaml]

    Details (2)
    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

    • 4.13.1-4 · all · bookworm

      Affected

      nvd · ocaml · debian · bookworm; nvd · ocaml · debian · 12

[Debian 13 (Trixie)]

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • [ocaml]Fixed
    Details (2)
    • 5.3.0-3 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • [ocaml-base]Fixed

    Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · amd64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · arm64 · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • [ocaml-man]Fixed

    Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • [ocaml-nox]Fixed

    Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

  • Source package: [ocaml]

    Details (2)
    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

    • 5.3.0-3 · all · trixie

      Fixed · Fixed: 5.2.0-1

      nvd · ocaml · debian · 13

Observed:

References