Out-of-bounds read in PEVANS Socket
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 1 fixed, 5 without a fix
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat.
Summary
Socket versions before 2.041 for Perl have an out-of-bounds heap read. In Socket.xs, pack_ip_mreq_source() checks the length of its source argument before the argument is read, so the check tests the byte length carried over from the preceding multiaddr argument instead. Both addresses occupy a 4-byte field, so a valid multiaddr lets a source of any length pass the check, and the source is then copied into the 4-byte imr_sourceaddr field with a fixed-size copy. A source shorter than 4 bytes is not rejected, and the copy reads up to 3 bytes past the end of its buffer. Calling pack_ip_mreq_source() with a source value shorter than 4 bytes copies adjacent heap memory into the returned packed structure.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA Socket (PEVANS) Fixed in 2.041
Red Hat 1 advisory
- RHSA-2026:11342 Released 2026-04-28 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images perl-Socket-2.041-1.hum1@aarch64, perl-Socket-2.041-1.hum1@src, perl-Socket-2.041-1.hum1@x86_64 +2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
| Red Hat Hardened Images | Fixed | RHSA-2026:11342 |
Timeline
- 2026-10-02 Threatist record created from CVE-2026-12087
- 2026-10-03 Alias added: GHSA-q5cv-5vf6-95gp
- 2026-11-06 Fix available: RHSA-2026:11342 · Red Hat
References
More PEVANS vulnerabilities
- TI-2026-37327 Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against… CVSS 3.1HIGH 8.2
- TI-2026-37328 Metrics::Any::Adapter::DogStatsd versions before 0.04 for Perl does not protect against… CVSS 3.1CRITICAL 9.1
- TI-2026-37329 Metrics::Any::Adapter::SignalFx versions before 0.04 for Perl does not protect against… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2026-12087 · CVE Program
- CVE-2026-12087 · NVD
- FIRST EPSS
- GHSA-q5cv-5vf6-95gp · GitHub Advisory Database · CC BY 4.0
- CVE-2026-12087 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences