CVE catalog

CVE-2025-7339

node-on-headers: CVE-2025-7339

[CVE catalog]

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

on-headers is a node.js middleware for listening to when a response writes headers. A bug in on-headers versions `<1.1.0` may result in response headers being inadvertently modified when an array is passed to `response.writeHead()`. Users should upgrade to version 1.1.0 to receive a patch. Uses are strongly encouraged to upgrade to `1.1.0`, but this issue can be worked around by passing an object to `response.writeHead()` rather than an array.

Vulnerable and fixed packages

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

DistributionPackageReleaseVersionStatus
Debiannode-on-headerssid1.1.0-1fixed
Debiannode-on-headersforky1.1.0-1fixed
Debiannode-on-headerstrixie1.0.2-4fixed
Debiannode-on-headersbookworm1.0.2-2vulnerable
Opensuseagama-web-uileap 16.017+612.d8bf69336-160000.11.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-on-headerssourcesid1.0.2-4not yet assignedNot reported[1109525]
Debiannode-on-headerssourceforky1.0.2-4not yet assignedNot reported[1109525]
Debiannode-on-headerssourcetrixie1.0.2-4not yet assignedNot reported[1109525]
Debiannode-on-headerssourcebookworm(unfixed)not yet assignedNot reported[1109525]
Opensuseagama-web-uirpmleap 16.017+612.d8bf69336-160000.11.1Not reportedOPENSUSE-SU-2026:20919-1Not reported

[Debian bug #1109525]

Notes

[trixie] node-on-headers: Minor issue [bookworm] node-on-headers: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-on-headers]Affected
    Details (2)
    • 1.0.2-2 · all · bookworm

      Affected

      dsa · node-on-headers · debian · bookworm; dsa · node-on-headers · debian · 12

    • 1.0.2-2 · all · bookworm

      Affected

      dsa · node-on-headers · debian · bookworm; dsa · node-on-headers · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 1.0.2-4 · all · trixie

      Fixed · Fixed: 1.0.2-4

      dsa · node-on-headers · debian · 13

    • 1.0.2-4 · all · trixie

      Fixed · Fixed: 1.0.2-4

      dsa · node-on-headers · debian · 13

Observed:

References